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.01142/0.01142, allocations: 167.4 kB / 15.11 MB, free: 5.973 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.322/1.322, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001647/0.001647, allocations: 102.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003303, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2454, allocations: 38.78 MB / 312.9 MB, free: 38.74 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.102/0.3474, allocations: 79.29 MB / 392.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.3478, allocations: 91.95 kB / 392.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05942/0.4072, allocations: 21.33 MB / 413.6 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.4073, allocations: 0 / 413.6 MB, free: 5.715 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.26e-05/0.4073, allocations: 32 kB / 413.6 MB, free: 5.684 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003101/0.4105, allocations: 1.366 MB / 415 MB, free: 4.258 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.4105, allocations: 12.03 kB / 415 MB, free: 4.246 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.4108, allocations: 127.2 kB / 415.1 MB, free: 4.121 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.4119, allocations: 0.6445 MB / 415.8 MB, free: 3.434 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.4121, allocations: 74 kB / 415.9 MB, free: 3.359 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.4123, allocations: 103.9 kB / 416 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.4144, allocations: 1.033 MB / 417 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.4144, allocations: 0 / 417 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.932e-05/0.4145, allocations: 40 kB / 417 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.4146, allocations: 27.94 kB / 417.1 MB, free: 2.152 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.4169, allocations: 0.9733 MB / 418 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2209/0.6378, allocations: 3.842 MB / 421.9 MB, free: 78.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/0.6403, allocations: 0.9547 MB / 422.8 MB, free: 78.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.556e-05/0.6404, allocations: 12 kB / 422.8 MB, free: 78.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.6404, allocations: 47.78 kB / 422.9 MB, free: 78.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=68): time 4.128e-06/0.6404, allocations: 0 / 422.9 MB, free: 78.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=82): time 0.006586/0.647, allocations: 2.221 MB / 425.1 MB, free: 78.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.6471, allocations: 85.7 kB / 425.2 MB, free: 78.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.6485, allocations: 0.812 MB / 426 MB, free: 78.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/0.6486, allocations: 39.52 kB / 426 MB, free: 78.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.649, allocations: 0.5015 MB / 426.5 MB, free: 77.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.6492, allocations: 275.4 kB / 426.8 MB, free: 77.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.6493, allocations: 25.31 kB / 426.8 MB, free: 77.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.6494, allocations: 342.2 kB / 427.2 MB, free: 77.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009988/0.6504, allocations: 418.9 kB / 427.6 MB, free: 77.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.6515, allocations: 0.5642 MB / 428.1 MB, free: 77.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.6525, allocations: 482.5 kB / 428.6 MB, free: 77.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6526, allocations: 1.438 kB / 428.6 MB, free: 77.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002686/0.6553, allocations: 1.184 MB / 429.8 MB, free: 77.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.166e-05/0.6553, allocations: 34.83 kB / 429.8 MB, free: 77.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.6554, allocations: 5.438 kB / 429.8 MB, free: 77.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.57e-05/0.6554, allocations: 12.78 kB / 429.9 MB, free: 77.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.6569, allocations: 335.6 kB / 430.2 MB, free: 77.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.6569, allocations: 12.75 kB / 430.2 MB, free: 77.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.658, allocations: 119.4 kB / 430.3 MB, free: 77.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.598e-05/0.6581, allocations: 38.3 kB / 430.3 MB, free: 77.06 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 () * 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.0005926/0.6587, allocations: 293 kB / 430.6 MB, free: 76.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.6588, allocations: 92.12 kB / 430.7 MB, free: 76.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.6599, allocations: 480.7 kB / 431.2 MB, free: 76.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/0.6599, allocations: 10.25 kB / 431.2 MB, free: 76.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/0.6599, allocations: 0 / 431.2 MB, free: 76.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.66, allocations: 11.03 kB / 431.2 MB, free: 76.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00431/0.6643, allocations: 2.937 MB / 434.2 MB, free: 75.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.6643, allocations: 11.88 kB / 434.2 MB, free: 75.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008743/0.6652, allocations: 257.8 kB / 434.4 MB, free: 75.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.718e-05/0.6652, allocations: 18.56 kB / 434.4 MB, free: 75.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/0.6653, allocations: 30.16 kB / 434.5 MB, free: 75.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-05/0.6653, allocations: 18.19 kB / 434.5 MB, free: 75.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/0.6653, allocations: 18.47 kB / 434.5 MB, free: 75.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.6672, allocations: 1.744 MB / 436.2 MB, free: 73.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/0.6675, allocations: 207 kB / 436.4 MB, free: 73.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.6676, allocations: 35.28 kB / 436.5 MB, free: 73.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006931/0.6683, allocations: 79.36 kB / 436.6 MB, free: 73.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.6685, allocations: 85.03 kB / 436.6 MB, free: 73.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/0.6685, allocations: 36.36 kB / 436.7 MB, free: 73.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007739/0.6693, allocations: 0.6282 MB / 437.3 MB, free: 73.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6693, allocations: 0 / 437.3 MB, free: 73.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009192/0.6702, allocations: 236.4 kB / 437.5 MB, free: 72.99 MB / 314.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.0006315/0.6709, allocations: 260 kB / 437.8 MB, free: 72.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001846/0.6727, allocations: 0.9516 MB / 438.7 MB, free: 72.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6728, allocations: 0 / 438.7 MB, free: 72.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00081/0.6736, allocations: 469 kB / 439.2 MB, free: 72.33 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009909/0.6746, allocations: 177.1 kB / 439.4 MB, free: 72.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.6781, allocations: 2.433 MB / 441.8 MB, free: 70.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.6786, allocations: 1.044 MB / 442.8 MB, free: 69.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007414/0.6794, allocations: 126.4 kB / 443 MB, free: 69.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.6796, allocations: 72.84 kB / 443 MB, free: 69.92 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6796, allocations: 4 kB / 443 MB, free: 69.92 MB / 314.7 MB Notification: Performance of Templates: time 0.01819/0.6978, allocations: 10.2 MB / 453.2 MB, free: 66.41 MB / 314.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)