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.005831/0.005831, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001218/0.001218, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.435/1.435, allocations: 205.1 MB / 222.5 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.001455/0.001455, allocations: 51.92 kB / 326.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 46.6 MB / 373.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.2305/0.3336, allocations: 6.234 MB / 379.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.3369, allocations: 1.882 MB / 381.3 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005808/0.3376, allocations: 15.25 kB / 381.3 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000668/0.3383, allocations: 214.8 kB / 381.5 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.3393, allocations: 412 kB / 381.9 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008613/0.3402, allocations: 380.5 kB / 382.3 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001746/0.3419, allocations: 1.485 MB / 383.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007237/0.3427, allocations: 0.508 MB / 384.3 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007552/0.3434, allocations: 0.5452 MB / 384.8 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007613/0.3442, allocations: 0.6018 MB / 385.4 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.3444, allocations: 158.2 kB / 385.6 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.3447, allocations: 159.7 kB / 385.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.345, allocations: 297 kB / 386 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006295/0.3456, allocations: 0.6496 MB / 386.6 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.3477, allocations: 1.858 MB / 388.5 MB, free: 6.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.3477, allocations: 1.156 kB / 388.5 MB, free: 6.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3477, allocations: 0 / 388.5 MB, free: 6.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.951e-05/0.3478, allocations: 0 / 388.5 MB, free: 6.27 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.003126/0.3509, allocations: 1.44 MB / 389.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3509, allocations: 10.09 kB / 390 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.3512, allocations: 122.8 kB / 390.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.3523, allocations: 0.6753 MB / 390.8 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.3524, allocations: 74.75 kB / 390.8 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.3525, allocations: 99.59 kB / 390.9 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.3545, allocations: 1.005 MB / 391.9 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.065e-05/0.3546, allocations: 7.484 kB / 391.9 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.457e-05/0.3547, allocations: 35.69 kB / 392 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.3547, allocations: 27.28 kB / 392 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.3568, allocations: 0.8712 MB / 392.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005357/0.3622, allocations: 3.291 MB / 396.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.3637, allocations: 0.8167 MB / 397 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008736/0.3646, allocations: 475.2 kB / 397.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.23e-05/0.3647, allocations: 11.88 kB / 397.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.3647, allocations: 51.19 kB / 397.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=91): time 2.966e-06/0.3647, allocations: 0 / 397.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=115): time 0.009474/0.3742, allocations: 4.307 MB / 401.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.3743, allocations: 97.52 kB / 401.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009016/0.3752, allocations: 0.5992 MB / 402.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.011e-05/0.3753, allocations: 46.3 kB / 402.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.3756, allocations: 429.3 kB / 403 MB, free: 13.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.376, allocations: 387.5 kB / 403.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003002/0.3763, allocations: 188.4 kB / 403.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.3765, allocations: 394 kB / 403.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000893/0.3774, allocations: 381.1 kB / 404.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009607/0.3783, allocations: 0.5092 MB / 404.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.38, allocations: 0.8819 MB / 405.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.38, allocations: 1.438 kB / 405.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002421/0.3824, allocations: 1.191 MB / 406.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.3825, allocations: 6.375 kB / 406.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.3825, allocations: 3.688 kB / 406.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004154/0.3829, allocations: 130.4 kB / 407 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.384, allocations: 255.7 kB / 407.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00425/0.3882, allocations: 4.972 MB / 412.2 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008745/0.3891, allocations: 54.44 kB / 412.3 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.575e-05/0.3892, allocations: 38.86 kB / 412.3 MB, free: 6.188 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.0005433/0.3898, allocations: 280.3 kB / 412.6 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.39, allocations: 93.05 kB / 412.7 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.3916, allocations: 0.769 MB / 413.5 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.3916, allocations: 15.69 kB / 413.5 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.3916, allocations: 3.656 kB / 413.5 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.3917, allocations: 5.172 kB / 413.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004805/0.3965, allocations: 2.658 MB / 416.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.3965, allocations: 1.25 kB / 416.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009207/0.3974, allocations: 200.8 kB / 416.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004272/0.3979, allocations: 152.4 kB / 416.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.418e-05/0.3979, allocations: 31.98 kB / 416.5 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004428/0.4024, allocations: 5.978 MB / 422.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4024, allocations: 7.969 kB / 422.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003343/0.4057, allocations: 1.749 MB / 424.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/0.4061, allocations: 160.1 kB / 424.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.4063, allocations: 24 kB / 424.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006553/0.4069, allocations: 47.95 kB / 424.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.4071, allocations: 76.45 kB / 424.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.42e-05/0.4072, allocations: 35.98 kB / 424.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006981/0.4079, allocations: 439.1 kB / 425 MB, free: 10.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4079, allocations: 0 / 425 MB, free: 10.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001091/0.409, allocations: 252 kB / 425.3 MB, free: 9.961 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.0002176/0.4092, allocations: 142.4 kB / 425.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002615/0.4118, allocations: 1.354 MB / 426.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4119, allocations: 0 / 426.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001565/0.4134, allocations: 0.9982 MB / 427.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.4145, allocations: 188.8 kB / 427.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/0.4187, allocations: 2.143 MB / 430.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007538/0.4195, allocations: 1.02 MB / 431.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000554/0.4201, allocations: 123.6 kB / 431.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.4203, allocations: 75.41 kB / 431.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4203, allocations: 0 / 431.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of Templates: time 0.02322/0.4436, allocations: 12.16 MB / 443.4 MB, free: 7.59 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)