Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_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.2+maint.om/package.mo): time 0.001696/0.001696, allocations: 190.2 kB / 8.132 MB, free: 2.199 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.103/1.103, allocations: 194.2 MB / 202.8 MB, free: 8.668 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.001836/0.001836, allocations: 118.1 kB / 247.7 MB, free: 6.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.24e-06/5.26e-06, allocations: 0 / 297.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07072/0.07074, allocations: 44.5 MB / 342.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1904/0.2612, allocations: 81.26 MB / 423.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.2614, allocations: 86.12 kB / 423.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03633/0.2977, allocations: 14.77 MB / 438.2 MB, free: 1.676 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.135e-05/0.2978, allocations: 16 kB / 438.2 MB, free: 1.66 MB / 314.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.001674/0.2995, allocations: 1.004 MB / 439.2 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.2995, allocations: 12.03 kB / 439.2 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.2997, allocations: 94.88 kB / 439.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007848/0.3005, allocations: 0.5287 MB / 439.8 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.3006, allocations: 34.81 kB / 439.9 MB, free: 40 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.387e-05/0.3007, allocations: 32 kB / 439.9 MB, free: 8 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009444/0.3017, allocations: 475.8 kB / 440.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009985/0.3027, allocations: 0.5281 MB / 440.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.3027, allocations: 0 / 440.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.347e-05/0.3028, allocations: 0 / 440.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.3028, allocations: 16 kB / 440.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004271/0.3071, allocations: 2.551 MB / 443.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.3076, allocations: 313.3 kB / 443.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/0.3082, allocations: 258.1 kB / 444 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.635e-05/0.3082, allocations: 16.44 kB / 444 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.3083, allocations: 38.94 kB / 444.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 2.074e-06/0.3083, allocations: 0 / 444.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=66): time 0.002253/0.3105, allocations: 0.9498 MB / 445 MB, free: 12.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.3106, allocations: 60 kB / 445.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.3116, allocations: 0.7473 MB / 445.8 MB, free: 11.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.3117, allocations: 25.7 kB / 445.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.3119, allocations: 302.6 kB / 446.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.312, allocations: 219.7 kB / 446.4 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.3121, allocations: 0 / 446.4 MB, free: 11.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3122, allocations: 384.6 kB / 446.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/0.3126, allocations: 194.4 kB / 446.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/0.313, allocations: 289.5 kB / 447.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.3134, allocations: 226.6 kB / 447.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3134, allocations: 0 / 447.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001055/0.3145, allocations: 0.609 MB / 448 MB, free: 9.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3145, allocations: 9.094 kB / 448.1 MB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3145, allocations: 0 / 448.1 MB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.3146, allocations: 8 kB / 448.1 MB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009925/0.3156, allocations: 207.6 kB / 448.3 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3156, allocations: 4 kB / 448.3 MB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006911/0.3163, allocations: 60.7 kB / 448.3 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/0.3163, allocations: 24.48 kB / 448.4 MB, free: 9.457 MB / 330.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.000133/0.3165, allocations: 124.5 kB / 448.5 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.3166, allocations: 75.06 kB / 448.5 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009835/0.3176, allocations: 0.5274 MB / 449.1 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.3177, allocations: 11.91 kB / 449.1 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3177, allocations: 0 / 449.1 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.3177, allocations: 3.984 kB / 449.1 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/0.3204, allocations: 1.74 MB / 450.8 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.3204, allocations: 7.984 kB / 450.8 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007456/0.3211, allocations: 158 kB / 451 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.3212, allocations: 8 kB / 451 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.3212, allocations: 8 kB / 451 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.3212, allocations: 7.984 kB / 451 MB, free: 7.277 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.3212, allocations: 5.406 kB / 451 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009409/0.3222, allocations: 0.7756 MB / 451.8 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/0.3225, allocations: 236.3 kB / 452 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.3226, allocations: 8 kB / 452 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005886/0.3232, allocations: 51.86 kB / 452.1 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.3233, allocations: 46.94 kB / 452.1 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.3234, allocations: 15.62 kB / 452.1 MB, free: 6.215 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0006693/0.3241, allocations: 0.5892 MB / 452.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005844/0.3247, allocations: 151.7 kB / 452.9 MB, free: 5.652 MB / 330.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.000481/0.3251, allocations: 219 kB / 453.1 MB, free: 5.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008348/0.326, allocations: 0.5132 MB / 453.6 MB, free: 5.129 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.326, allocations: 4 kB / 453.6 MB, free: 5.125 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.3264, allocations: 264.6 kB / 453.9 MB, free: 4.953 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/0.327, allocations: 93.8 kB / 454 MB, free: 4.887 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.3294, allocations: 1.19 MB / 455.2 MB, free: 3.797 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000885/0.3303, allocations: 1.057 MB / 456.2 MB, free: 2.723 MB / 330.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3303, allocations: 0 / 456.2 MB, free: 2.723 MB / 330.7 MB Notification: Performance of Templates: time 0.01548/0.3458, allocations: 8.017 MB / 464.2 MB, free: 10.71 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1)