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.0009697/0.0009698, allocations: 183.2 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.398/1.398, allocations: 194.4 MB / 203.1 MB, free: 13.02 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.001628/0.001628, allocations: 121.5 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.424e-05/1.424e-05, allocations: 7.984 kB / 298.1 MB, free: 35.51 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07795/0.07798, allocations: 44.5 MB / 342.6 MB, free: 7.004 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2879/0.3659, allocations: 81.85 MB / 424.4 MB, free: 9.926 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.3661, allocations: 80.3 kB / 424.5 MB, free: 9.914 MB / 298.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.08755/0.4537, allocations: 35.36 MB / 459.9 MB, free: 7.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4537, allocations: 0 / 459.9 MB, free: 7.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.004e-05/0.4538, allocations: 20 kB / 459.9 MB, free: 7.801 MB / 314.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.002569/0.4564, allocations: 1.136 MB / 461 MB, free: 6.684 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.4565, allocations: 12.02 kB / 461 MB, free: 6.672 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003279/0.4568, allocations: 118.6 kB / 461.1 MB, free: 6.555 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009901/0.4578, allocations: 0.6024 MB / 461.7 MB, free: 6.066 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.4579, allocations: 49.95 kB / 461.8 MB, free: 6.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.4581, allocations: 55.94 kB / 461.9 MB, free: 5.969 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001412/0.4595, allocations: 0.7297 MB / 462.6 MB, free: 5.527 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.4612, allocations: 0.8031 MB / 463.4 MB, free: 4.961 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.4613, allocations: 11.89 kB / 463.4 MB, free: 4.949 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.159e-05/0.4613, allocations: 0 / 463.4 MB, free: 4.949 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.4614, allocations: 27.98 kB / 463.4 MB, free: 4.922 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005089/0.4665, allocations: 3.386 MB / 466.8 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.4675, allocations: 0.7455 MB / 467.6 MB, free: 0.918 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006455/0.4682, allocations: 437 kB / 468 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.7e-05/0.4682, allocations: 16 kB / 468 MB, free: 484 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.4683, allocations: 42.88 kB / 468 MB, free: 432 kB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 2.053e-06/0.4683, allocations: 0 / 468 MB, free: 432 kB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.006704/0.475, allocations: 3.666 MB / 471.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.4751, allocations: 98.27 kB / 471.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005984/0.4757, allocations: 466.1 kB / 472.3 MB, free: 12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.289e-05/0.4758, allocations: 25.7 kB / 472.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.4761, allocations: 424.3 kB / 472.7 MB, free: 11.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004051/0.4765, allocations: 429.5 kB / 473.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.4765, allocations: 0 / 473.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4767, allocations: 394.7 kB / 473.5 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006208/0.4773, allocations: 350.5 kB / 473.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006614/0.478, allocations: 482 kB / 474.3 MB, free: 9.879 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006605/0.4787, allocations: 401.2 kB / 474.7 MB, free: 9.488 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4787, allocations: 0 / 474.7 MB, free: 9.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001864/0.4806, allocations: 1.109 MB / 475.8 MB, free: 8.359 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4806, allocations: 8 kB / 475.8 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.4806, allocations: 4 kB / 475.8 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004129/0.481, allocations: 146.6 kB / 476 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.4822, allocations: 287.6 kB / 476.2 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004081/0.4863, allocations: 4.599 MB / 480.8 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007649/0.4871, allocations: 67.81 kB / 480.9 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.664e-05/0.4872, allocations: 47.98 kB / 481 MB, free: 2.867 MB / 330.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 139 * 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 {(2,100.0%) 5,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000204/0.4874, allocations: 128.6 kB / 481.1 MB, free: 2.734 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.4876, allocations: 86.97 kB / 481.2 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.489, allocations: 0.7128 MB / 481.9 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.489, allocations: 12 kB / 481.9 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.489, allocations: 7.953 kB / 481.9 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.4891, allocations: 7.969 kB / 481.9 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004059/0.4931, allocations: 2.743 MB / 484.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.4931, allocations: 4 kB / 484.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.4942, allocations: 256 kB / 484.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003342/0.4945, allocations: 122.5 kB / 485 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.968e-05/0.4946, allocations: 19.98 kB / 485 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003044/0.4977, allocations: 4.218 MB / 489.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.4977, allocations: 0 / 489.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.5002, allocations: 1.853 MB / 491.1 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/0.5004, allocations: 164.1 kB / 491.3 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.5005, allocations: 8.25 kB / 491.3 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006876/0.5012, allocations: 59.95 kB / 491.3 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.5014, allocations: 92.61 kB / 491.4 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.996e-05/0.5015, allocations: 43.92 kB / 491.5 MB, free: 7.754 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004263/0.5019, allocations: 362.9 kB / 491.8 MB, free: 7.398 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5019, allocations: 0 / 491.8 MB, free: 7.398 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009527/0.5029, allocations: 224 kB / 492.1 MB, free: 7.18 MB / 346.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.g_ma.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * 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%) 2,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002342/0.5031, allocations: 131 kB / 492.2 MB, free: 7.039 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.5051, allocations: 1.289 MB / 493.5 MB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.5051, allocations: 4 kB / 493.5 MB, free: 5.727 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.5062, allocations: 0.8603 MB / 494.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000766/0.507, allocations: 134 kB / 494.5 MB, free: 4.695 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.51, allocations: 1.734 MB / 496.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/0.5107, allocations: 1.064 MB / 497.3 MB, free: 1.816 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005822/0.5112, allocations: 115.6 kB / 497.4 MB, free: 1.699 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.5115, allocations: 83.41 kB / 497.5 MB, free: 1.617 MB / 346.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5115, allocations: 4 kB / 497.5 MB, free: 1.613 MB / 346.7 MB Notification: Performance of Templates: time 0.02036/0.5319, allocations: 10.6 MB / 0.4962 GB, free: 7.02 MB / 362.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)