Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001427/0.001427, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001846/0.001846, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.423/1.423, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001305/0.001305, allocations: 39.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2221, allocations: 46.63 MB / 324.8 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006758/0.2289, allocations: 6.231 MB / 331.1 MB, free: 13 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003251/0.2322, allocations: 1.842 MB / 332.9 MB, free: 11.46 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004085/0.2327, allocations: 19.38 kB / 332.9 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005161/0.2332, allocations: 176.7 kB / 333.1 MB, free: 11.31 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007575/0.234, allocations: 343.7 kB / 333.4 MB, free: 11.03 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006367/0.2346, allocations: 334.2 kB / 333.8 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.236, allocations: 1.475 MB / 335.2 MB, free: 9.652 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006478/0.2367, allocations: 0.5026 MB / 335.7 MB, free: 9.129 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005584/0.2372, allocations: 0.545 MB / 336.3 MB, free: 8.582 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005778/0.2378, allocations: 0.5991 MB / 336.9 MB, free: 7.98 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.238, allocations: 156 kB / 337 MB, free: 7.828 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.2382, allocations: 160 kB / 337.2 MB, free: 7.672 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.2384, allocations: 303.1 kB / 337.5 MB, free: 7.375 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005294/0.239, allocations: 0.6456 MB / 338.1 MB, free: 6.727 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.2404, allocations: 1.842 MB / 340 MB, free: 4.879 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2404, allocations: 0 / 340 MB, free: 4.879 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2404, allocations: 0 / 340 MB, free: 4.879 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.2405, allocations: 0 / 340 MB, free: 4.879 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.00275/0.2432, allocations: 1.442 MB / 341.4 MB, free: 3.383 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.2433, allocations: 12.03 kB / 341.4 MB, free: 3.371 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.2435, allocations: 123.5 kB / 341.6 MB, free: 3.25 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.2445, allocations: 0.665 MB / 342.2 MB, free: 2.547 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.2447, allocations: 74.56 kB / 342.3 MB, free: 2.473 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.2448, allocations: 108.3 kB / 342.4 MB, free: 2.367 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.2466, allocations: 1.001 MB / 343.4 MB, free: 1.355 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.2467, allocations: 7.938 kB / 343.4 MB, free: 1.348 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.765e-05/0.2468, allocations: 40 kB / 343.5 MB, free: 1.309 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.2468, allocations: 28 kB / 343.5 MB, free: 1.281 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.2486, allocations: 0.8601 MB / 344.3 MB, free: 436 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004779/0.2533, allocations: 3.356 MB / 347.7 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.2548, allocations: 0.7979 MB / 348.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008656/0.2556, allocations: 483 kB / 349 MB, free: 11.65 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.707e-05/0.2557, allocations: 17.14 kB / 349 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.2557, allocations: 43.12 kB / 349 MB, free: 11.58 MB / 286.1 MB Notification: Performance of pre-optimization done (n=91): time 2.285e-06/0.2558, allocations: 0 / 349 MB, free: 11.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=115): time 0.008944/0.2647, allocations: 4.305 MB / 353.3 MB, free: 7.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.2648, allocations: 89.77 kB / 353.4 MB, free: 6.965 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007249/0.2655, allocations: 0.6045 MB / 354 MB, free: 6.348 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.811e-05/0.2656, allocations: 45.7 kB / 354.1 MB, free: 6.297 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.2658, allocations: 424.2 kB / 354.5 MB, free: 5.875 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/0.2661, allocations: 394.2 kB / 354.9 MB, free: 5.484 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/0.2664, allocations: 186.8 kB / 355 MB, free: 5.297 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.2666, allocations: 390.7 kB / 355.4 MB, free: 4.906 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007982/0.2674, allocations: 382.4 kB / 355.8 MB, free: 4.531 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008763/0.2683, allocations: 0.5081 MB / 356.3 MB, free: 3.992 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.2699, allocations: 0.8926 MB / 357.2 MB, free: 3.066 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2699, allocations: 4 kB / 357.2 MB, free: 3.062 MB / 286.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002223/0.2722, allocations: 1.184 MB / 358.4 MB, free: 1.859 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2722, allocations: 4 kB / 358.4 MB, free: 1.855 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.2722, allocations: 4.219 kB / 358.4 MB, free: 1.852 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000378/0.2726, allocations: 134.4 kB / 358.5 MB, free: 1.711 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.2736, allocations: 251.7 kB / 358.8 MB, free: 1.465 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003598/0.2772, allocations: 4.969 MB / 363.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006606/0.2779, allocations: 56.03 kB / 363.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/0.278, allocations: 43.92 kB / 363.8 MB, free: 11.98 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.0004166/0.2784, allocations: 281.6 kB / 364.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.2785, allocations: 86.97 kB / 364.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.2801, allocations: 0.7722 MB / 365 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.2801, allocations: 12 kB / 365 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.2801, allocations: 4 kB / 365 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.2801, allocations: 3.984 kB / 365 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003864/0.284, allocations: 2.663 MB / 367.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.284, allocations: 8 kB / 367.7 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008794/0.2849, allocations: 207.8 kB / 367.9 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004293/0.2854, allocations: 151.3 kB / 368 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.417e-05/0.2854, allocations: 31.98 kB / 368 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003984/0.2894, allocations: 5.99 MB / 374 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2894, allocations: 4.031 kB / 374 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/0.2925, allocations: 1.74 MB / 375.8 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.2927, allocations: 160 kB / 375.9 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.2928, allocations: 24 kB / 376 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005924/0.2934, allocations: 55.95 kB / 376 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.2936, allocations: 80.39 kB / 376.1 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.629e-05/0.2936, allocations: 27.98 kB / 376.1 MB, free: 14.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005464/0.2942, allocations: 447.1 kB / 376.6 MB, free: 14.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2942, allocations: 0 / 376.6 MB, free: 14.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000904/0.2951, allocations: 256 kB / 376.8 MB, free: 14.25 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.0001878/0.2953, allocations: 141.9 kB / 376.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002858/0.2982, allocations: 1.377 MB / 378.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2982, allocations: 4.188 kB / 378.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001473/0.2997, allocations: 1.002 MB / 379.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.3007, allocations: 186.9 kB / 379.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.3049, allocations: 2.592 MB / 382.1 MB, free: 8.824 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006688/0.3056, allocations: 1.028 MB / 383.1 MB, free: 7.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005552/0.3062, allocations: 119.6 kB / 383.2 MB, free: 7.648 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.3064, allocations: 75.42 kB / 383.3 MB, free: 7.574 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3064, allocations: 4 kB / 383.3 MB, free: 7.57 MB / 318.1 MB Notification: Performance of Templates: time 0.01951/0.3259, allocations: 11.78 MB / 395.1 MB, free: 11.78 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)