Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009503/0.0009504, 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.135/1.135, 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.001495/0.001495, allocations: 114.3 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002893/0.0002893, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07315/0.07346, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2153/0.2888, allocations: 84.11 MB / 439.2 MB, free: 5.555 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.289, allocations: 94.98 kB / 439.3 MB, free: 5.504 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.05053/0.3395, allocations: 21.36 MB / 460.6 MB, free: 2.684 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3396, allocations: 0 / 460.6 MB, free: 2.684 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.584e-05/0.3396, allocations: 23.98 kB / 460.7 MB, free: 2.66 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002345/0.342, allocations: 1.367 MB / 462 MB, free: 1.234 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.342, allocations: 8.031 kB / 462 MB, free: 1.227 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.3422, allocations: 134.4 kB / 462.2 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009293/0.3432, allocations: 0.6405 MB / 462.8 MB, free: 420 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.3433, allocations: 78 kB / 462.9 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.3434, allocations: 102.1 kB / 463 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.3452, allocations: 1.04 MB / 464 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.3453, allocations: 11.86 kB / 464 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.42e-05/0.3454, allocations: 40 kB / 464.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.3454, allocations: 20 kB / 464.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.3473, allocations: 0.9772 MB / 465.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005064/0.3524, allocations: 3.862 MB / 468.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/0.3546, allocations: 0.9711 MB / 469.9 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.492e-05/0.3546, allocations: 16.55 kB / 469.9 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.3547, allocations: 35.12 kB / 469.9 MB, free: 9.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=68): time 2.645e-06/0.3547, allocations: 4 kB / 470 MB, free: 9.023 MB / 346.7 MB Notification: Performance of matching and sorting (n=82): time 0.004918/0.3596, allocations: 2.207 MB / 472.2 MB, free: 6.812 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3597, allocations: 89.48 kB / 472.2 MB, free: 6.707 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009786/0.3607, allocations: 0.8127 MB / 473.1 MB, free: 5.887 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/0.3607, allocations: 37.7 kB / 473.1 MB, free: 5.844 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.361, allocations: 0.5068 MB / 473.6 MB, free: 5.328 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.3612, allocations: 276 kB / 473.9 MB, free: 5.055 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.3613, allocations: 20 kB / 473.9 MB, free: 5.035 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3614, allocations: 341.9 kB / 474.2 MB, free: 4.695 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009354/0.3623, allocations: 421.7 kB / 474.6 MB, free: 4.285 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009864/0.3633, allocations: 0.5675 MB / 475.2 MB, free: 3.664 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009558/0.3643, allocations: 475.7 kB / 475.7 MB, free: 3.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3643, allocations: 0 / 475.7 MB, free: 3.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002283/0.3666, allocations: 1.186 MB / 476.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.3666, allocations: 37.73 kB / 476.9 MB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3666, allocations: 4 kB / 476.9 MB, free: 1.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.3667, allocations: 8 kB / 476.9 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.368, allocations: 347.4 kB / 477.2 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.368, allocations: 8 kB / 477.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008725/0.3689, allocations: 115.9 kB / 477.4 MB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/0.369, allocations: 35.98 kB / 477.4 MB, free: 1.441 MB / 346.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: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004128/0.3694, allocations: 288.7 kB / 477.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.3696, allocations: 98.88 kB / 477.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.3706, allocations: 498 kB / 478.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.3706, allocations: 8 kB / 478.3 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3706, allocations: 7.891 kB / 478.3 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3706, allocations: 3.984 kB / 478.3 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004343/0.375, allocations: 2.912 MB / 481.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.375, allocations: 11.98 kB / 481.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009373/0.3759, allocations: 264.4 kB / 481.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/0.376, allocations: 16 kB / 481.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.376, allocations: 31.98 kB / 481.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.668e-05/0.3761, allocations: 27.81 kB / 481.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.966e-06/0.3761, allocations: 15.94 kB / 481.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.378, allocations: 1.746 MB / 483.3 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/0.3782, allocations: 203.9 kB / 483.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.3783, allocations: 35.98 kB / 483.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006949/0.379, allocations: 79.94 kB / 483.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.3792, allocations: 87.7 kB / 483.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.297e-05/0.3792, allocations: 39.98 kB / 483.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007354/0.38, allocations: 0.6318 MB / 484.4 MB, free: 9.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.38, allocations: 0 / 484.4 MB, free: 9.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007893/0.3808, allocations: 224 kB / 484.6 MB, free: 9.613 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 2 (cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 82 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006107/0.3814, allocations: 293.2 kB / 484.9 MB, free: 9.348 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.3833, allocations: 0.9521 MB / 485.8 MB, free: 8.383 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.3833, allocations: 448 / 485.8 MB, free: 8.383 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000848/0.3842, allocations: 465.9 kB / 486.3 MB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008597/0.385, allocations: 171.8 kB / 486.5 MB, free: 7.766 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.3882, allocations: 2.448 MB / 488.9 MB, free: 5.156 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005539/0.3888, allocations: 1.049 MB / 489.9 MB, free: 4.078 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005595/0.3894, allocations: 130.9 kB / 490.1 MB, free: 3.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.3896, allocations: 75.41 kB / 490.2 MB, free: 3.871 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3896, allocations: 0 / 490.2 MB, free: 3.871 MB / 362.7 MB Notification: Performance of Templates: time 0.01558/0.4052, allocations: 10.18 MB / 0.4886 GB, free: 9.688 MB / 378.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1)