Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [: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.1+maint.om/package.mo): time 0.003585/0.003585, allocations: 182.8 kB / 7.455 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.306/1.306, allocations: 170.6 MB / 178.4 MB, free: 15.36 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.001669/0.001669, allocations: 111.9 kB / 217.7 MB, free: 8.129 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.921e-06/5.952e-06, allocations: 0 / 261.7 MB, free: 26.62 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06798/0.06801, allocations: 38.76 MB / 300.5 MB, free: 3.852 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2448/0.3128, allocations: 77.05 MB / 377.6 MB, free: 7.406 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.3131, allocations: 76.7 kB / 377.6 MB, free: 7.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.09712/0.4102, allocations: 35.31 MB / 412.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.706e-05/0.4103, allocations: 24 kB / 413 MB, free: 10.36 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.002388/0.4127, allocations: 1.158 MB / 414.1 MB, free: 9.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.4128, allocations: 12.03 kB / 414.1 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.413, allocations: 118.6 kB / 414.3 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009955/0.414, allocations: 0.6096 MB / 414.9 MB, free: 8.371 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.4142, allocations: 42 kB / 414.9 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.4143, allocations: 63.91 kB / 415 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001507/0.4158, allocations: 0.7263 MB / 415.7 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.4173, allocations: 0.798 MB / 416.5 MB, free: 6.734 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.4174, allocations: 4 kB / 416.5 MB, free: 6.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-05/0.4175, allocations: 3.984 kB / 416.5 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.89e-05/0.4175, allocations: 24 kB / 416.5 MB, free: 6.703 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005872/0.4234, allocations: 3.396 MB / 419.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008135/0.4242, allocations: 494.5 kB / 420.4 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007209/0.425, allocations: 431.6 kB / 420.8 MB, free: 2.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.218e-05/0.425, allocations: 12.48 kB / 420.8 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.4251, allocations: 47.69 kB / 420.9 MB, free: 2.164 MB / 298.7 MB Notification: Performance of pre-optimization done (n=95): time 3.397e-06/0.4251, allocations: 0 / 420.9 MB, free: 2.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=131): time 0.007536/0.4326, allocations: 3.639 MB / 424.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.4327, allocations: 94.14 kB / 424.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006599/0.4334, allocations: 466.1 kB / 425.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.837e-05/0.4335, allocations: 33.64 kB / 425.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.4337, allocations: 340.3 kB / 425.4 MB, free: 13.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003575/0.4341, allocations: 429.5 kB / 425.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.4341, allocations: 0 / 425.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.4344, allocations: 398.7 kB / 426.2 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006302/0.435, allocations: 346.6 kB / 426.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007405/0.4358, allocations: 482 kB / 427 MB, free: 11.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007548/0.4365, allocations: 401.2 kB / 427.4 MB, free: 11.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.4365, allocations: 0 / 427.4 MB, free: 11.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002142/0.4387, allocations: 1.107 MB / 428.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.4387, allocations: 11.91 kB / 428.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.4387, allocations: 320 / 428.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004683/0.4392, allocations: 150.5 kB / 428.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.4406, allocations: 299.6 kB / 429 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004232/0.4449, allocations: 4.525 MB / 433.5 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.446, allocations: 68 kB / 433.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.39e-05/0.4461, allocations: 43.98 kB / 433.6 MB, free: 4.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 139 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 5,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002622/0.4464, allocations: 124.9 kB / 433.8 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.4466, allocations: 90.88 kB / 433.8 MB, free: 4.551 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.4481, allocations: 0.7045 MB / 434.5 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.4481, allocations: 15.94 kB / 434.6 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.4481, allocations: 4 kB / 434.6 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/0.4481, allocations: 7.969 kB / 434.6 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00449/0.4526, allocations: 2.735 MB / 437.3 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.4526, allocations: 4.312 kB / 437.3 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.4538, allocations: 267.7 kB / 437.6 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004077/0.4543, allocations: 126.5 kB / 437.7 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.223e-05/0.4543, allocations: 19.89 kB / 437.7 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003466/0.4578, allocations: 4.158 MB / 441.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.4579, allocations: 4 kB / 441.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002956/0.4608, allocations: 1.857 MB / 443.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/0.4612, allocations: 168 kB / 443.9 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.4613, allocations: 4 kB / 443.9 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008197/0.4622, allocations: 71.94 kB / 444 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.4623, allocations: 72.48 kB / 444 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.431e-05/0.4624, allocations: 39.98 kB / 444.1 MB, free: 9.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0005614/0.463, allocations: 355 kB / 444.4 MB, free: 9.336 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001237/0.4642, allocations: 220 kB / 444.6 MB, free: 9.121 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.g_ma.Phi,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003083/0.4646, allocations: 136.2 kB / 444.8 MB, free: 8.977 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002238/0.4668, allocations: 1.265 MB / 446 MB, free: 7.684 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4668, allocations: 7.938 kB / 446.1 MB, free: 7.676 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.468, allocations: 0.8481 MB / 446.9 MB, free: 6.797 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009962/0.469, allocations: 127.5 kB / 447 MB, free: 6.668 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.4731, allocations: 1.748 MB / 448.8 MB, free: 4.855 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/0.4742, allocations: 1.154 MB / 449.9 MB, free: 3.676 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4743, allocations: 0 / 449.9 MB, free: 3.676 MB / 330.7 MB Notification: Performance of Templates: time 0.02403/0.4983, allocations: 12.8 MB / 462.7 MB, free: 6.855 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)