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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 109.5 kB / 16.62 MB, free: 6.961 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.001716/0.001716, allocations: 189.8 kB / 17.54 MB, free: 6.066 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.424/1.424, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.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.001159/0.001159, allocations: 47.92 kB / 279.5 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09379/0.09497, allocations: 46.64 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01189/0.1069, allocations: 10.88 MB / 337 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007618/0.1146, allocations: 3.5 MB / 340.5 MB, free: 6.336 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/0.117, allocations: 39.88 kB / 340.6 MB, free: 6.297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006821/0.1238, allocations: 8.036 MB / 348.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00641/0.1302, allocations: 4.516 MB / 353.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.133, allocations: 0.8234 MB / 353.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008486/0.1415, allocations: 5.292 MB / 359.2 MB, free: 3.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.1434, allocations: 0.8945 MB / 360.1 MB, free: 2.664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005028/0.1484, allocations: 2.872 MB / 363 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006186/0.1546, allocations: 5.295 MB / 368.3 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009245/0.1556, allocations: 348 kB / 368.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009923/0.1566, allocations: 392 kB / 369 MB, free: 9.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.158, allocations: 1.954 MB / 371 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002657/0.1607, allocations: 2.788 MB / 373.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1689/0.3296, allocations: 7.142 MB / 380.9 MB, free: 35.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.3297, allocations: 0 / 380.9 MB, free: 35.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3297, allocations: 0.6094 kB / 380.9 MB, free: 35.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002228/0.3299, allocations: 1.281 kB / 380.9 MB, free: 35.04 MB / 318.1 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.0148/0.3447, allocations: 7.644 MB / 388.5 MB, free: 31.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.3448, allocations: 13.52 kB / 388.6 MB, free: 31.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.346, allocations: 0.8447 MB / 389.4 MB, free: 30.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003678/0.3497, allocations: 3.157 MB / 392.6 MB, free: 29.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.3498, allocations: 158.4 kB / 392.7 MB, free: 29.06 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/0.3501, allocations: 211.4 kB / 392.9 MB, free: 29.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004208/0.3544, allocations: 2.105 MB / 395 MB, free: 28.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.847e-05/0.3544, allocations: 4.516 kB / 395 MB, free: 28.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.3546, allocations: 85.09 kB / 395.1 MB, free: 28.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-05/0.3547, allocations: 51.73 kB / 395.2 MB, free: 28.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00337/0.3581, allocations: 1.901 MB / 397.1 MB, free: 28.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0134/0.3715, allocations: 8.956 MB / 406 MB, free: 22.92 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003288/0.3748, allocations: 2.319 MB / 408.3 MB, free: 21.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00215/0.377, allocations: 1.382 MB / 409.7 MB, free: 20.92 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.3771, allocations: 43.77 kB / 409.8 MB, free: 20.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001852/0.379, allocations: 1.163 MB / 410.9 MB, free: 19.78 MB / 318.1 MB Notification: Performance of pre-optimization done (n=242): time 4.168e-06/0.379, allocations: 4 kB / 410.9 MB, free: 19.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=367): time 0.06171/0.4407, allocations: 22.81 MB / 433.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02873/0.4695, allocations: 13.63 MB / 447.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01556/0.4851, allocations: 14.89 MB / 462.3 MB, free: 72 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000707/0.4859, allocations: 86.36 kB / 462.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003096/0.489, allocations: 3.728 MB / 466.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0013/0.4903, allocations: 1.206 MB / 467.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009562/0.4912, allocations: 0.5194 MB / 467.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.4913, allocations: 309.2 kB / 468.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00239/0.4937, allocations: 1.248 MB / 469.4 MB, free: 8.973 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002586/0.4963, allocations: 1.626 MB / 471 MB, free: 7.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004958/0.5013, allocations: 2.99 MB / 474 MB, free: 4.234 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.5013, allocations: 0 / 474 MB, free: 4.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.0112/0.5125, allocations: 5.21 MB / 479.2 MB, free: 15.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.5126, allocations: 11.98 kB / 479.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.5126, allocations: 4 kB / 479.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005545/0.5182, allocations: 1.392 MB / 480.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002842/0.521, allocations: 0.5459 MB / 481.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02736/0.5484, allocations: 23.98 MB / 0.4933 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003461/0.5519, allocations: 127.8 kB / 0.4934 GB, free: 3.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003543/0.5523, allocations: 116 kB / 0.4935 GB, free: 3.758 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.comparisonWithFEA.nextTimeEvent,$whenCondition1,comparisonWithFEA.nextTimeEventScaled,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent,simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (309): * Single equations (assignments): 300 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,4,100.0%), (1,3,100.0%), (1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,43), (3,50)} Notification: Performance of prepare postOptimizeDAE: time 0.003203/0.5555, allocations: 2.178 MB / 0.4956 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/0.5568, allocations: 0.8175 MB / 0.4964 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/0.5684, allocations: 5.224 MB / 0.5015 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.449e-05/0.5685, allocations: 36 kB / 0.5016 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.384e-05/0.5685, allocations: 4 kB / 0.5016 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.284e-05/0.5686, allocations: 31.23 kB / 0.5016 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0226/0.5912, allocations: 11.08 MB / 0.5124 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/0.5913, allocations: 1.969 kB / 0.5124 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00275/0.5941, allocations: 464.2 kB / 0.5129 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00586/0.5999, allocations: 1.346 MB / 0.5142 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005508/0.6005, allocations: 71.97 kB / 0.5143 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1795/0.78, allocations: 21.86 MB / 0.5356 GB, free: 143.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02439/0.8044, allocations: 11.94 MB / 0.5473 GB, free: 136.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/0.8186, allocations: 6.942 MB / 0.554 GB, free: 134.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001712/0.8203, allocations: 0.7549 MB / 0.5548 GB, free: 134 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006255/0.821, allocations: 66.47 kB / 0.5548 GB, free: 133.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/0.8231, allocations: 108.4 kB / 0.5549 GB, free: 133.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007107/0.8238, allocations: 270.6 kB / 0.5552 GB, free: 133.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/0.824, allocations: 98.16 kB / 0.5553 GB, free: 133.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.009275/0.8333, allocations: 11.13 MB / 0.5662 GB, free: 126.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8333, allocations: 0 / 0.5662 GB, free: 126.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005222/0.8386, allocations: 1.074 MB / 0.5672 GB, free: 125 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (advancedSolenoid.x,advancedSolenoid.coil1.i,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.coil2.i,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.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%), (1,3,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,49), (4,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00139/0.84, allocations: 0.4966 MB / 0.5677 GB, free: 124.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01009/0.8501, allocations: 4.92 MB / 0.5725 GB, free: 119.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.8501, allocations: 0 / 0.5725 GB, free: 119.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00406/0.8542, allocations: 3.29 MB / 0.5757 GB, free: 116.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/0.8576, allocations: 0.5485 MB / 0.5763 GB, free: 115.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01956/0.8772, allocations: 20.21 MB / 0.596 GB, free: 95.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002843/0.8801, allocations: 4.014 MB / 0.5999 GB, free: 91.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002112/0.8822, allocations: 301.2 kB / 0.6002 GB, free: 91.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006254/0.8829, allocations: 171.4 kB / 0.6004 GB, free: 90.99 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.8829, allocations: 0 / 0.6004 GB, free: 90.99 MB / 430.1 MB Notification: Performance of Templates: time 0.1607/1.044, allocations: 65.28 MB / 0.6641 GB, free: 25.61 MB / 430.1 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)