Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007679/0.0007679, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005101/0.005101, allocations: 170.7 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.4 MB / 222.4 MB, free: 5.805 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004747, allocations: 12 kB / 279.5 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2335, allocations: 47.58 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005526/0.2391, allocations: 5.771 MB / 332.8 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003234/0.2423, allocations: 1.83 MB / 334.6 MB, free: 11.28 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005276/0.2429, allocations: 19.69 kB / 334.6 MB, free: 11.28 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000476/0.2434, allocations: 179.1 kB / 334.8 MB, free: 11.13 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008199/0.2442, allocations: 339.8 kB / 335.2 MB, free: 10.85 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006864/0.2449, allocations: 337.5 kB / 335.5 MB, free: 10.55 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.2464, allocations: 1.378 MB / 336.9 MB, free: 9.547 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006038/0.247, allocations: 444.4 kB / 337.3 MB, free: 9.094 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005127/0.2475, allocations: 430.2 kB / 337.7 MB, free: 8.672 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005247/0.248, allocations: 0.5054 MB / 338.2 MB, free: 8.164 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.2481, allocations: 60 kB / 338.3 MB, free: 8.105 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.2483, allocations: 60 kB / 338.3 MB, free: 8.047 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.2484, allocations: 203.1 kB / 338.5 MB, free: 7.848 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004575/0.2489, allocations: 0.5614 MB / 339.1 MB, free: 7.277 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.2502, allocations: 1.716 MB / 340.8 MB, free: 5.555 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2502, allocations: 4 kB / 340.8 MB, free: 5.551 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2502, allocations: 0 / 340.8 MB, free: 5.551 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.2503, allocations: 0 / 340.8 MB, free: 5.551 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002627/0.2529, allocations: 1.294 MB / 342.1 MB, free: 4.203 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.2529, allocations: 8.031 kB / 342.1 MB, free: 4.195 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.2531, allocations: 123.5 kB / 342.2 MB, free: 4.074 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.2542, allocations: 0.6611 MB / 342.9 MB, free: 3.371 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.2543, allocations: 74.56 kB / 343 MB, free: 3.297 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.2545, allocations: 104.3 kB / 343.1 MB, free: 3.195 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.2564, allocations: 1.037 MB / 344.1 MB, free: 2.148 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/0.2565, allocations: 3.984 kB / 344.1 MB, free: 2.145 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.913e-05/0.2566, allocations: 40 kB / 344.2 MB, free: 2.105 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.2566, allocations: 24 kB / 344.2 MB, free: 2.082 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.2585, allocations: 0.9109 MB / 345.1 MB, free: 1.176 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004753/0.2632, allocations: 3.364 MB / 348.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.2647, allocations: 0.833 MB / 349.3 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008814/0.2656, allocations: 495.1 kB / 349.8 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-05/0.2656, allocations: 17.14 kB / 349.8 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.2657, allocations: 43.12 kB / 349.8 MB, free: 12.28 MB / 286.1 MB Notification: Performance of pre-optimization done (n=91): time 3.416e-06/0.2657, allocations: 0 / 349.8 MB, free: 12.28 MB / 286.1 MB Notification: Performance of matching and sorting (n=115): time 0.009735/0.2754, allocations: 4.442 MB / 354.3 MB, free: 7.629 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.2755, allocations: 93.77 kB / 354.4 MB, free: 7.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00085/0.2764, allocations: 0.6007 MB / 355 MB, free: 6.906 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/0.2765, allocations: 45.7 kB / 355 MB, free: 6.855 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.2768, allocations: 432.1 kB / 355.4 MB, free: 6.426 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/0.277, allocations: 394.2 kB / 355.8 MB, free: 6.035 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.2772, allocations: 93.66 kB / 355.9 MB, free: 5.938 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.2774, allocations: 398.7 kB / 356.3 MB, free: 5.539 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008855/0.2783, allocations: 402.4 kB / 356.7 MB, free: 5.148 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009895/0.2793, allocations: 0.5276 MB / 357.2 MB, free: 4.586 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.2811, allocations: 0.9433 MB / 358.2 MB, free: 3.609 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2811, allocations: 0 / 358.2 MB, free: 3.609 MB / 286.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002481/0.2836, allocations: 1.231 MB / 359.4 MB, free: 2.359 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.2836, allocations: 11.94 kB / 359.4 MB, free: 2.348 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.2837, allocations: 4 kB / 359.4 MB, free: 2.344 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004029/0.2841, allocations: 138.5 kB / 359.5 MB, free: 2.199 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.2851, allocations: 259.7 kB / 359.8 MB, free: 1.945 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003485/0.2886, allocations: 4.52 MB / 364.3 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007174/0.2893, allocations: 64.03 kB / 364.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.2894, allocations: 43.98 kB / 364.4 MB, free: 12.92 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004867/0.2899, allocations: 273.8 kB / 364.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.2901, allocations: 98.95 kB / 364.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.2917, allocations: 0.784 MB / 365.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.2917, allocations: 16 kB / 365.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.2918, allocations: 0 / 365.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.2918, allocations: 7.984 kB / 365.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004266/0.296, allocations: 2.702 MB / 368.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.2961, allocations: 4 kB / 368.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009045/0.297, allocations: 215.8 kB / 368.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004373/0.2974, allocations: 155.3 kB / 368.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.409e-05/0.2975, allocations: 31.98 kB / 368.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003908/0.3014, allocations: 5.58 MB / 374.3 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3014, allocations: 0 / 374.3 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.3047, allocations: 1.806 MB / 376.1 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.3049, allocations: 172 kB / 376.2 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.933e-05/0.305, allocations: 20 kB / 376.3 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/0.3056, allocations: 63.95 kB / 376.3 MB, free: 280 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.3058, allocations: 80.39 kB / 376.4 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.595e-05/0.3059, allocations: 31.98 kB / 376.4 MB, free: 168 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006042/0.3065, allocations: 439.2 kB / 376.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3065, allocations: 4 kB / 376.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008962/0.3074, allocations: 256 kB / 377.1 MB, free: 15.48 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000179/0.3076, allocations: 135.2 kB / 377.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002402/0.31, allocations: 1.377 MB / 378.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.31, allocations: 3.938 kB / 378.6 MB, free: 13.92 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.3114, allocations: 1.029 MB / 379.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.3125, allocations: 169.7 kB / 379.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/0.3165, allocations: 2.751 MB / 382.6 MB, free: 9.883 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006018/0.3171, allocations: 1.02 MB / 383.6 MB, free: 8.836 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005581/0.3177, allocations: 123.5 kB / 383.7 MB, free: 8.711 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.3179, allocations: 75.41 kB / 383.8 MB, free: 8.637 MB / 318.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3179, allocations: 0 / 383.8 MB, free: 8.637 MB / 318.1 MB Notification: Performance of Templates: time 0.01953/0.3375, allocations: 11.13 MB / 394.9 MB, free: 13.5 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)