Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009819/0.0009819, allocations: 181.4 kB / 13.64 MB, free: 1.676 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.361/1.361, allocations: 194.3 MB / 208.4 MB, free: 6.727 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.00163/0.00163, allocations: 120.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.213e-05/5.224e-05, allocations: 7.984 kB / 305 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08193/0.082, allocations: 44.5 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3053/0.3873, allocations: 82.01 MB / 431.5 MB, free: 9.262 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.3876, allocations: 86.36 kB / 431.5 MB, free: 9.246 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.036/0.4236, allocations: 15.19 MB / 446.7 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4237, allocations: 0 / 446.7 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.878e-05/0.4237, allocations: 16 kB / 446.7 MB, free: 0.5586 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001695/0.4254, allocations: 0.9892 MB / 447.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4255, allocations: 8.031 kB / 447.7 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.4257, allocations: 98.83 kB / 447.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008286/0.4265, allocations: 0.5217 MB / 448.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.971e-05/0.4266, allocations: 50.25 kB / 448.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.666e-05/0.4267, allocations: 65.67 kB / 448.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.4278, allocations: 0.6006 MB / 449.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.4278, allocations: 0 / 449.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/0.4279, allocations: 28.56 kB / 449.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.4279, allocations: 12 kB / 449.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008944/0.4288, allocations: 0.5064 MB / 449.6 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003952/0.4328, allocations: 2.659 MB / 452.3 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/0.4335, allocations: 469.7 kB / 452.7 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/0.434, allocations: 270 kB / 453 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-05/0.434, allocations: 12.5 kB / 453 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.4341, allocations: 38.67 kB / 453 MB, free: 11.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 2.475e-06/0.4341, allocations: 0 / 453 MB, free: 11.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.003547/0.4376, allocations: 1.371 MB / 454.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.4377, allocations: 59.97 kB / 454.5 MB, free: 10.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.4388, allocations: 0.8285 MB / 455.3 MB, free: 9.699 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.4388, allocations: 36.08 kB / 455.3 MB, free: 9.664 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.4391, allocations: 394.8 kB / 455.7 MB, free: 9.402 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.4393, allocations: 223 kB / 455.9 MB, free: 9.211 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.4394, allocations: 16.56 kB / 456 MB, free: 9.207 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.4396, allocations: 395.2 kB / 456.3 MB, free: 8.844 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/0.44, allocations: 211.2 kB / 456.6 MB, free: 8.727 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.4404, allocations: 300.4 kB / 456.8 MB, free: 8.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.4408, allocations: 275.3 kB / 457.1 MB, free: 8.316 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4408, allocations: 4 kB / 457.1 MB, free: 8.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001067/0.4419, allocations: 0.6992 MB / 457.8 MB, free: 7.785 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.442, allocations: 33.7 kB / 457.9 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.442, allocations: 0 / 457.9 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.442, allocations: 8 kB / 457.9 MB, free: 7.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008035/0.4428, allocations: 202.6 kB / 458.1 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.4428, allocations: 4 kB / 458.1 MB, free: 7.543 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/0.4434, allocations: 62.89 kB / 458.1 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.4435, allocations: 35.36 kB / 458.2 MB, free: 7.465 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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.0001473/0.4436, allocations: 139.2 kB / 458.3 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.4438, allocations: 86.92 kB / 458.4 MB, free: 7.254 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.4448, allocations: 0.5706 MB / 459 MB, free: 6.863 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.4448, allocations: 8 kB / 459 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4448, allocations: 4 kB / 459 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.4448, allocations: 3.984 kB / 459 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.4473, allocations: 1.882 MB / 460.8 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.4474, allocations: 4 kB / 460.9 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005916/0.448, allocations: 154.9 kB / 461 MB, free: 5.188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.448, allocations: 4 kB / 461 MB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.448, allocations: 15 kB / 461 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/0.4481, allocations: 8 kB / 461 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/0.4481, allocations: 4 kB / 461 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009202/0.449, allocations: 0.8225 MB / 461.9 MB, free: 4.383 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003347/0.4494, allocations: 243.8 kB / 462.1 MB, free: 4.172 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.121e-05/0.4495, allocations: 17.5 kB / 462.1 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004991/0.45, allocations: 57.02 kB / 462.2 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.4501, allocations: 58.8 kB / 462.2 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/0.4501, allocations: 18.31 kB / 462.2 MB, free: 4.051 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007524/0.4509, allocations: 0.6564 MB / 462.9 MB, free: 3.586 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4509, allocations: 0 / 462.9 MB, free: 3.586 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005884/0.4515, allocations: 177.2 kB / 463.1 MB, free: 3.434 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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.0006314/0.4521, allocations: 267.7 kB / 463.3 MB, free: 3.184 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008891/0.453, allocations: 0.568 MB / 463.9 MB, free: 2.762 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4531, allocations: 8.125 kB / 463.9 MB, free: 2.754 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.4534, allocations: 274.2 kB / 464.2 MB, free: 2.574 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005708/0.454, allocations: 106.8 kB / 464.3 MB, free: 2.504 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.456, allocations: 1.187 MB / 465.5 MB, free: 1.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.4566, allocations: 0.9781 MB / 466.4 MB, free: 440 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004565/0.457, allocations: 112.9 kB / 466.6 MB, free: 328 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.4573, allocations: 63.17 kB / 466.6 MB, free: 272 kB / 314.7 MB Notification: Performance of SimCode: time 6.82e-07/0.4573, allocations: 0 / 466.6 MB, free: 272 kB / 314.7 MB Notification: Performance of Templates: time 0.01485/0.4721, allocations: 7.791 MB / 474.4 MB, free: 8.465 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1)