Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009833/0.0009833, allocations: 178.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.153/1.153, allocations: 194.5 MB / 211.6 MB, free: 3.059 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0016/0.0016, allocations: 110.1 kB / 256.9 MB, free: 4.332 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002972, allocations: 11.98 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0769/0.07721, allocations: 44.49 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.3069, allocations: 87.52 MB / 442.6 MB, free: 2.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001639/0.3071, allocations: 86.64 kB / 442.7 MB, free: 2.184 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$comparisonWithFEA.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.1864/0.4935, allocations: 77.43 MB / 0.5079 GB, free: 6.254 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4936, allocations: 0 / 0.5079 GB, free: 6.254 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006606/0.4943, allocations: 112 kB / 0.508 GB, free: 6.145 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.1662/0.6605, allocations: 6.974 MB / 0.5148 GB, free: 85.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.6605, allocations: 9.344 kB / 0.5148 GB, free: 85.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/0.6626, allocations: 0.8611 MB / 0.5157 GB, free: 85.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008228/0.6709, allocations: 3.636 MB / 0.5192 GB, free: 84.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.8e-05/0.671, allocations: 160.7 kB / 0.5194 GB, free: 84.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002699/0.6713, allocations: 204.3 kB / 0.5196 GB, free: 84.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003655/0.6749, allocations: 2.137 MB / 0.5217 GB, free: 84.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.695e-05/0.675, allocations: 6.234 kB / 0.5217 GB, free: 84.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.6752, allocations: 84.25 kB / 0.5217 GB, free: 84.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.6752, allocations: 50.31 kB / 0.5218 GB, free: 84.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003377/0.6786, allocations: 1.998 MB / 0.5237 GB, free: 84.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01847/0.6971, allocations: 10.14 MB / 0.5336 GB, free: 82.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004019/0.7011, allocations: 2.417 MB / 0.536 GB, free: 82.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.7013, allocations: 34.14 kB / 0.536 GB, free: 82.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002113/0.7034, allocations: 1.205 MB / 0.5372 GB, free: 82.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=246): time 4.358e-06/0.7034, allocations: 0 / 0.5372 GB, free: 82.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=385): time 0.05584/0.7592, allocations: 21.63 MB / 0.5583 GB, free: 73.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.08753/0.8468, allocations: 34.5 MB / 0.592 GB, free: 54.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1111/0.958, allocations: 13.47 MB / 0.6052 GB, free: 42.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006544/0.9587, allocations: 89.7 kB / 0.6053 GB, free: 42.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003045/0.9617, allocations: 3.69 MB / 0.6089 GB, free: 39.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/0.9629, allocations: 1.267 MB / 0.6101 GB, free: 38.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.9631, allocations: 75.91 kB / 0.6102 GB, free: 38.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.9633, allocations: 441.2 kB / 0.6106 GB, free: 37.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00231/0.9656, allocations: 1.372 MB / 0.6119 GB, free: 36.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/0.9679, allocations: 1.719 MB / 0.6136 GB, free: 34.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.9703, allocations: 1.613 MB / 0.6152 GB, free: 33.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.9704, allocations: 0 / 0.6152 GB, free: 33.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=453) (initialization): time 0.01096/0.9813, allocations: 5.548 MB / 0.6206 GB, free: 28.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.668e-05/0.9814, allocations: 37.7 kB / 0.6206 GB, free: 28.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.9815, allocations: 4 kB / 0.6207 GB, free: 28.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005305/0.9868, allocations: 1.471 MB / 0.6221 GB, free: 26.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002917/0.9897, allocations: 0.5719 MB / 0.6226 GB, free: 26.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02136/1.011, allocations: 22.65 MB / 0.6448 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00387/1.015, allocations: 199.8 kB / 0.645 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003504/1.015, allocations: 124 kB / 0.6451 GB, free: 3.559 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEvent,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEventScaled,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 309 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 4} * Non-linear torn systems: 2 {2 43,3 54} Notification: Performance of prepare postOptimizeDAE: time 0.003446/1.019, allocations: 2.199 MB / 0.6472 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/1.02, allocations: 0.8488 MB / 0.6481 GB, free: 500 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/1.033, allocations: 5.643 MB / 0.6536 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005136/1.038, allocations: 2.472 MB / 0.656 GB, free: 8.309 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.078e-05/1.038, allocations: 7 kB / 0.656 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.562e-05/1.038, allocations: 23.92 kB / 0.656 GB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1848/1.223, allocations: 14.19 MB / 0.6699 GB, free: 92.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/1.223, allocations: 7.812 kB / 0.6699 GB, free: 92.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002376/1.225, allocations: 490.6 kB / 0.6703 GB, free: 92.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005378/1.231, allocations: 1.464 MB / 0.6718 GB, free: 91.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002829/1.231, allocations: 82.38 kB / 0.6719 GB, free: 91.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02014/1.251, allocations: 20.85 MB / 0.6922 GB, free: 80.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0784/1.33, allocations: 30.5 MB / 0.722 GB, free: 69.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/1.343, allocations: 8.063 MB / 0.7299 GB, free: 65.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00508/1.348, allocations: 1.929 MB / 0.7318 GB, free: 64.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/1.349, allocations: 87.38 kB / 0.7318 GB, free: 64.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002506/1.352, allocations: 178.3 kB / 0.732 GB, free: 64.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005828/1.352, allocations: 291.3 kB / 0.7323 GB, free: 64.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/1.352, allocations: 105.5 kB / 0.7324 GB, free: 64.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0127/1.365, allocations: 10.86 MB / 0.743 GB, free: 60.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.365, allocations: 1.75 kB / 0.743 GB, free: 60.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00531/1.371, allocations: 1.765 MB / 0.7447 GB, free: 60.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (266): * Single equations (assignments): 255 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {5 55,4 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.00146/1.372, allocations: 496.2 kB / 0.7452 GB, free: 59.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007874/1.38, allocations: 5.182 MB / 0.7503 GB, free: 55.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.38, allocations: 0 / 0.7503 GB, free: 55.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004698/1.385, allocations: 3.531 MB / 0.7537 GB, free: 51.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/1.388, allocations: 488.9 kB / 0.7542 GB, free: 51.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02626/1.414, allocations: 21.93 MB / 0.7756 GB, free: 31.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00359/1.418, allocations: 4.216 MB / 0.7797 GB, free: 28.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002686/1.421, allocations: 0.8379 MB / 0.7805 GB, free: 27.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/1.422, allocations: 348.6 kB / 0.7809 GB, free: 27.37 MB / 410.7 MB Notification: Performance of SimCode: time 6.12e-07/1.422, allocations: 0 / 0.7809 GB, free: 27.37 MB / 410.7 MB Notification: Performance of Templates: time 0.425/1.847, allocations: 89.12 MB / 0.8679 GB, free: 96.5 MB / 426.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1)