Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001547/0.001547, allocations: 169.5 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.186/1.186, 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.001549/0.001549, allocations: 104.8 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.129e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05518/0.05522, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2326/0.2878, allocations: 77.12 MB / 384.8 MB, free: 15.19 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.2881, allocations: 85.83 kB / 384.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03973/0.3279, allocations: 15.17 MB / 400 MB, free: 2.301 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3279, allocations: 0 / 400 MB, free: 2.301 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.824e-05/0.328, allocations: 20 kB / 400 MB, free: 2.281 MB / 282.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.001546/0.3295, allocations: 0.9892 MB / 401 MB, free: 1.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3296, allocations: 16.03 kB / 401 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.3297, allocations: 94.78 kB / 401.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007792/0.3305, allocations: 0.5273 MB / 401.7 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.3306, allocations: 52.67 kB / 401.7 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.001e-05/0.3307, allocations: 59.06 kB / 401.8 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009511/0.3317, allocations: 0.5978 MB / 402.4 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.3317, allocations: 11.98 kB / 402.4 MB, free: 228 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.232e-05/0.3318, allocations: 26.5 kB / 402.4 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.3318, allocations: 16 kB / 402.4 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008212/0.3326, allocations: 0.4973 MB / 402.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003555/0.3362, allocations: 2.662 MB / 405.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006637/0.3369, allocations: 469.8 kB / 406 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000467/0.3373, allocations: 274.8 kB / 406.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.3374, allocations: 8.422 kB / 406.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.3374, allocations: 42.25 kB / 406.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 1.783e-06/0.3374, allocations: 0 / 406.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.003425/0.3409, allocations: 1.367 MB / 407.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.3409, allocations: 63.97 kB / 407.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.342, allocations: 0.8318 MB / 408.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.342, allocations: 41.27 kB / 408.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.3423, allocations: 391.1 kB / 409 MB, free: 11.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.3424, allocations: 217.7 kB / 409.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.3425, allocations: 14.69 kB / 409.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3426, allocations: 393.1 kB / 409.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.343, allocations: 212.2 kB / 409.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.3434, allocations: 310.9 kB / 410.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.3438, allocations: 268.1 kB / 410.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3438, allocations: 0 / 410.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001053/0.3449, allocations: 0.7019 MB / 411.1 MB, free: 9.492 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/0.3449, allocations: 37.72 kB / 411.2 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.345, allocations: 4 kB / 411.2 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.345, allocations: 4 kB / 411.2 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008105/0.3458, allocations: 194.9 kB / 411.4 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.3458, allocations: 11.94 kB / 411.4 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005691/0.3464, allocations: 64.95 kB / 411.4 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.402e-05/0.3465, allocations: 23.8 kB / 411.5 MB, free: 9.176 MB / 298.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.0001415/0.3466, allocations: 141.4 kB / 411.6 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.3467, allocations: 82.97 kB / 411.7 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009622/0.3477, allocations: 0.5756 MB / 412.2 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.3477, allocations: 4 kB / 412.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3477, allocations: 7.891 kB / 412.3 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.3478, allocations: 7.984 kB / 412.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.3504, allocations: 1.874 MB / 414.1 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3504, allocations: 0 / 414.1 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005946/0.351, allocations: 153.9 kB / 414.3 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.351, allocations: 8 kB / 414.3 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.351, allocations: 14.25 kB / 414.3 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.3511, allocations: 11.95 kB / 414.3 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3511, allocations: 7.938 kB / 414.3 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009283/0.352, allocations: 0.8314 MB / 415.2 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.3523, allocations: 234.6 kB / 415.4 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.721e-05/0.3524, allocations: 14.31 kB / 415.4 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.3529, allocations: 58.7 kB / 415.5 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.774e-05/0.353, allocations: 51.52 kB / 415.5 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.3531, allocations: 19.62 kB / 415.5 MB, free: 5.766 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007547/0.3538, allocations: 0.6578 MB / 416.2 MB, free: 5.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3538, allocations: 0 / 416.2 MB, free: 5.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005447/0.3544, allocations: 188 kB / 416.4 MB, free: 4.945 MB / 298.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.0004712/0.3549, allocations: 230.2 kB / 416.6 MB, free: 4.719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000845/0.3557, allocations: 0.5744 MB / 417.2 MB, free: 4.137 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3557, allocations: 4 kB / 417.2 MB, free: 4.133 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003962/0.3561, allocations: 271.1 kB / 417.4 MB, free: 3.867 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.3567, allocations: 106.2 kB / 417.5 MB, free: 3.766 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.3586, allocations: 1.201 MB / 418.7 MB, free: 2.504 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.3592, allocations: 0.9788 MB / 419.7 MB, free: 1.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004284/0.3596, allocations: 112.9 kB / 419.8 MB, free: 1.391 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.3598, allocations: 59.36 kB / 419.9 MB, free: 1.332 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3598, allocations: 0 / 419.9 MB, free: 1.332 MB / 298.7 MB Notification: Performance of Templates: time 0.01342/0.3732, allocations: 7.795 MB / 427.7 MB, free: 9.512 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1)