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.0009331/0.0009332, allocations: 183.1 kB / 8.351 MB, free: 0.7031 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.441/1.441, allocations: 194.3 MB / 203.1 MB, free: 9.266 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00179/0.00179, allocations: 117.3 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.212e-05/1.214e-05, allocations: 0 / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/0.08688, allocations: 44.51 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.297/0.3839, allocations: 83.36 MB / 425.9 MB, free: 12.54 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.3842, allocations: 90.16 kB / 426 MB, free: 12.5 MB / 315.1 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.05012/0.4343, allocations: 21.16 MB / 447.2 MB, free: 11.25 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4344, allocations: 1.781 kB / 447.2 MB, free: 11.25 MB / 331.1 MB Notification: Performance of Transformations before backend: time 7.913e-05/0.4344, allocations: 24 kB / 447.2 MB, free: 11.23 MB / 331.1 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.00295/0.4374, allocations: 1.249 MB / 448.5 MB, free: 10 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.4374, allocations: 8.031 kB / 448.5 MB, free: 9.992 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003811/0.4378, allocations: 126.5 kB / 448.6 MB, free: 9.867 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.4391, allocations: 0.6461 MB / 449.2 MB, free: 9.328 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.4392, allocations: 49.98 kB / 449.3 MB, free: 9.281 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.4394, allocations: 52 kB / 449.3 MB, free: 9.23 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001429/0.4409, allocations: 0.7204 MB / 450.1 MB, free: 8.805 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.4424, allocations: 0.8008 MB / 450.9 MB, free: 8.238 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.4424, allocations: 7.938 kB / 450.9 MB, free: 8.23 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.171e-05/0.4425, allocations: 0 / 450.9 MB, free: 8.23 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.4425, allocations: 24 kB / 450.9 MB, free: 8.207 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005604/0.4481, allocations: 3.686 MB / 454.6 MB, free: 5.371 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.45, allocations: 0.8044 MB / 455.4 MB, free: 4.766 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/0.4505, allocations: 357 kB / 455.7 MB, free: 4.547 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-05/0.4506, allocations: 16.5 kB / 455.8 MB, free: 4.531 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.4506, allocations: 38.62 kB / 455.8 MB, free: 4.488 MB / 331.1 MB Notification: Performance of pre-optimization done (n=68): time 2.755e-06/0.4506, allocations: 0 / 455.8 MB, free: 4.488 MB / 331.1 MB Notification: Performance of matching and sorting (n=86): time 0.002892/0.4535, allocations: 1.398 MB / 457.2 MB, free: 3.375 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.4536, allocations: 85.55 kB / 457.3 MB, free: 3.273 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009406/0.4545, allocations: 0.687 MB / 458 MB, free: 2.77 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.4546, allocations: 25.7 kB / 458 MB, free: 2.738 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/0.4549, allocations: 0.5123 MB / 458.5 MB, free: 2.363 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.4552, allocations: 273.1 kB / 458.8 MB, free: 2.125 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.4552, allocations: 0 / 458.8 MB, free: 2.125 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4554, allocations: 399.4 kB / 459.2 MB, free: 1.762 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004637/0.4559, allocations: 292 kB / 459.4 MB, free: 1.605 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005557/0.4564, allocations: 436.5 kB / 459.9 MB, free: 1.27 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.457, allocations: 326 kB / 460.2 MB, free: 1.078 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.457, allocations: 0 / 460.2 MB, free: 1.078 MB / 331.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001326/0.4583, allocations: 0.8366 MB / 461 MB, free: 488 kB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/0.4584, allocations: 33.7 kB / 461.1 MB, free: 448 kB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4584, allocations: 7.938 kB / 461.1 MB, free: 440 kB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.4584, allocations: 11.98 kB / 461.1 MB, free: 428 kB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.4599, allocations: 350.4 kB / 461.4 MB, free: 88 kB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/0.4599, allocations: 11.95 kB / 461.4 MB, free: 76 kB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009415/0.4609, allocations: 96.53 kB / 461.5 MB, free: 15.98 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-05/0.461, allocations: 35.23 kB / 461.6 MB, free: 15.95 MB / 347.1 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.0001755/0.4611, allocations: 136.2 kB / 461.7 MB, free: 15.82 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.4613, allocations: 94.95 kB / 461.8 MB, free: 15.72 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006085/0.4619, allocations: 325 kB / 462.1 MB, free: 15.5 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.462, allocations: 8 kB / 462.1 MB, free: 15.49 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.462, allocations: 0 / 462.1 MB, free: 15.49 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.462, allocations: 7.938 kB / 462.1 MB, free: 15.48 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00407/0.4661, allocations: 2.67 MB / 464.8 MB, free: 12.73 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.4661, allocations: 8 kB / 464.8 MB, free: 12.72 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.4671, allocations: 276.3 kB / 465.1 MB, free: 12.45 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.901e-05/0.4672, allocations: 16 kB / 465.1 MB, free: 12.44 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/0.4672, allocations: 15.95 kB / 465.1 MB, free: 12.42 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.478e-05/0.4673, allocations: 27.92 kB / 465.1 MB, free: 12.39 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/0.4673, allocations: 15.94 kB / 465.1 MB, free: 12.38 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.4688, allocations: 1.625 MB / 466.8 MB, free: 10.31 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/0.4691, allocations: 192 kB / 466.9 MB, free: 10.1 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.4693, allocations: 15.98 kB / 467 MB, free: 10.09 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007265/0.47, allocations: 71.89 kB / 467 MB, free: 10.02 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.4701, allocations: 91.69 kB / 467.1 MB, free: 9.926 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/0.4702, allocations: 36 kB / 467.2 MB, free: 9.891 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0006839/0.4709, allocations: 0.5226 MB / 467.7 MB, free: 9.375 MB / 347.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4709, allocations: 0 / 467.7 MB, free: 9.375 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0008666/0.4718, allocations: 192 kB / 467.9 MB, free: 9.188 MB / 347.1 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.0005745/0.4724, allocations: 254.7 kB / 468.1 MB, free: 8.973 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.4735, allocations: 0.7174 MB / 468.8 MB, free: 8.246 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4735, allocations: 0 / 468.8 MB, free: 8.246 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005879/0.4741, allocations: 379.1 kB / 469.2 MB, free: 7.879 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009218/0.475, allocations: 163.3 kB / 469.4 MB, free: 7.715 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.4778, allocations: 1.497 MB / 470.9 MB, free: 6.047 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.4785, allocations: 1.049 MB / 471.9 MB, free: 4.973 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.0006262/0.4792, allocations: 126.6 kB / 472 MB, free: 4.844 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.4794, allocations: 75.41 kB / 472.1 MB, free: 4.77 MB / 347.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4794, allocations: 0 / 472.1 MB, free: 4.77 MB / 347.1 MB Notification: Performance of Templates: time 0.01709/0.4965, allocations: 9.092 MB / 481.2 MB, free: 11.68 MB / 363.1 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)