Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001114/0.001113, allocations: 113.9 kB / 17.07 MB, free: 6 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.0011/0.0011, allocations: 190.9 kB / 18 MB, free: 5.082 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.504/1.504, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.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.0012/0.0012, allocations: 48.25 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.1004, allocations: 46.63 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.2221/0.3226, allocations: 6.205 MB / 380.7 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003306/0.3259, allocations: 1.884 MB / 382.6 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004949/0.3265, allocations: 20.03 kB / 382.6 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005977/0.3271, allocations: 215.8 kB / 382.8 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008658/0.328, allocations: 393.3 kB / 383.2 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000708/0.3287, allocations: 376.9 kB / 383.6 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001587/0.3303, allocations: 1.489 MB / 385 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006946/0.331, allocations: 0.5108 MB / 385.6 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007354/0.3317, allocations: 0.5341 MB / 386.1 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007129/0.3325, allocations: 0.6011 MB / 386.7 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002132/0.3327, allocations: 158.3 kB / 386.8 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.3329, allocations: 159.9 kB / 387 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.3332, allocations: 303.8 kB / 387.3 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000567/0.3338, allocations: 0.6461 MB / 387.9 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.3356, allocations: 1.85 MB / 389.8 MB, free: 6.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3356, allocations: 1.125 kB / 389.8 MB, free: 6.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3356, allocations: 0 / 389.8 MB, free: 6.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.389e-05/0.3357, allocations: 0 / 389.8 MB, free: 6.039 MB / 318.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.003052/0.3387, allocations: 1.445 MB / 391.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.3388, allocations: 12.91 kB / 391.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.339, allocations: 119.5 kB / 391.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.3402, allocations: 0.6792 MB / 392.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-05/0.3403, allocations: 74.28 kB / 392.1 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.3404, allocations: 101.7 kB / 392.2 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.3423, allocations: 1.009 MB / 393.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.811e-05/0.3423, allocations: 2.031 kB / 393.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.785e-05/0.3424, allocations: 37.47 kB / 393.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.3425, allocations: 26.03 kB / 393.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/0.3444, allocations: 0.8682 MB / 394.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004817/0.3492, allocations: 3.295 MB / 397.5 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.3506, allocations: 0.8079 MB / 398.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008439/0.3514, allocations: 486.9 kB / 398.7 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.312e-05/0.3515, allocations: 20.33 kB / 398.8 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.3515, allocations: 44.12 kB / 398.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=91): time 2.335e-06/0.3515, allocations: 0 / 398.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=115): time 0.009706/0.3612, allocations: 4.303 MB / 403.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.3613, allocations: 92.7 kB / 403.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009451/0.3623, allocations: 0.6034 MB / 403.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.309e-05/0.3624, allocations: 42.11 kB / 403.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.3627, allocations: 429 kB / 404.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/0.3631, allocations: 396.3 kB / 404.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003248/0.3634, allocations: 187.7 kB / 404.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.3636, allocations: 393.4 kB / 405.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008585/0.3645, allocations: 378.5 kB / 405.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009316/0.3654, allocations: 0.5094 MB / 406.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.3673, allocations: 0.8858 MB / 407 MB, free: 11.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3673, allocations: 4 kB / 407 MB, free: 11.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00253/0.3698, allocations: 1.184 MB / 408.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3698, allocations: 6.75 kB / 408.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3699, allocations: 2.25 kB / 408.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004352/0.3703, allocations: 134.7 kB / 408.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.3714, allocations: 249.9 kB / 408.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003957/0.3753, allocations: 4.976 MB / 413.5 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000846/0.3762, allocations: 57.84 kB / 413.6 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/0.3763, allocations: 38.45 kB / 413.6 MB, free: 5.98 MB / 334.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.0005367/0.3768, allocations: 282.8 kB / 413.9 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.377, allocations: 91.88 kB / 414 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.3786, allocations: 0.7709 MB / 414.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.3786, allocations: 12.75 kB / 414.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.3787, allocations: 3.062 kB / 414.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.3787, allocations: 7.969 kB / 414.8 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004288/0.383, allocations: 2.644 MB / 417.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.383, allocations: 0 / 417.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009512/0.384, allocations: 209 kB / 417.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/0.3844, allocations: 156.6 kB / 417.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-05/0.3845, allocations: 32.23 kB / 417.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00432/0.3888, allocations: 5.974 MB / 423.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.3888, allocations: 15.89 kB / 423.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/0.392, allocations: 1.742 MB / 425.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.3923, allocations: 160.1 kB / 425.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.3925, allocations: 24 kB / 425.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005951/0.3931, allocations: 47.97 kB / 425.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.3932, allocations: 80.39 kB / 425.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.3933, allocations: 31.98 kB / 425.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006296/0.3939, allocations: 443.1 kB / 426.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.394, allocations: 3.938 kB / 426.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009928/0.395, allocations: 252 kB / 426.6 MB, free: 9.816 MB / 350.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.0001797/0.3951, allocations: 134.5 kB / 426.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002423/0.3976, allocations: 1.346 MB / 428 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3976, allocations: 0 / 428 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001474/0.3991, allocations: 1.002 MB / 429 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009992/0.4001, allocations: 187.5 kB / 429.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.4039, allocations: 2.136 MB / 431.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/0.4045, allocations: 1.02 MB / 432.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005195/0.405, allocations: 127.6 kB / 432.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.4052, allocations: 71.42 kB / 432.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4052, allocations: 3.938 kB / 432.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of Templates: time 0.01994/0.4252, allocations: 12.17 MB / 444.7 MB, free: 7.445 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)