Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009644/0.0009644, allocations: 179.4 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.107/1.107, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.00159/0.00159, allocations: 115.2 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003131, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.081/0.08132, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.237/0.3184, allocations: 82.59 MB / 437.7 MB, free: 7.035 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.3187, allocations: 89.62 kB / 437.7 MB, free: 6.988 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Magnetic/FluxTubes.mo:1375:11-1375:91:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.08492/0.4036, allocations: 35.67 MB / 473.4 MB, free: 5.848 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4036, allocations: 0 / 473.4 MB, free: 5.848 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.509e-05/0.4037, allocations: 20 kB / 473.4 MB, free: 5.828 MB / 346.7 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.002227/0.4059, allocations: 1.244 MB / 474.7 MB, free: 4.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.406, allocations: 11.97 kB / 474.7 MB, free: 4.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.4062, allocations: 118.6 kB / 474.8 MB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008425/0.407, allocations: 0.6096 MB / 475.4 MB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.4071, allocations: 77.95 kB / 475.5 MB, free: 3.672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.4073, allocations: 103.9 kB / 475.6 MB, free: 3.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.409, allocations: 1.025 MB / 476.6 MB, free: 2.535 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.4091, allocations: 11.98 kB / 476.6 MB, free: 2.523 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.523e-05/0.4091, allocations: 43.98 kB / 476.7 MB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.4092, allocations: 20 kB / 476.7 MB, free: 2.461 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.411, allocations: 0.9382 MB / 477.6 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004608/0.4156, allocations: 3.567 MB / 481.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.417, allocations: 0.8804 MB / 482.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.968e-05/0.417, allocations: 13.19 kB / 482.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.4171, allocations: 47.11 kB / 482.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=95): time 2.916e-06/0.4171, allocations: 0 / 482.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=125): time 0.009247/0.4263, allocations: 4.75 MB / 486.9 MB, free: 7.883 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.4264, allocations: 90.2 kB / 487 MB, free: 7.773 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.4271, allocations: 0.5413 MB / 487.5 MB, free: 7.223 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.4272, allocations: 49.7 kB / 487.6 MB, free: 7.168 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.4274, allocations: 412.3 kB / 488 MB, free: 6.758 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.4277, allocations: 433.7 kB / 488.4 MB, free: 6.328 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.4278, allocations: 20 kB / 488.4 MB, free: 6.309 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4279, allocations: 406.7 kB / 488.8 MB, free: 5.902 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000811/0.4287, allocations: 422.4 kB / 489.2 MB, free: 5.488 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008964/0.4296, allocations: 0.5667 MB / 489.8 MB, free: 4.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009132/0.4306, allocations: 479.7 kB / 490.2 MB, free: 4.418 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4306, allocations: 4 kB / 490.2 MB, free: 4.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002242/0.4328, allocations: 1.306 MB / 491.6 MB, free: 3.098 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.4329, allocations: 5.25 kB / 491.6 MB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4329, allocations: 4 kB / 491.6 MB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003543/0.4332, allocations: 138.5 kB / 491.7 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.4343, allocations: 271.6 kB / 492 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.4375, allocations: 4.552 MB / 496.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007709/0.4383, allocations: 84 kB / 496.6 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.587e-05/0.4384, allocations: 39.98 kB / 496.6 MB, free: 13.61 MB / 378.7 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 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000459/0.4388, allocations: 285.9 kB / 496.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.439, allocations: 90.97 kB / 497 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.4405, allocations: 0.8359 MB / 497.8 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.4405, allocations: 16 kB / 497.9 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.4405, allocations: 4 kB / 497.9 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.4406, allocations: 7.969 kB / 497.9 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/0.4447, allocations: 3.017 MB / 0.4891 GB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4448, allocations: 320 / 0.4891 GB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009244/0.4457, allocations: 235.7 kB / 0.4894 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004052/0.4461, allocations: 155.3 kB / 0.4895 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/0.4462, allocations: 35.94 kB / 0.4896 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003843/0.45, allocations: 5.616 MB / 0.495 GB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.4501, allocations: 7.938 kB / 0.495 GB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/0.4533, allocations: 2.091 MB / 0.4971 GB, free: 412 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.4536, allocations: 176 kB / 0.4973 GB, free: 216 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.4537, allocations: 24 kB / 0.4973 GB, free: 192 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006736/0.4543, allocations: 75.95 kB / 0.4973 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.4545, allocations: 96.42 kB / 0.4974 GB, free: 20 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.456e-05/0.4546, allocations: 36.06 kB / 0.4975 GB, free: 15.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005525/0.4552, allocations: 443.1 kB / 0.4979 GB, free: 15.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4552, allocations: 0 / 0.4979 GB, free: 15.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009464/0.4561, allocations: 272 kB / 0.4982 GB, free: 15.28 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002474/0.4564, allocations: 154.9 kB / 0.4983 GB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002406/0.4588, allocations: 1.457 MB / 0.4997 GB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4588, allocations: 0 / 0.4997 GB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.4602, allocations: 1.097 MB / 0.5008 GB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007572/0.461, allocations: 157.8 kB / 0.5009 GB, free: 12.33 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/0.4648, allocations: 2.765 MB / 0.5036 GB, free: 9.508 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.4654, allocations: 1.048 MB / 0.5047 GB, free: 8.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005294/0.4659, allocations: 123.8 kB / 0.5048 GB, free: 8.305 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.4661, allocations: 75.42 kB / 0.5049 GB, free: 8.23 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4661, allocations: 0 / 0.5049 GB, free: 8.23 MB / 394.7 MB Notification: Performance of Templates: time 0.1614/0.6276, allocations: 11.58 MB / 0.5162 GB, free: 108.7 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)