Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 90.34 kB / 15.06 MB, free: 1.078 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.00142/0.00142, allocations: 176.7 kB / 15.95 MB, free: 192 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.472/1.472, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.0005004/0.0005005, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2525, allocations: 47.58 MB / 326.5 MB, free: 1.605 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005455/0.258, allocations: 5.436 MB / 331.9 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003062/0.2611, allocations: 1.779 MB / 333.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004305/0.2616, allocations: 18.59 kB / 333.7 MB, free: 11.85 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.262, allocations: 157.8 kB / 333.9 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007725/0.2628, allocations: 331.8 kB / 334.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.2634, allocations: 217.3 kB / 334.4 MB, free: 11.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.2649, allocations: 1.326 MB / 335.7 MB, free: 10.38 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005852/0.2655, allocations: 371.5 kB / 336.1 MB, free: 10 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00056/0.2661, allocations: 426.3 kB / 336.5 MB, free: 9.582 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005348/0.2666, allocations: 0.49 MB / 337 MB, free: 9.09 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.2667, allocations: 60 kB / 337 MB, free: 9.031 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.2669, allocations: 60 kB / 337.1 MB, free: 8.973 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.2671, allocations: 195.2 kB / 337.3 MB, free: 8.781 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.2673, allocations: 241.1 kB / 337.5 MB, free: 8.539 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.2685, allocations: 1.457 MB / 339 MB, free: 7.078 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2685, allocations: 0 / 339 MB, free: 7.078 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2685, allocations: 0 / 339 MB, free: 7.078 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.2685, allocations: 0 / 339 MB, free: 7.078 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002465/0.271, allocations: 1.298 MB / 340.3 MB, free: 5.73 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.271, allocations: 16.03 kB / 340.3 MB, free: 5.715 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.2712, allocations: 118.6 kB / 340.4 MB, free: 5.598 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.2723, allocations: 0.6524 MB / 341.1 MB, free: 4.898 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.2724, allocations: 74 kB / 341.1 MB, free: 4.828 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.2725, allocations: 99.94 kB / 341.2 MB, free: 4.73 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.2744, allocations: 1.021 MB / 342.3 MB, free: 3.699 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.2745, allocations: 3.906 kB / 342.3 MB, free: 3.695 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.2746, allocations: 48 kB / 342.3 MB, free: 3.648 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.2746, allocations: 20 kB / 342.3 MB, free: 3.629 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.2765, allocations: 0.9148 MB / 343.2 MB, free: 2.715 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004897/0.2814, allocations: 3.348 MB / 346.6 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.2828, allocations: 0.8325 MB / 347.4 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00086/0.2837, allocations: 491.2 kB / 347.9 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-05/0.2837, allocations: 13.14 kB / 347.9 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.2838, allocations: 51.11 kB / 348 MB, free: 13.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=91): time 2.745e-06/0.2838, allocations: 3.938 kB / 348 MB, free: 13.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=115): time 0.009411/0.2932, allocations: 4.43 MB / 352.4 MB, free: 9.195 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.2933, allocations: 89.77 kB / 352.5 MB, free: 9.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008615/0.2942, allocations: 0.6046 MB / 353.1 MB, free: 8.477 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.684e-05/0.2943, allocations: 41.7 kB / 353.1 MB, free: 8.43 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.2946, allocations: 428.1 kB / 353.6 MB, free: 8.004 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.2949, allocations: 402.2 kB / 353.9 MB, free: 7.605 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.2949, allocations: 24 kB / 354 MB, free: 7.582 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.2951, allocations: 394.7 kB / 354.4 MB, free: 7.188 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008573/0.296, allocations: 398.4 kB / 354.7 MB, free: 6.801 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009368/0.2969, allocations: 0.5354 MB / 355.3 MB, free: 6.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009251/0.2979, allocations: 444 kB / 355.7 MB, free: 5.797 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.2979, allocations: 0 / 355.7 MB, free: 5.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002346/0.3002, allocations: 1.227 MB / 356.9 MB, free: 4.555 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.3003, allocations: 8 kB / 356.9 MB, free: 4.547 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3003, allocations: 0 / 356.9 MB, free: 4.547 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003779/0.3007, allocations: 130.5 kB / 357.1 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.3017, allocations: 259.7 kB / 357.3 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003614/0.3054, allocations: 4.528 MB / 361.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006073/0.306, allocations: 72.02 kB / 361.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-05/0.3061, allocations: 35.98 kB / 362 MB, free: 15.12 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 125 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004301/0.3065, allocations: 278 kB / 362.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.3067, allocations: 90.88 kB / 362.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.3082, allocations: 0.7762 MB / 363.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.3082, allocations: 16 kB / 363.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.3083, allocations: 4 kB / 363.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.3083, allocations: 11.92 kB / 363.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004177/0.3125, allocations: 2.694 MB / 365.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3125, allocations: 4.016 kB / 365.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008902/0.3134, allocations: 223.7 kB / 366 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004076/0.3138, allocations: 147.3 kB / 366.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.258e-05/0.3139, allocations: 31.98 kB / 366.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004124/0.318, allocations: 5.564 MB / 371.8 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.318, allocations: 0 / 371.8 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/0.3211, allocations: 1.794 MB / 373.6 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.3213, allocations: 160.1 kB / 373.7 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.3214, allocations: 24 kB / 373.8 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/0.322, allocations: 59.95 kB / 373.8 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.3222, allocations: 80.41 kB / 373.9 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.727e-05/0.3222, allocations: 35.98 kB / 373.9 MB, free: 2.418 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005574/0.3228, allocations: 439 kB / 374.4 MB, free: 1.988 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3228, allocations: 4 kB / 374.4 MB, free: 1.984 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008672/0.3237, allocations: 259.9 kB / 374.6 MB, free: 1.73 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001809/0.3239, allocations: 135 kB / 374.8 MB, free: 1.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00235/0.3262, allocations: 1.377 MB / 376.1 MB, free: 176 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3262, allocations: 0 / 376.1 MB, free: 176 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.3277, allocations: 1.029 MB / 377.2 MB, free: 15.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009314/0.3287, allocations: 170 kB / 377.3 MB, free: 14.92 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.3327, allocations: 2.651 MB / 380 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000701/0.3334, allocations: 1.024 MB / 381 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005625/0.334, allocations: 119.6 kB / 381.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.3343, allocations: 79.41 kB / 381.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3343, allocations: 0 / 381.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of Templates: time 0.01952/0.3538, allocations: 10.8 MB / 392 MB, free: 180 kB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)