Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0009121/0.0009122, allocations: 91.38 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.006049/0.006049, allocations: 171.4 kB / 16.26 MB, free: 6.676 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.426/1.426, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0007253/0.0007254, allocations: 10.81 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2526, allocations: 47.59 MB / 327 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004586/0.2572, allocations: 4.128 MB / 331.2 MB, free: 14.19 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.2597, allocations: 1.702 MB / 332.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.26, allocations: 8.625 kB / 332.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007252/0.2607, allocations: 394.5 kB / 333.3 MB, free: 12.59 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006956/0.2614, allocations: 390.8 kB / 333.6 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.262, allocations: 265.1 kB / 333.9 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.2633, allocations: 0.9551 MB / 334.9 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003874/0.2637, allocations: 252.8 kB / 335.1 MB, free: 11.3 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003774/0.2641, allocations: 330.8 kB / 335.4 MB, free: 10.97 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004927/0.2646, allocations: 462.2 kB / 335.9 MB, free: 10.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/0.2647, allocations: 36 kB / 335.9 MB, free: 10.48 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.2649, allocations: 60 kB / 336 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.265, allocations: 179.2 kB / 336.1 MB, free: 10.25 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.2654, allocations: 411.3 kB / 336.5 MB, free: 9.84 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000924/0.2663, allocations: 1.187 MB / 337.7 MB, free: 8.648 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2663, allocations: 0 / 337.7 MB, free: 8.648 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2663, allocations: 0 / 337.7 MB, free: 8.648 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.2663, allocations: 0 / 337.7 MB, free: 8.648 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.002012/0.2683, allocations: 1.086 MB / 338.8 MB, free: 7.512 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.2684, allocations: 12.03 kB / 338.8 MB, free: 7.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.2686, allocations: 95.81 kB / 338.9 MB, free: 7.406 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007901/0.2694, allocations: 0.5512 MB / 339.5 MB, free: 6.809 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.2695, allocations: 53.88 kB / 339.5 MB, free: 6.758 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.2696, allocations: 59.94 kB / 339.6 MB, free: 6.699 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.2709, allocations: 0.6636 MB / 340.3 MB, free: 6.02 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.2709, allocations: 0 / 340.3 MB, free: 6.02 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/0.271, allocations: 24 kB / 340.3 MB, free: 5.996 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.271, allocations: 16 kB / 340.3 MB, free: 5.98 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.2723, allocations: 0.5985 MB / 340.9 MB, free: 5.383 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003503/0.2758, allocations: 2.571 MB / 343.5 MB, free: 2.668 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009279/0.2767, allocations: 497.7 kB / 343.9 MB, free: 2.172 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006827/0.2774, allocations: 302 kB / 344.2 MB, free: 1.875 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/0.2775, allocations: 12.41 kB / 344.3 MB, free: 1.863 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.2775, allocations: 39 kB / 344.3 MB, free: 1.816 MB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 1.894e-06/0.2775, allocations: 4 kB / 344.3 MB, free: 1.812 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004544/0.2821, allocations: 1.653 MB / 346 MB, free: 152 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.2821, allocations: 55.97 kB / 346 MB, free: 84 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.2832, allocations: 0.9536 MB / 347 MB, free: 15.12 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.2832, allocations: 33.7 kB / 347 MB, free: 15.08 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.2835, allocations: 407.9 kB / 347.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.2837, allocations: 205 kB / 347.6 MB, free: 14.47 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.966e-05/0.2838, allocations: 57.69 kB / 347.6 MB, free: 14.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2839, allocations: 334 kB / 348 MB, free: 14.08 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006301/0.2845, allocations: 261.9 kB / 348.2 MB, free: 13.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006842/0.2852, allocations: 367.1 kB / 348.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.2865, allocations: 0.6142 MB / 349.2 MB, free: 12.79 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2865, allocations: 0 / 349.2 MB, free: 12.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001533/0.288, allocations: 0.7735 MB / 350 MB, free: 12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.288, allocations: 8 kB / 350 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2881, allocations: 4 kB / 350 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2881, allocations: 4 kB / 350 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/0.2888, allocations: 183.8 kB / 350.2 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.2889, allocations: 4 kB / 350.2 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.2894, allocations: 63.89 kB / 350.2 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.2894, allocations: 20 kB / 350.3 MB, free: 11.72 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.0003179/0.2897, allocations: 261.7 kB / 350.5 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.2899, allocations: 94.83 kB / 350.6 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.2913, allocations: 0.6711 MB / 351.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.2913, allocations: 4 kB / 351.3 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2914, allocations: 0 / 351.3 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.2914, allocations: 7.984 kB / 351.3 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.2942, allocations: 1.852 MB / 353.1 MB, free: 8.699 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.2942, allocations: 4 kB / 353.1 MB, free: 8.695 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005672/0.2948, allocations: 144.1 kB / 353.3 MB, free: 8.555 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.2948, allocations: 4 kB / 353.3 MB, free: 8.551 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.2949, allocations: 16 kB / 353.3 MB, free: 8.535 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.2949, allocations: 7.984 kB / 353.3 MB, free: 8.527 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2949, allocations: 7.938 kB / 353.3 MB, free: 8.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.2962, allocations: 0.7849 MB / 354.1 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.2965, allocations: 208 kB / 354.3 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.199e-05/0.2965, allocations: 16 kB / 354.3 MB, free: 7.453 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.297, allocations: 47.97 kB / 354.4 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/0.2971, allocations: 48.31 kB / 354.4 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.2971, allocations: 16 kB / 354.4 MB, free: 7.34 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007389/0.2979, allocations: 0.6943 MB / 355.1 MB, free: 6.648 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2979, allocations: 0 / 355.1 MB, free: 6.648 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005183/0.2984, allocations: 151.9 kB / 355.3 MB, free: 6.5 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.0008281/0.2992, allocations: 373.8 kB / 355.6 MB, free: 6.133 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.3006, allocations: 0.6201 MB / 356.3 MB, free: 5.52 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3006, allocations: 0 / 356.3 MB, free: 5.52 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006246/0.3012, allocations: 311.3 kB / 356.6 MB, free: 5.211 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009877/0.3022, allocations: 122.9 kB / 356.7 MB, free: 5.094 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.3047, allocations: 1.949 MB / 358.6 MB, free: 3.086 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.3052, allocations: 0.9633 MB / 359.6 MB, free: 2.086 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003869/0.3056, allocations: 89.05 kB / 359.7 MB, free: 1.996 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.3058, allocations: 55.42 kB / 359.7 MB, free: 1.941 MB / 286.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3058, allocations: 0 / 359.7 MB, free: 1.941 MB / 286.1 MB Notification: Performance of Templates: time 0.01246/0.3183, allocations: 7.109 MB / 366.8 MB, free: 10.82 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1)