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.01103/0.01103, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002024/0.002025, allocations: 193.5 kB / 16.67 MB, free: 5.52 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.485/1.485, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.001231/0.001231, allocations: 55.92 kB / 326.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09864/0.09988, allocations: 46.62 MB / 373.2 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.2146/0.3145, allocations: 6.22 MB / 379.4 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002666/0.3172, allocations: 1.89 MB / 381.3 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.3176, allocations: 20.44 kB / 381.3 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000509/0.3182, allocations: 209.3 kB / 381.5 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008064/0.319, allocations: 409.7 kB / 381.9 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006241/0.3196, allocations: 375.9 kB / 382.3 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.321, allocations: 1.49 MB / 383.7 MB, free: 8.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000641/0.3216, allocations: 0.5064 MB / 384.2 MB, free: 7.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006771/0.3223, allocations: 0.5437 MB / 384.8 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000648/0.323, allocations: 0.6007 MB / 385.4 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.3232, allocations: 158 kB / 385.5 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.3234, allocations: 159.6 kB / 385.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.3236, allocations: 303.7 kB / 386 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005367/0.3242, allocations: 0.6431 MB / 386.6 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.3261, allocations: 1.852 MB / 388.5 MB, free: 6.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3261, allocations: 0.7031 kB / 388.5 MB, free: 6.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3261, allocations: 1.781 kB / 388.5 MB, free: 6.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.81e-05/0.3261, allocations: 1.312 kB / 388.5 MB, free: 6.051 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.003204/0.3293, allocations: 1.443 MB / 389.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3294, allocations: 10.47 kB / 390 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.3296, allocations: 122.5 kB / 390.1 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.3308, allocations: 0.679 MB / 390.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.955e-05/0.3309, allocations: 74.28 kB / 390.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.3311, allocations: 99.94 kB / 390.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.333, allocations: 1.014 MB / 391.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/0.3331, allocations: 2.047 kB / 391.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-05/0.3331, allocations: 41.62 kB / 392 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.3332, allocations: 22.91 kB / 392 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/0.3351, allocations: 0.8629 MB / 392.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004914/0.34, allocations: 3.303 MB / 396.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.3415, allocations: 0.8102 MB / 397 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000841/0.3424, allocations: 480.5 kB / 397.4 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.403e-05/0.3424, allocations: 15.58 kB / 397.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.3425, allocations: 44.66 kB / 397.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of pre-optimization done (n=91): time 3.236e-06/0.3425, allocations: 1.375 kB / 397.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=115): time 0.01022/0.3527, allocations: 4.297 MB / 401.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.3529, allocations: 100.9 kB / 401.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.354, allocations: 0.5996 MB / 402.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-05/0.3541, allocations: 44.92 kB / 402.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003867/0.3545, allocations: 429.5 kB / 403 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/0.3548, allocations: 387.9 kB / 403.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000334/0.3552, allocations: 188.5 kB / 403.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.3554, allocations: 397.2 kB / 403.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008835/0.3563, allocations: 378.3 kB / 404.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009776/0.3573, allocations: 0.5047 MB / 404.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001989/0.3593, allocations: 0.8899 MB / 405.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.3593, allocations: 1.625 kB / 405.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002747/0.362, allocations: 1.187 MB / 406.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.3621, allocations: 6.438 kB / 406.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.3621, allocations: 6.344 kB / 406.9 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004979/0.3626, allocations: 135.3 kB / 407 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.3637, allocations: 246.3 kB / 407.3 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004125/0.3679, allocations: 4.973 MB / 412.2 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009765/0.3689, allocations: 59.28 kB / 412.3 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-05/0.3689, allocations: 35.19 kB / 412.3 MB, free: 5.996 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.0005996/0.3695, allocations: 284.8 kB / 412.6 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.3697, allocations: 91.56 kB / 412.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.3713, allocations: 0.7729 MB / 413.5 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.3714, allocations: 11.16 kB / 413.5 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/0.3714, allocations: 3.438 kB / 413.5 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.3714, allocations: 5.797 kB / 413.5 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004455/0.3759, allocations: 2.654 MB / 416.1 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.3759, allocations: 1.344 kB / 416.1 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009339/0.3768, allocations: 205.5 kB / 416.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004617/0.3773, allocations: 152.9 kB / 416.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-05/0.3774, allocations: 22.47 kB / 416.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004326/0.3817, allocations: 5.988 MB / 422.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.3817, allocations: 3.938 kB / 422.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003427/0.3852, allocations: 1.742 MB / 424.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004097/0.3856, allocations: 164.1 kB / 424.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.3858, allocations: 24 kB / 424.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006355/0.3864, allocations: 47.95 kB / 424.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.3866, allocations: 76.45 kB / 424.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.089e-05/0.3867, allocations: 39.86 kB / 424.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006517/0.3873, allocations: 443.1 kB / 425 MB, free: 10.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3874, allocations: 0 / 425 MB, free: 10.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001056/0.3884, allocations: 252 kB / 425.3 MB, free: 9.832 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.0002141/0.3886, allocations: 130.5 kB / 425.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.3914, allocations: 1.354 MB / 426.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.3914, allocations: 4 kB / 426.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.393, allocations: 0.9982 MB / 427.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.3942, allocations: 193.3 kB / 427.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004211/0.3984, allocations: 2.144 MB / 430.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006813/0.3991, allocations: 1.02 MB / 431.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005941/0.3997, allocations: 123.5 kB / 431.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.4, allocations: 79.41 kB / 431.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4, allocations: 0 / 431.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of Templates: time 0.0236/0.4236, allocations: 12.15 MB / 443.4 MB, free: 7.469 MB / 366.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)