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.0008145/0.0008145, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005274/0.005274, allocations: 174.1 kB / 16.26 MB, free: 6.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.0004841/0.0004838, allocations: 12.38 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2489, allocations: 47.58 MB / 327 MB, free: 1.23 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004723/0.2536, allocations: 4.115 MB / 331.1 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003537/0.2572, allocations: 1.706 MB / 332.9 MB, free: 12.6 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.2576, allocations: 8.812 kB / 332.9 MB, free: 12.6 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007835/0.2584, allocations: 402.4 kB / 333.3 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009212/0.2594, allocations: 385.7 kB / 333.6 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007158/0.2601, allocations: 281.6 kB / 333.9 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.2613, allocations: 0.9461 MB / 334.9 MB, free: 11.34 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.2617, allocations: 255 kB / 335.1 MB, free: 11.2 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004155/0.2622, allocations: 338.7 kB / 335.4 MB, free: 10.86 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004979/0.2627, allocations: 458.2 kB / 335.9 MB, free: 10.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-05/0.2627, allocations: 40 kB / 335.9 MB, free: 10.38 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.2629, allocations: 63.98 kB / 336 MB, free: 10.31 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.2631, allocations: 175.2 kB / 336.2 MB, free: 10.14 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.2635, allocations: 407.4 kB / 336.6 MB, free: 9.734 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.2645, allocations: 1.191 MB / 337.7 MB, free: 8.539 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2645, allocations: 0 / 337.7 MB, free: 8.539 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2645, allocations: 4 kB / 337.7 MB, free: 8.535 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.2646, allocations: 0 / 337.7 MB, free: 8.535 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.002093/0.2667, allocations: 1.083 MB / 338.8 MB, free: 7.402 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.2667, allocations: 8.031 kB / 338.8 MB, free: 7.395 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.2669, allocations: 95.81 kB / 338.9 MB, free: 7.301 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008318/0.2677, allocations: 0.5512 MB / 339.5 MB, free: 6.703 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.2678, allocations: 49.88 kB / 339.5 MB, free: 6.656 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.906e-05/0.2679, allocations: 67.86 kB / 339.6 MB, free: 6.59 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.2692, allocations: 0.6674 MB / 340.3 MB, free: 5.906 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.2692, allocations: 4 kB / 340.3 MB, free: 5.902 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/0.2693, allocations: 20 kB / 340.3 MB, free: 5.883 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.2693, allocations: 16 kB / 340.3 MB, free: 5.867 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.2707, allocations: 0.5985 MB / 340.9 MB, free: 5.27 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003609/0.2743, allocations: 2.571 MB / 343.5 MB, free: 2.555 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009355/0.2752, allocations: 497.7 kB / 344 MB, free: 2.059 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006858/0.2759, allocations: 302 kB / 344.3 MB, free: 1.762 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.276, allocations: 12.42 kB / 344.3 MB, free: 1.75 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.276, allocations: 39 kB / 344.3 MB, free: 1.703 MB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 2.024e-06/0.2761, allocations: 0 / 344.3 MB, free: 1.703 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004742/0.2808, allocations: 1.653 MB / 346 MB, free: 44 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.2809, allocations: 63.91 kB / 346 MB, free: 15.97 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.282, allocations: 0.9419 MB / 347 MB, free: 15.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.2821, allocations: 37.7 kB / 347 MB, free: 14.98 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.2823, allocations: 411.9 kB / 347.4 MB, free: 14.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.2825, allocations: 205 kB / 347.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.525e-05/0.2826, allocations: 57.69 kB / 347.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2827, allocations: 334 kB / 348 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/0.2834, allocations: 261.9 kB / 348.2 MB, free: 13.71 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006725/0.284, allocations: 367.1 kB / 348.6 MB, free: 13.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.2853, allocations: 0.6065 MB / 349.2 MB, free: 12.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2853, allocations: 0 / 349.2 MB, free: 12.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001672/0.287, allocations: 0.7774 MB / 350 MB, free: 11.9 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.287, allocations: 8 kB / 350 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2871, allocations: 0 / 350 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.2871, allocations: 12.06 kB / 350 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007662/0.2879, allocations: 179.8 kB / 350.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.2879, allocations: 4 kB / 350.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.2884, allocations: 55.97 kB / 350.2 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.2885, allocations: 23.98 kB / 350.3 MB, free: 11.62 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_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003774/0.2889, allocations: 269.6 kB / 350.5 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.289, allocations: 86.91 kB / 350.6 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.2905, allocations: 0.6671 MB / 351.3 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.2905, allocations: 8 kB / 351.3 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.2905, allocations: 0 / 351.3 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.2905, allocations: 3.984 kB / 351.3 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.2935, allocations: 1.856 MB / 353.1 MB, free: 8.594 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.2935, allocations: 7.938 kB / 353.1 MB, free: 8.586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005669/0.2941, allocations: 144.1 kB / 353.3 MB, free: 8.445 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.2941, allocations: 4 kB / 353.3 MB, free: 8.441 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.2942, allocations: 16 kB / 353.3 MB, free: 8.426 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.2942, allocations: 4 kB / 353.3 MB, free: 8.422 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.2942, allocations: 7.938 kB / 353.3 MB, free: 8.414 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.2956, allocations: 0.781 MB / 354.1 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002878/0.2959, allocations: 220 kB / 354.3 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.234e-05/0.296, allocations: 11.98 kB / 354.3 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.2965, allocations: 47.97 kB / 354.4 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.88e-05/0.2966, allocations: 52.31 kB / 354.4 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.2966, allocations: 19.94 kB / 354.4 MB, free: 7.227 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007882/0.2974, allocations: 0.6865 MB / 355.1 MB, free: 6.543 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2974, allocations: 0 / 355.1 MB, free: 6.543 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000543/0.298, allocations: 152 kB / 355.3 MB, free: 6.395 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008531/0.2988, allocations: 369.8 kB / 355.6 MB, free: 6.031 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.3003, allocations: 0.6201 MB / 356.3 MB, free: 5.414 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.3003, allocations: 0 / 356.3 MB, free: 5.414 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006615/0.3009, allocations: 311.3 kB / 356.6 MB, free: 5.105 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009957/0.3019, allocations: 122.9 kB / 356.7 MB, free: 4.988 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.3047, allocations: 1.949 MB / 358.6 MB, free: 2.98 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.3053, allocations: 0.9594 MB / 359.6 MB, free: 1.984 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004382/0.3057, allocations: 105 kB / 359.7 MB, free: 1.879 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.3059, allocations: 51.42 kB / 359.7 MB, free: 1.828 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3059, allocations: 0 / 359.7 MB, free: 1.828 MB / 286.1 MB Notification: Performance of Templates: time 0.01373/0.3196, allocations: 7.105 MB / 366.9 MB, free: 10.71 MB / 302.1 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)