Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.000983/0.000983, allocations: 170.2 kB / 12.72 MB, free: 2.594 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.167/1.167, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001564/0.001564, allocations: 106.8 kB / 223.2 MB, free: 4.055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.954e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05992/0.05995, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2315/0.2915, allocations: 79.2 MB / 386.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.2918, allocations: 80.02 kB / 386.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05572/0.3475, allocations: 21.35 MB / 408.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3476, allocations: 0 / 408.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.704e-05/0.3477, allocations: 20.19 kB / 408.3 MB, free: 11.2 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002299/0.35, allocations: 1.251 MB / 409.5 MB, free: 9.957 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.35, allocations: 8.031 kB / 409.5 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.3502, allocations: 131.1 kB / 409.7 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000957/0.3512, allocations: 0.6407 MB / 410.3 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.3513, allocations: 81.11 kB / 410.4 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.3515, allocations: 95.09 kB / 410.5 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.353, allocations: 0.9281 MB / 411.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.3531, allocations: 7.984 kB / 411.4 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/0.3532, allocations: 38.19 kB / 411.5 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.3532, allocations: 24 kB / 411.5 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.3545, allocations: 0.7677 MB / 412.3 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005221/0.3597, allocations: 3.844 MB / 416.1 MB, free: 5.102 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.3615, allocations: 0.8384 MB / 416.9 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/0.3621, allocations: 374.6 kB / 417.3 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-05/0.3622, allocations: 15.36 kB / 417.3 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.3622, allocations: 38.62 kB / 417.4 MB, free: 4.176 MB / 298.7 MB Notification: Performance of pre-optimization done (n=68): time 1.963e-06/0.3622, allocations: 4 kB / 417.4 MB, free: 4.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=86): time 0.003425/0.3657, allocations: 1.649 MB / 419 MB, free: 2.609 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.3657, allocations: 89.48 kB / 419.1 MB, free: 2.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.3667, allocations: 0.8011 MB / 419.9 MB, free: 1.695 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.3668, allocations: 41.7 kB / 419.9 MB, free: 1.648 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.3671, allocations: 0.4991 MB / 420.4 MB, free: 1.141 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.3673, allocations: 287.8 kB / 420.7 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.3674, allocations: 20 kB / 420.7 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3675, allocations: 349.9 kB / 421.1 MB, free: 500 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005385/0.3681, allocations: 298 kB / 421.4 MB, free: 200 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/0.3687, allocations: 461.9 kB / 421.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/0.3693, allocations: 368.8 kB / 422.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.3694, allocations: 0 / 422.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001502/0.3709, allocations: 0.9596 MB / 423.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.3709, allocations: 33.7 kB / 423.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3709, allocations: 4 kB / 423.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3709, allocations: 8 kB / 423.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.3724, allocations: 360 kB / 423.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.3724, allocations: 8 kB / 423.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000866/0.3733, allocations: 115.9 kB / 423.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.858e-05/0.3734, allocations: 35.98 kB / 423.7 MB, free: 13.79 MB / 314.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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.000171/0.3736, allocations: 164.6 kB / 423.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.3737, allocations: 102.8 kB / 424 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006498/0.3744, allocations: 366.1 kB / 424.3 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.3744, allocations: 12 kB / 424.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3744, allocations: 0 / 424.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.3744, allocations: 3.984 kB / 424.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004103/0.3786, allocations: 2.885 MB / 427.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/0.3786, allocations: 12.06 kB / 427.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.3796, allocations: 271.6 kB / 427.5 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-05/0.3796, allocations: 16 kB / 427.5 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/0.3797, allocations: 31.98 kB / 427.5 MB, free: 9.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.491e-05/0.3797, allocations: 23.94 kB / 427.6 MB, free: 9.707 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.875e-05/0.3797, allocations: 19.89 kB / 427.6 MB, free: 9.688 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.3812, allocations: 1.679 MB / 429.3 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.3815, allocations: 203.9 kB / 429.5 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.3816, allocations: 31.98 kB / 429.5 MB, free: 7.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007185/0.3823, allocations: 79.94 kB / 429.6 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.3825, allocations: 91.7 kB / 429.7 MB, free: 7.148 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.534e-05/0.3825, allocations: 47.94 kB / 429.7 MB, free: 7.102 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000751/0.3833, allocations: 0.6163 MB / 430.3 MB, free: 6.488 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3833, allocations: 0 / 430.3 MB, free: 6.488 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007787/0.3841, allocations: 236 kB / 430.5 MB, free: 6.258 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.0004847/0.3846, allocations: 252.7 kB / 430.8 MB, free: 6.008 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.3857, allocations: 0.7699 MB / 431.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.3858, allocations: 8.312 kB / 431.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006047/0.3864, allocations: 401.9 kB / 432 MB, free: 4.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000856/0.3872, allocations: 183.1 kB / 432.1 MB, free: 4.652 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.3898, allocations: 1.557 MB / 433.7 MB, free: 2.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006084/0.3904, allocations: 1.053 MB / 434.8 MB, free: 1.848 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005755/0.391, allocations: 131.1 kB / 434.9 MB, free: 1.715 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.3913, allocations: 75.41 kB / 435 MB, free: 1.641 MB / 314.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3913, allocations: 0 / 435 MB, free: 1.641 MB / 314.7 MB Notification: Performance of Templates: time 0.01714/0.4084, allocations: 10.42 MB / 445.4 MB, free: 7.199 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1)