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.001452/0.001452, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.365/1.365, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.001202/0.001202, allocations: 59.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2101, allocations: 46.63 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006659/0.2168, allocations: 6.228 MB / 331.5 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00331/0.2202, allocations: 1.88 MB / 333.4 MB, free: 11.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009004/0.2211, allocations: 16.22 kB / 333.4 MB, free: 11.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007296/0.2219, allocations: 215.4 kB / 333.6 MB, free: 11.14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.2231, allocations: 395.4 kB / 334 MB, free: 10.81 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007594/0.2239, allocations: 375 kB / 334.4 MB, free: 10.47 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.2254, allocations: 1.478 MB / 335.9 MB, free: 9.309 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006081/0.226, allocations: 0.5027 MB / 336.4 MB, free: 8.789 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005154/0.2265, allocations: 0.5372 MB / 336.9 MB, free: 8.25 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006077/0.2271, allocations: 0.5991 MB / 337.5 MB, free: 7.648 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.2273, allocations: 156 kB / 337.7 MB, free: 7.496 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.2275, allocations: 164 kB / 337.8 MB, free: 7.336 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.2278, allocations: 303.1 kB / 338.1 MB, free: 7.039 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005393/0.2283, allocations: 0.6456 MB / 338.8 MB, free: 6.391 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.2297, allocations: 1.838 MB / 340.6 MB, free: 4.547 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2297, allocations: 0 / 340.6 MB, free: 4.547 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2297, allocations: 0 / 340.6 MB, free: 4.547 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.2297, allocations: 0 / 340.6 MB, free: 4.547 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.002741/0.2325, allocations: 1.442 MB / 342 MB, free: 3.051 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2325, allocations: 12.03 kB / 342.1 MB, free: 3.039 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.2327, allocations: 119.5 kB / 342.2 MB, free: 2.922 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009955/0.2337, allocations: 0.665 MB / 342.8 MB, free: 2.219 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.2339, allocations: 78.5 kB / 342.9 MB, free: 2.141 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.234, allocations: 104.3 kB / 343 MB, free: 2.039 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.2358, allocations: 1.009 MB / 344 MB, free: 1.02 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.2358, allocations: 4 kB / 344 MB, free: 1.016 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-05/0.2359, allocations: 36 kB / 344.1 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.236, allocations: 24 kB / 344.1 MB, free: 0.957 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.2378, allocations: 0.8717 MB / 345 MB, free: 88 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004875/0.2427, allocations: 3.336 MB / 348.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.244, allocations: 0.8134 MB / 349.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008582/0.2449, allocations: 479.2 kB / 349.6 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.338e-05/0.245, allocations: 17.14 kB / 349.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.245, allocations: 43.06 kB / 349.6 MB, free: 11.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=91): time 2.775e-06/0.245, allocations: 0 / 349.6 MB, free: 11.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=115): time 0.009349/0.2544, allocations: 4.309 MB / 353.9 MB, free: 6.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.2545, allocations: 89.77 kB / 354 MB, free: 6.625 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008266/0.2553, allocations: 0.6046 MB / 354.6 MB, free: 6.008 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/0.2554, allocations: 45.7 kB / 354.7 MB, free: 5.957 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.2557, allocations: 416.2 kB / 355.1 MB, free: 5.543 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/0.256, allocations: 402.2 kB / 355.5 MB, free: 5.145 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003062/0.2563, allocations: 182.8 kB / 355.7 MB, free: 4.961 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.2565, allocations: 394.7 kB / 356 MB, free: 4.566 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008815/0.2574, allocations: 386.4 kB / 356.4 MB, free: 4.188 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009557/0.2583, allocations: 0.5119 MB / 356.9 MB, free: 3.645 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.2601, allocations: 0.8848 MB / 357.8 MB, free: 2.727 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.2602, allocations: 4 kB / 357.8 MB, free: 2.723 MB / 286.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002462/0.2626, allocations: 1.192 MB / 359 MB, free: 1.512 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.2627, allocations: 4 kB / 359 MB, free: 1.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.2627, allocations: 4 kB / 359 MB, free: 1.504 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004223/0.2631, allocations: 134.5 kB / 359.2 MB, free: 1.363 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.2642, allocations: 255.6 kB / 359.4 MB, free: 1.113 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004366/0.2685, allocations: 4.965 MB / 364.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009676/0.2696, allocations: 47.97 kB / 364.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.2698, allocations: 52.17 kB / 364.5 MB, free: 11.64 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_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006272/0.2705, allocations: 277.6 kB / 364.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.2707, allocations: 86.97 kB / 364.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/0.2724, allocations: 0.7683 MB / 365.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.2725, allocations: 12 kB / 365.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.2725, allocations: 8 kB / 365.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.2725, allocations: 3.984 kB / 365.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004578/0.2771, allocations: 2.671 MB / 368.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.2771, allocations: 4 kB / 368.3 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009118/0.278, allocations: 199.8 kB / 368.5 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004593/0.2785, allocations: 155.3 kB / 368.6 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.629e-05/0.2786, allocations: 27.98 kB / 368.7 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004459/0.2831, allocations: 5.998 MB / 374.7 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2831, allocations: 4.031 kB / 374.7 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003313/0.2864, allocations: 1.743 MB / 376.4 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.2867, allocations: 164 kB / 376.6 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.2869, allocations: 20 kB / 376.6 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007046/0.2877, allocations: 55.95 kB / 376.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.2878, allocations: 76.45 kB / 376.7 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/0.2879, allocations: 31.98 kB / 376.8 MB, free: 14.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006805/0.2886, allocations: 439.1 kB / 377.2 MB, free: 14.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2886, allocations: 0 / 377.2 MB, free: 14.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0011/0.2897, allocations: 256 kB / 377.4 MB, free: 13.91 MB / 318.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002316/0.29, allocations: 142.1 kB / 377.6 MB, free: 13.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003067/0.293, allocations: 1.372 MB / 378.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.2931, allocations: 0 / 378.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.2946, allocations: 1.01 MB / 380 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.2958, allocations: 190.9 kB / 380.1 MB, free: 11.1 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/0.2999, allocations: 2.154 MB / 382.3 MB, free: 8.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007852/0.3007, allocations: 1.02 MB / 383.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006184/0.3013, allocations: 127.6 kB / 383.4 MB, free: 7.734 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.3015, allocations: 71.42 kB / 383.5 MB, free: 7.664 MB / 318.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3016, allocations: 0 / 383.5 MB, free: 7.664 MB / 318.1 MB Notification: Performance of Templates: time 0.02132/0.3229, allocations: 11.92 MB / 395.4 MB, free: 11.73 MB / 334.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)