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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 222.1 MB, free: 5.496 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004774, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2597, allocations: 47.58 MB / 326.4 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004201/0.2639, allocations: 3.672 MB / 330.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.2665, allocations: 1.67 MB / 331.8 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.2668, allocations: 8.75 kB / 331.8 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006381/0.2674, allocations: 374.8 kB / 332.2 MB, free: 13.06 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007299/0.2682, allocations: 427.2 kB / 332.6 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.2686, allocations: 204.8 kB / 332.8 MB, free: 12.6 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000778/0.2694, allocations: 0.6284 MB / 333.4 MB, free: 12.2 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003566/0.2698, allocations: 225.8 kB / 333.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003851/0.2702, allocations: 326 kB / 333.9 MB, free: 11.9 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005079/0.2707, allocations: 413.2 kB / 334.3 MB, free: 11.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.33e-05/0.2708, allocations: 36 kB / 334.4 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.271, allocations: 59.92 kB / 334.4 MB, free: 11.49 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.2711, allocations: 163.4 kB / 334.6 MB, free: 11.33 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.2713, allocations: 185.2 kB / 334.8 MB, free: 11.14 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008277/0.2721, allocations: 0.9947 MB / 335.8 MB, free: 10.15 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2722, allocations: 0 / 335.8 MB, free: 10.15 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2722, allocations: 0 / 335.8 MB, free: 10.15 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.2722, allocations: 0 / 335.8 MB, free: 10.15 MB / 270.1 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.001872/0.2741, allocations: 1.086 MB / 336.9 MB, free: 9.012 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2741, allocations: 8.031 kB / 336.9 MB, free: 9.004 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.2742, allocations: 102.8 kB / 337 MB, free: 8.902 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007474/0.275, allocations: 0.5154 MB / 337.5 MB, free: 8.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-05/0.2751, allocations: 53.3 kB / 337.5 MB, free: 8.289 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-05/0.2752, allocations: 63.98 kB / 337.6 MB, free: 8.227 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.2764, allocations: 0.6596 MB / 338.3 MB, free: 7.551 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.2764, allocations: 0 / 338.3 MB, free: 7.551 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-05/0.2765, allocations: 24 kB / 338.3 MB, free: 7.527 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.2765, allocations: 16 kB / 338.3 MB, free: 7.512 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.2778, allocations: 0.5906 MB / 338.9 MB, free: 6.922 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003574/0.2814, allocations: 2.568 MB / 341.5 MB, free: 4.215 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009366/0.2823, allocations: 493.7 kB / 341.9 MB, free: 3.723 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.2824, allocations: 4.438 kB / 341.9 MB, free: 3.719 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.2824, allocations: 43 kB / 342 MB, free: 3.668 MB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 2.856e-06/0.2824, allocations: 0 / 342 MB, free: 3.668 MB / 270.1 MB Notification: Performance of matching and sorting (n=60): time 0.004571/0.287, allocations: 1.637 MB / 343.6 MB, free: 2.027 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.2871, allocations: 59.97 kB / 343.7 MB, free: 1.957 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.2882, allocations: 0.9418 MB / 344.6 MB, free: 1.008 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.293e-05/0.2883, allocations: 41.7 kB / 344.7 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.2886, allocations: 400 kB / 345.1 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.2887, allocations: 205.1 kB / 345.3 MB, free: 368 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.2887, allocations: 15.94 kB / 345.3 MB, free: 352 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2889, allocations: 330 kB / 345.6 MB, free: 16 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006004/0.2895, allocations: 261.2 kB / 345.8 MB, free: 15.76 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.2902, allocations: 359.6 kB / 346.2 MB, free: 15.38 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/0.2908, allocations: 291.1 kB / 346.5 MB, free: 15.1 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2908, allocations: 0 / 346.5 MB, free: 15.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001514/0.2923, allocations: 0.7657 MB / 347.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2924, allocations: 11.95 kB / 347.3 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2924, allocations: 0 / 347.3 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.2924, allocations: 8 kB / 347.3 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007883/0.2932, allocations: 183.8 kB / 347.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.2932, allocations: 11.98 kB / 347.5 MB, free: 14.11 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.2937, allocations: 47.95 kB / 347.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.2938, allocations: 28 kB / 347.5 MB, free: 14.04 MB / 286.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0003896/0.2942, allocations: 273.6 kB / 347.8 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.2943, allocations: 75.06 kB / 347.9 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.2958, allocations: 0.6709 MB / 348.5 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.2958, allocations: 4 kB / 348.5 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2958, allocations: 0 / 348.5 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2958, allocations: 3.984 kB / 348.6 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/0.2985, allocations: 1.808 MB / 350.4 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2986, allocations: 0 / 350.4 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/0.2991, allocations: 144 kB / 350.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.2991, allocations: 8 kB / 350.5 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.2992, allocations: 12 kB / 350.5 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.2992, allocations: 11.94 kB / 350.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.2992, allocations: 7.938 kB / 350.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.3005, allocations: 0.8504 MB / 351.4 MB, free: 9.949 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/0.3008, allocations: 212 kB / 351.6 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-05/0.3009, allocations: 12 kB / 351.6 MB, free: 9.711 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.3013, allocations: 55.95 kB / 351.7 MB, free: 9.656 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.3014, allocations: 44.31 kB / 351.7 MB, free: 9.613 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.3014, allocations: 16 kB / 351.7 MB, free: 9.598 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007512/0.3022, allocations: 0.6865 MB / 352.4 MB, free: 8.914 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3022, allocations: 4 kB / 352.4 MB, free: 8.91 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004927/0.3027, allocations: 152 kB / 352.6 MB, free: 8.762 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 60 * 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.0007752/0.3035, allocations: 366 kB / 352.9 MB, free: 8.402 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.3047, allocations: 0.6162 MB / 353.5 MB, free: 7.785 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3048, allocations: 3.938 kB / 353.5 MB, free: 7.781 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005805/0.3053, allocations: 303.2 kB / 353.8 MB, free: 7.484 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005968/0.306, allocations: 114.8 kB / 353.9 MB, free: 7.375 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.3085, allocations: 1.838 MB / 355.8 MB, free: 5.48 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.3091, allocations: 0.975 MB / 356.8 MB, free: 4.477 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003773/0.3094, allocations: 105 kB / 356.9 MB, free: 4.371 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.3096, allocations: 55.42 kB / 356.9 MB, free: 4.316 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3096, allocations: 0 / 356.9 MB, free: 4.316 MB / 286.1 MB Notification: Performance of Templates: time 0.01192/0.3216, allocations: 6.801 MB / 363.7 MB, free: 13.5 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: