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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001059/0.001059, allocations: 194.3 kB / 8.137 MB, free: 2.191 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.112/1.112, allocations: 194.2 MB / 202.8 MB, free: 8.641 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.001852/0.001851, allocations: 121.8 kB / 247.7 MB, free: 6.395 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.081e-06/6.122e-06, allocations: 0 / 297.6 MB, free: 8.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08038/0.0804, allocations: 44.49 MB / 342.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2114/0.2919, allocations: 83.3 MB / 425.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.2922, allocations: 80.52 kB / 425.4 MB, free: 11.86 MB / 314.7 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: time 0.05435/0.3466, allocations: 20.94 MB / 446.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.416e-05/0.3466, allocations: 24 kB / 446.4 MB, free: 10.79 MB / 330.7 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.002594/0.3493, allocations: 1.281 MB / 447.7 MB, free: 9.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3493, allocations: 9.625 kB / 447.7 MB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/0.3496, allocations: 130.5 kB / 447.8 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.3506, allocations: 0.6419 MB / 448.5 MB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.3508, allocations: 50 kB / 448.5 MB, free: 8.809 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.3509, allocations: 55.19 kB / 448.6 MB, free: 8.758 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001358/0.3523, allocations: 0.7257 MB / 449.3 MB, free: 8.324 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.3537, allocations: 0.8011 MB / 450.1 MB, free: 7.762 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.3537, allocations: 0 / 450.1 MB, free: 7.762 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.623e-05/0.3538, allocations: 0 / 450.1 MB, free: 7.762 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.3539, allocations: 24 kB / 450.1 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005654/0.3595, allocations: 3.705 MB / 453.8 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.3609, allocations: 0.5656 MB / 454.4 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005699/0.3614, allocations: 348.3 kB / 454.7 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.249e-05/0.3615, allocations: 13.48 kB / 454.7 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.3615, allocations: 37.75 kB / 454.8 MB, free: 4.184 MB / 330.7 MB Notification: Performance of pre-optimization done (n=68): time 2.274e-06/0.3616, allocations: 0 / 454.8 MB, free: 4.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=86): time 0.002908/0.3645, allocations: 1.397 MB / 456.2 MB, free: 3.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.3645, allocations: 89.55 kB / 456.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00091/0.3655, allocations: 0.6902 MB / 457 MB, free: 2.457 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/0.3655, allocations: 25.7 kB / 457 MB, free: 2.426 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.3657, allocations: 411.8 kB / 457.4 MB, free: 2.066 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.366, allocations: 281.3 kB / 457.7 MB, free: 1.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.366, allocations: 0 / 457.7 MB, free: 1.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3662, allocations: 396 kB / 458 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005983/0.3668, allocations: 284.7 kB / 458.3 MB, free: 1.312 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006046/0.3674, allocations: 436 kB / 458.7 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005856/0.368, allocations: 314.7 kB / 459.1 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.368, allocations: 0 / 459.1 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001534/0.3696, allocations: 0.8512 MB / 459.9 MB, free: 188 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3696, allocations: 8.031 kB / 459.9 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3696, allocations: 8 kB / 459.9 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.3697, allocations: 8 kB / 459.9 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.3714, allocations: 369.5 kB / 460.3 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.3714, allocations: 15.98 kB / 460.3 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.3724, allocations: 103.9 kB / 460.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/0.3725, allocations: 43.86 kB / 460.4 MB, free: 15.66 MB / 346.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.0001637/0.3727, allocations: 130 kB / 460.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.3729, allocations: 94.84 kB / 460.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006999/0.3736, allocations: 329.6 kB / 461 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.3736, allocations: 11.91 kB / 461 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.3736, allocations: 0 / 461 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.3737, allocations: 11.98 kB / 461 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004327/0.378, allocations: 2.671 MB / 463.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.378, allocations: 8 kB / 463.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.3793, allocations: 291.8 kB / 464 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-05/0.3793, allocations: 19.94 kB / 464 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/0.3794, allocations: 12 kB / 464 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.35e-05/0.3794, allocations: 23.92 kB / 464 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.458e-05/0.3794, allocations: 15.94 kB / 464 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001515/0.3809, allocations: 1.615 MB / 465.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.3812, allocations: 192 kB / 465.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.3813, allocations: 15.98 kB / 465.9 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008809/0.3822, allocations: 79.94 kB / 465.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.3824, allocations: 87.61 kB / 466 MB, free: 9.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.057e-05/0.3824, allocations: 39.98 kB / 466.1 MB, free: 9.895 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0006534/0.3831, allocations: 0.5148 MB / 466.6 MB, free: 9.387 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008653/0.384, allocations: 196 kB / 466.8 MB, free: 9.195 MB / 346.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.0004866/0.3845, allocations: 230.9 kB / 467 MB, free: 9.004 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.3857, allocations: 0.7043 MB / 467.7 MB, free: 8.289 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.3857, allocations: 1 kB / 467.7 MB, free: 8.289 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000635/0.3864, allocations: 387.7 kB / 468.1 MB, free: 7.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009555/0.3873, allocations: 153.6 kB / 468.2 MB, free: 7.762 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.3904, allocations: 1.539 MB / 469.8 MB, free: 6.051 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009894/0.3914, allocations: 1.141 MB / 470.9 MB, free: 4.887 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3914, allocations: 0 / 470.9 MB, free: 4.887 MB / 346.7 MB Notification: Performance of Templates: time 0.01987/0.4113, allocations: 10.63 MB / 481.5 MB, free: 10.25 MB / 362.7 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)