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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.007926/0.007927, allocations: 166.5 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.35/1.35, allocations: 170.8 MB / 186.6 MB, free: 0.9648 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00167/0.00167, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005111/0.0005112, allocations: 8 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3447, allocations: 38.76 MB / 312.9 MB, free: 38.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1085/0.4533, allocations: 77.88 MB / 390.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.4536, allocations: 87.95 kB / 390.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.311/0.7646, allocations: 35.73 MB / 426.6 MB, free: 79.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.7647, allocations: 0 / 426.6 MB, free: 79.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001199/0.7648, allocations: 20.66 kB / 426.6 MB, free: 79.97 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.003929/0.7687, allocations: 1.241 MB / 427.8 MB, free: 79.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.7688, allocations: 9.344 kB / 427.9 MB, free: 79.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005801/0.7694, allocations: 123.2 kB / 428 MB, free: 79.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.771, allocations: 0.6059 MB / 428.6 MB, free: 78.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000205/0.7712, allocations: 84.38 kB / 428.7 MB, free: 78.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005233/0.7717, allocations: 96.31 kB / 428.8 MB, free: 78.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004145/0.7759, allocations: 1.026 MB / 429.8 MB, free: 78.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.63e-05/0.776, allocations: 1.469 kB / 429.8 MB, free: 78.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.7762, allocations: 40.31 kB / 429.8 MB, free: 78.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-05/0.7762, allocations: 22.31 kB / 429.8 MB, free: 78.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00273/0.779, allocations: 0.9429 MB / 430.8 MB, free: 78.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00672/0.7857, allocations: 3.549 MB / 434.3 MB, free: 77.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.7872, allocations: 0.8934 MB / 435.2 MB, free: 77.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.432e-05/0.7873, allocations: 11.75 kB / 435.2 MB, free: 77.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.7873, allocations: 43.62 kB / 435.3 MB, free: 77.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 4.148e-06/0.7874, allocations: 0 / 435.3 MB, free: 77.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.009688/0.7971, allocations: 4.754 MB / 440 MB, free: 74.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.7971, allocations: 97.64 kB / 440.1 MB, free: 74.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007015/0.7978, allocations: 0.5396 MB / 440.7 MB, free: 74.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.04e-05/0.7979, allocations: 48.42 kB / 440.7 MB, free: 74.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.7981, allocations: 411.6 kB / 441.1 MB, free: 74.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.7984, allocations: 429 kB / 441.5 MB, free: 73.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.7984, allocations: 22.34 kB / 441.6 MB, free: 73.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.7986, allocations: 402.2 kB / 442 MB, free: 73.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007936/0.7994, allocations: 430.7 kB / 442.4 MB, free: 73.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008628/0.8003, allocations: 0.5553 MB / 442.9 MB, free: 72.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008651/0.8011, allocations: 490.1 kB / 443.4 MB, free: 72.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.8011, allocations: 0 / 443.4 MB, free: 72.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002345/0.8035, allocations: 1.305 MB / 444.7 MB, free: 72.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.8035, allocations: 6.781 kB / 444.7 MB, free: 72.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.8036, allocations: 7.5 kB / 444.7 MB, free: 72.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004144/0.804, allocations: 136.2 kB / 444.9 MB, free: 72.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.8051, allocations: 278.5 kB / 445.1 MB, free: 72.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/0.8078, allocations: 4.558 MB / 449.7 MB, free: 67.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009951/0.8088, allocations: 80.38 kB / 449.8 MB, free: 67.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.19e-05/0.8089, allocations: 41.14 kB / 449.8 MB, free: 67.61 MB / 314.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.0005851/0.8095, allocations: 281.2 kB / 450.1 MB, free: 67.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.8096, allocations: 88.22 kB / 450.2 MB, free: 67.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.8112, allocations: 0.8314 MB / 451 MB, free: 66.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.8112, allocations: 11.44 kB / 451 MB, free: 66.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.8113, allocations: 3.781 kB / 451 MB, free: 66.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.8113, allocations: 7.359 kB / 451 MB, free: 66.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004072/0.8154, allocations: 3.009 MB / 454 MB, free: 65.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.8154, allocations: 3.312 kB / 454 MB, free: 65.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009331/0.8163, allocations: 232.7 kB / 454.3 MB, free: 65.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004198/0.8168, allocations: 164.6 kB / 454.4 MB, free: 65.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.591e-05/0.8168, allocations: 36.94 kB / 454.5 MB, free: 65.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003019/0.8199, allocations: 5.611 MB / 460.1 MB, free: 59.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.8199, allocations: 4 kB / 460.1 MB, free: 59.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/0.823, allocations: 2.099 MB / 462.2 MB, free: 57.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.8233, allocations: 170.9 kB / 462.3 MB, free: 57.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.8234, allocations: 35.31 kB / 462.4 MB, free: 57.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006678/0.8241, allocations: 77.27 kB / 462.5 MB, free: 57.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.8243, allocations: 88.92 kB / 462.5 MB, free: 57.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.387e-05/0.8243, allocations: 39.27 kB / 462.6 MB, free: 57.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005778/0.8249, allocations: 445.3 kB / 463 MB, free: 56.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8249, allocations: 0 / 463 MB, free: 56.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001081/0.826, allocations: 275.7 kB / 463.3 MB, free: 56.43 MB / 314.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.0002768/0.8263, allocations: 144.6 kB / 463.4 MB, free: 56.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.8285, allocations: 1.461 MB / 464.9 MB, free: 54.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.8285, allocations: 0 / 464.9 MB, free: 54.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.8299, allocations: 1.096 MB / 466 MB, free: 53.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008951/0.8308, allocations: 156.1 kB / 466.1 MB, free: 53.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.8345, allocations: 2.748 MB / 468.9 MB, free: 51.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.835, allocations: 1.056 MB / 469.9 MB, free: 50.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006332/0.8356, allocations: 122.5 kB / 470.1 MB, free: 50.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.8359, allocations: 78.08 kB / 470.1 MB, free: 50.11 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.8359, allocations: 0 / 470.1 MB, free: 50.11 MB / 314.7 MB Notification: Performance of Templates: time 0.02005/0.8559, allocations: 11.59 MB / 481.7 MB, free: 38.79 MB / 314.7 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)