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") [: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.004531/0.004531, allocations: 174.8 kB / 7.45 MB, free: 2.508 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.372/1.372, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001897/0.001897, allocations: 107.9 kB / 217.7 MB, free: 8.234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.641e-06/5.671e-06, allocations: 0 / 261.8 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08533/0.08535, allocations: 38.76 MB / 300.5 MB, free: 3.902 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2679/0.3533, allocations: 76.4 MB / 376.9 MB, free: 8.207 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.3536, allocations: 79.39 kB / 377 MB, free: 8.168 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.04096/0.3946, allocations: 14.75 MB / 391.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.06e-05/0.3947, allocations: 20 kB / 391.8 MB, free: 11.9 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.001783/0.3965, allocations: 1.009 MB / 392.8 MB, free: 10.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3965, allocations: 12.03 kB / 392.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.3967, allocations: 94.78 kB / 392.9 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000813/0.3975, allocations: 0.528 MB / 393.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.3977, allocations: 29.31 kB / 393.4 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.514e-05/0.3977, allocations: 36 kB / 393.5 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008435/0.3986, allocations: 477.9 kB / 393.9 MB, free: 9.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008817/0.3995, allocations: 0.519 MB / 394.5 MB, free: 9.586 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.3995, allocations: 7.922 kB / 394.5 MB, free: 9.578 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-05/0.3996, allocations: 8 kB / 394.5 MB, free: 9.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.3996, allocations: 12 kB / 394.5 MB, free: 9.559 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003766/0.4034, allocations: 2.538 MB / 397 MB, free: 7.539 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.4039, allocations: 313.5 kB / 397.3 MB, free: 7.344 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005518/0.4044, allocations: 271 kB / 397.6 MB, free: 7.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/0.4045, allocations: 8.422 kB / 397.6 MB, free: 7.152 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.4045, allocations: 46.78 kB / 397.6 MB, free: 7.102 MB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 2.565e-06/0.4045, allocations: 0 / 397.6 MB, free: 7.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=66): time 0.002254/0.4068, allocations: 0.951 MB / 398.6 MB, free: 6.352 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.4069, allocations: 60.06 kB / 398.7 MB, free: 6.281 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009871/0.4078, allocations: 0.7426 MB / 399.4 MB, free: 5.727 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.4079, allocations: 29.64 kB / 399.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.4081, allocations: 299.8 kB / 399.7 MB, free: 5.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.4082, allocations: 214.6 kB / 399.9 MB, free: 5.242 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.4083, allocations: 0 / 399.9 MB, free: 5.242 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4085, allocations: 392.1 kB / 400.3 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.4088, allocations: 195.8 kB / 400.5 MB, free: 4.777 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.4092, allocations: 286.1 kB / 400.8 MB, free: 4.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.4096, allocations: 227.8 kB / 401 MB, free: 4.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4096, allocations: 0 / 401 MB, free: 4.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009711/0.4106, allocations: 0.6138 MB / 401.6 MB, free: 3.973 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.4106, allocations: 11.94 kB / 401.6 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4106, allocations: 0 / 401.6 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.4106, allocations: 8 kB / 401.6 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009287/0.4116, allocations: 202.2 kB / 401.8 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.4116, allocations: 7.938 kB / 401.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006215/0.4122, allocations: 55.95 kB / 401.9 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-05/0.4123, allocations: 29.8 kB / 401.9 MB, free: 3.676 MB / 282.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.0001383/0.4124, allocations: 116.7 kB / 402 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.4126, allocations: 75.06 kB / 402.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009312/0.4135, allocations: 0.5231 MB / 402.6 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.4135, allocations: 11.94 kB / 402.6 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4135, allocations: 4 kB / 402.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/0.4135, allocations: 3.984 kB / 402.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/0.4161, allocations: 1.73 MB / 404.4 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4161, allocations: 4 kB / 404.4 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006746/0.4168, allocations: 154.9 kB / 404.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-05/0.4168, allocations: 11.91 kB / 404.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.4169, allocations: 7.062 kB / 404.6 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.4169, allocations: 19.92 kB / 404.6 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4169, allocations: 4 kB / 404.6 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008946/0.4178, allocations: 0.7758 MB / 405.4 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/0.4181, allocations: 237.9 kB / 405.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.4183, allocations: 4 kB / 405.6 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005289/0.4188, allocations: 55.95 kB / 405.6 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.4189, allocations: 42.53 kB / 405.7 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.4189, allocations: 19.19 kB / 405.7 MB, free: 456 kB / 282.7 MB Notification: Performance of sort global known variables: time 0.0006849/0.4196, allocations: 0.5886 MB / 406.3 MB, free: 32 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006338/0.4203, allocations: 144 kB / 406.4 MB, free: 15.89 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.0004775/0.4208, allocations: 194.3 kB / 406.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008335/0.4216, allocations: 0.5169 MB / 407.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4216, allocations: 0 / 407.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.422, allocations: 265.8 kB / 407.4 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.4226, allocations: 95.45 kB / 407.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.4252, allocations: 1.192 MB / 408.7 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/0.4264, allocations: 1.051 MB / 409.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of SimCode: time 1.664e-06/0.4264, allocations: 0 / 409.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of Templates: time 0.01892/0.4453, allocations: 8.011 MB / 417.8 MB, free: 4.895 MB / 298.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)