Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.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/Modelica 3.1.0+maint.om/package.mo): time 0.8318/0.8318, allocations: 110.8 MB / 118 MB, free: 14.67 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001683/0.001682, allocations: 152 kB / 143.7 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 7.334e-06/7.363e-06, allocations: 4 kB / 173.5 MB, free: 23.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04264/0.04266, allocations: 25.17 MB / 198.6 MB, free: 13.96 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.1765, allocations: 40.83 MB / 239.5 MB, free: 4.305 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.1768, allocations: 68 kB / 239.5 MB, free: 4.305 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.03737/0.2142, allocations: 13.75 MB / 253.3 MB, free: 15.71 MB / 186.7 MB Notification: Performance of Transformations before backend: time 7.09e-05/0.2143, allocations: 14.56 kB / 253.3 MB, free: 15.71 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002624/0.2169, allocations: 0.9628 MB / 254.3 MB, free: 15.02 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.217, allocations: 12.19 kB / 254.3 MB, free: 15.02 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003999/0.2174, allocations: 92.25 kB / 254.4 MB, free: 14.97 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.2187, allocations: 0.5099 MB / 254.9 MB, free: 14.64 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.2188, allocations: 30.03 kB / 254.9 MB, free: 14.64 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.219, allocations: 44.45 kB / 254.9 MB, free: 14.62 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00142/0.2204, allocations: 0.5771 MB / 255.5 MB, free: 14.57 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.2219, allocations: 0.6403 MB / 256.2 MB, free: 14.4 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.2219, allocations: 1.438 kB / 256.2 MB, free: 14.4 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/0.222, allocations: 3.984 kB / 256.2 MB, free: 14.39 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.222, allocations: 15.31 kB / 256.2 MB, free: 14.39 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00565/0.2277, allocations: 2.628 MB / 258.8 MB, free: 12.98 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007167/0.2284, allocations: 404.5 kB / 259.2 MB, free: 12.94 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007151/0.2291, allocations: 371.5 kB / 259.6 MB, free: 12.89 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-05/0.2292, allocations: 8.859 kB / 259.6 MB, free: 12.89 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.2293, allocations: 41.19 kB / 259.6 MB, free: 12.84 MB / 186.7 MB Notification: Performance of pre-optimization done (n=49): time 3.737e-06/0.2293, allocations: 7.938 kB / 259.6 MB, free: 12.84 MB / 186.7 MB Notification: Performance of matching and sorting (n=65): time 0.003118/0.2324, allocations: 1.284 MB / 260.9 MB, free: 11.96 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.2325, allocations: 60.06 kB / 261 MB, free: 11.88 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008096/0.2333, allocations: 0.5632 MB / 261.5 MB, free: 11.44 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.2333, allocations: 29.69 kB / 261.6 MB, free: 11.41 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.2336, allocations: 296.8 kB / 261.8 MB, free: 11.15 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.2337, allocations: 210.6 kB / 262 MB, free: 10.96 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.2338, allocations: 0 / 262 MB, free: 10.96 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.234, allocations: 384.7 kB / 262.4 MB, free: 10.61 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.2344, allocations: 303.3 kB / 262.7 MB, free: 10.41 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005649/0.235, allocations: 399.1 kB / 263.1 MB, free: 10.11 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006196/0.2356, allocations: 341.2 kB / 263.4 MB, free: 9.879 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2357, allocations: 0 / 263.4 MB, free: 9.879 MB / 186.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001422/0.2371, allocations: 0.8251 MB / 264.3 MB, free: 9.242 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.2371, allocations: 4 kB / 264.3 MB, free: 9.238 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.2371, allocations: 4 kB / 264.3 MB, free: 9.234 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.2372, allocations: 4 kB / 264.3 MB, free: 9.23 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.2382, allocations: 207.5 kB / 264.5 MB, free: 9.031 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.922e-05/0.2382, allocations: 8 kB / 264.5 MB, free: 9.023 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008347/0.2391, allocations: 55.86 kB / 264.5 MB, free: 8.969 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.2392, allocations: 39.67 kB / 264.6 MB, free: 8.938 MB / 186.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: 3 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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 prepare postOptimizeDAE: time 0.0002441/0.2395, allocations: 116.8 kB / 264.7 MB, free: 8.816 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/0.2397, allocations: 75.06 kB / 264.8 MB, free: 8.742 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.2413, allocations: 0.7457 MB / 265.5 MB, free: 8.176 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.2413, allocations: 12 kB / 265.5 MB, free: 8.164 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.2414, allocations: 0 / 265.5 MB, free: 8.164 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.2414, allocations: 3.984 kB / 265.5 MB, free: 8.16 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/0.2451, allocations: 1.943 MB / 267.5 MB, free: 6.297 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.2452, allocations: 4 kB / 267.5 MB, free: 6.293 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007118/0.2459, allocations: 155.9 kB / 267.6 MB, free: 6.141 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.942e-05/0.2459, allocations: 8 kB / 267.6 MB, free: 6.133 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.01e-05/0.246, allocations: 7.906 kB / 267.6 MB, free: 6.121 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.894e-06/0.246, allocations: 8 kB / 267.7 MB, free: 6.113 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.246, allocations: 4 kB / 267.7 MB, free: 6.109 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00138/0.2474, allocations: 1.001 MB / 268.7 MB, free: 4.988 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004495/0.2479, allocations: 236.2 kB / 268.9 MB, free: 4.738 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/0.248, allocations: 7.906 kB / 268.9 MB, free: 4.73 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006453/0.2487, allocations: 47.95 kB / 268.9 MB, free: 4.684 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.2488, allocations: 48.27 kB / 269 MB, free: 4.637 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-05/0.2489, allocations: 35.92 kB / 269 MB, free: 4.602 MB / 186.7 MB Notification: Performance of sort global known variables: time 0.0006733/0.2496, allocations: 447.1 kB / 269.5 MB, free: 4.168 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.000794/0.2504, allocations: 132 kB / 269.6 MB, free: 4.039 MB / 186.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: 3 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004417/0.2509, allocations: 163.5 kB / 269.8 MB, free: 3.883 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.252, allocations: 0.6031 MB / 270.4 MB, free: 3.277 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.252, allocations: 4.5 kB / 270.4 MB, free: 3.273 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.2526, allocations: 329.4 kB / 270.7 MB, free: 2.953 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000984/0.2536, allocations: 100.8 kB / 270.8 MB, free: 2.859 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.2565, allocations: 1.092 MB / 271.9 MB, free: 1.707 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000935/0.2575, allocations: 1.047 MB / 272.9 MB, free: 0.6406 MB / 186.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2575, allocations: 0 / 272.9 MB, free: 0.6406 MB / 186.7 MB Notification: Performance of Templates: time 0.01604/0.2735, allocations: 7.511 MB / 280.4 MB, free: 9.156 MB / 202.7 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1)