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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7715/0.7715, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001747/0.001747, allocations: 151.5 kB / 149.1 MB, free: 0.9609 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.429e-05/2.431e-05, allocations: 4 kB / 180.2 MB, free: 17.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04602/0.04606, allocations: 25.18 MB / 205.4 MB, free: 8.418 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.2069, allocations: 41.56 MB / 247 MB, free: 42 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.2072, allocations: 68.58 kB / 247 MB, free: 42 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03313/0.2403, allocations: 14.14 MB / 261.2 MB, free: 34.37 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.2404, allocations: 0 / 261.2 MB, free: 34.37 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.872e-05/0.2404, allocations: 16 kB / 261.2 MB, free: 34.35 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.001355/0.2417, allocations: 0.9446 MB / 262.1 MB, free: 33.36 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.2418, allocations: 11.97 kB / 262.1 MB, free: 33.35 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.2419, allocations: 94.88 kB / 262.2 MB, free: 33.25 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000629/0.2425, allocations: 0.5076 MB / 262.7 MB, free: 32.71 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.2427, allocations: 50 kB / 262.8 MB, free: 32.66 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.325e-05/0.2428, allocations: 67.94 kB / 262.9 MB, free: 32.59 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009898/0.2438, allocations: 0.7261 MB / 263.6 MB, free: 31.85 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.2438, allocations: 0 / 263.6 MB, free: 31.85 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/0.2439, allocations: 27.98 kB / 263.6 MB, free: 31.82 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.2439, allocations: 12 kB / 263.6 MB, free: 31.81 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008362/0.2447, allocations: 0.6064 MB / 264.2 MB, free: 31.21 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003247/0.248, allocations: 2.745 MB / 267 MB, free: 28.32 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006938/0.2487, allocations: 0.5437 MB / 267.5 MB, free: 27.77 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/0.2492, allocations: 378.4 kB / 267.9 MB, free: 27.39 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/0.2493, allocations: 20.44 kB / 267.9 MB, free: 27.37 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.2493, allocations: 38.98 kB / 267.9 MB, free: 27.32 MB / 186.7 MB Notification: Performance of pre-optimization done (n=49): time 1.753e-06/0.2493, allocations: 0 / 267.9 MB, free: 27.32 MB / 186.7 MB Notification: Performance of matching and sorting (n=65): time 0.003886/0.2532, allocations: 1.918 MB / 269.9 MB, free: 25.41 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2533, allocations: 59.97 kB / 269.9 MB, free: 25.34 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000693/0.254, allocations: 0.6482 MB / 270.6 MB, free: 24.68 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.254, allocations: 33.7 kB / 270.6 MB, free: 24.64 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.2542, allocations: 392 kB / 271 MB, free: 24.25 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.2543, allocations: 216.8 kB / 271.2 MB, free: 24.04 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.2544, allocations: 16 kB / 271.2 MB, free: 24.02 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.2545, allocations: 394.7 kB / 271.6 MB, free: 23.63 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.2549, allocations: 317.4 kB / 271.9 MB, free: 23.32 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.2553, allocations: 413.1 kB / 272.3 MB, free: 22.89 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000435/0.2558, allocations: 354 kB / 272.7 MB, free: 22.54 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2558, allocations: 0 / 272.7 MB, free: 22.54 MB / 186.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001062/0.2569, allocations: 0.8857 MB / 273.5 MB, free: 21.65 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.2569, allocations: 8 kB / 273.6 MB, free: 21.64 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2569, allocations: 4 kB / 273.6 MB, free: 21.64 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.2569, allocations: 7.984 kB / 273.6 MB, free: 21.63 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/0.2577, allocations: 203.9 kB / 273.8 MB, free: 21.43 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.2577, allocations: 8 kB / 273.8 MB, free: 21.42 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/0.2583, allocations: 59.89 kB / 273.8 MB, free: 21.36 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-05/0.2583, allocations: 39.98 kB / 273.9 MB, free: 21.32 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.0001173/0.2585, allocations: 144.8 kB / 274 MB, free: 21.18 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.774e-05/0.2586, allocations: 79.06 kB / 274.1 MB, free: 21.1 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.2597, allocations: 0.9088 MB / 275 MB, free: 20.17 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2598, allocations: 4 kB / 275 MB, free: 20.17 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2598, allocations: 4 kB / 275 MB, free: 20.16 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.2598, allocations: 3.984 kB / 275 MB, free: 20.16 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/0.2623, allocations: 2.194 MB / 277.2 MB, free: 17.84 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.2623, allocations: 8.344 kB / 277.2 MB, free: 17.83 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.2629, allocations: 147.8 kB / 277.4 MB, free: 17.69 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.2629, allocations: 11.98 kB / 277.4 MB, free: 17.68 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/0.2629, allocations: 16 kB / 277.4 MB, free: 17.66 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.2629, allocations: 4 kB / 277.4 MB, free: 17.66 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.263, allocations: 7.938 kB / 277.4 MB, free: 17.65 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.2641, allocations: 1.157 MB / 278.5 MB, free: 16.37 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.2643, allocations: 243.9 kB / 278.8 MB, free: 16.11 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.319e-05/0.2644, allocations: 16 kB / 278.8 MB, free: 16.1 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.2649, allocations: 55.95 kB / 278.9 MB, free: 16.04 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.264e-05/0.265, allocations: 40.34 kB / 278.9 MB, free: 16 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/0.265, allocations: 39.98 kB / 278.9 MB, free: 15.96 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0004999/0.2655, allocations: 0.507 MB / 279.4 MB, free: 15.46 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2656, allocations: 4 kB / 279.4 MB, free: 15.46 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005065/0.2661, allocations: 167.9 kB / 279.6 MB, free: 15.3 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.0002988/0.2664, allocations: 167.3 kB / 279.8 MB, free: 15.13 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0007632/0.2671, allocations: 0.6287 MB / 280.4 MB, free: 14.5 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2672, allocations: 7.938 kB / 280.4 MB, free: 14.49 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00036/0.2675, allocations: 335.1 kB / 280.7 MB, free: 14.16 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006044/0.2681, allocations: 123.8 kB / 280.9 MB, free: 14.05 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.2696, allocations: 1.126 MB / 282 MB, free: 12.86 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.2699, allocations: 0.9748 MB / 283 MB, free: 11.85 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0003684/0.2703, allocations: 92.89 kB / 283 MB, free: 11.76 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.2704, allocations: 51.42 kB / 283.1 MB, free: 11.71 MB / 186.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2705, allocations: 0 / 283.1 MB, free: 11.71 MB / 186.7 MB Notification: Performance of Templates: time 0.01041/0.2809, allocations: 7.142 MB / 290.2 MB, free: 4.559 MB / 186.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)