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.001271/0.001271, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.00179/0.00179, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0005327/0.0005327, allocations: 10.81 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2835, allocations: 47.59 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005847/0.2894, allocations: 5.435 MB / 331.9 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003437/0.2928, allocations: 1.777 MB / 333.7 MB, free: 11.68 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004258/0.2933, allocations: 23.03 kB / 333.7 MB, free: 11.67 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004529/0.2937, allocations: 166.5 kB / 333.9 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008402/0.2946, allocations: 330.9 kB / 334.2 MB, free: 11.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.2951, allocations: 209.9 kB / 334.4 MB, free: 11.09 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00138/0.2965, allocations: 1.322 MB / 335.7 MB, free: 10.21 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005828/0.2971, allocations: 375.4 kB / 336.1 MB, free: 9.828 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004916/0.2976, allocations: 422.3 kB / 336.5 MB, free: 9.414 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000602/0.2982, allocations: 489.8 kB / 337 MB, free: 8.934 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.2984, allocations: 64 kB / 337 MB, free: 8.871 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.2985, allocations: 63.94 kB / 337.1 MB, free: 8.809 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.2987, allocations: 195.1 kB / 337.3 MB, free: 8.617 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.299, allocations: 245.1 kB / 337.5 MB, free: 8.371 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.3004, allocations: 1.457 MB / 339 MB, free: 6.91 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3004, allocations: 0 / 339 MB, free: 6.91 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3004, allocations: 4 kB / 339 MB, free: 6.906 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.3004, allocations: 0 / 339 MB, free: 6.906 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.002761/0.3032, allocations: 1.297 MB / 340.3 MB, free: 5.559 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.3032, allocations: 12.03 kB / 340.3 MB, free: 5.547 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.3035, allocations: 118.6 kB / 340.4 MB, free: 5.43 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.3045, allocations: 0.6446 MB / 341.1 MB, free: 4.738 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.3046, allocations: 74 kB / 341.1 MB, free: 4.668 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.3047, allocations: 99.98 kB / 341.2 MB, free: 4.57 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.3066, allocations: 1.025 MB / 342.3 MB, free: 3.535 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.3066, allocations: 7.844 kB / 342.3 MB, free: 3.527 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.842e-05/0.3067, allocations: 40 kB / 342.3 MB, free: 3.488 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.3067, allocations: 24 kB / 342.3 MB, free: 3.465 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.3086, allocations: 0.9069 MB / 343.2 MB, free: 2.559 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004777/0.3134, allocations: 3.352 MB / 346.6 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.3148, allocations: 0.8364 MB / 347.4 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000882/0.3157, allocations: 495.1 kB / 347.9 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-05/0.3158, allocations: 13.16 kB / 347.9 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.3159, allocations: 51 kB / 348 MB, free: 13.67 MB / 286.1 MB Notification: Performance of pre-optimization done (n=91): time 2.414e-06/0.3159, allocations: 0 / 348 MB, free: 13.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=115): time 0.009135/0.325, allocations: 4.422 MB / 352.4 MB, free: 9.039 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.3251, allocations: 93.77 kB / 352.5 MB, free: 8.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008282/0.3259, allocations: 0.5968 MB / 353.1 MB, free: 8.324 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.256e-05/0.326, allocations: 45.7 kB / 353.1 MB, free: 8.273 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/0.3264, allocations: 432.1 kB / 353.6 MB, free: 7.844 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003647/0.3268, allocations: 398.2 kB / 353.9 MB, free: 7.449 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.3269, allocations: 24 kB / 354 MB, free: 7.426 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000331/0.3272, allocations: 394.7 kB / 354.3 MB, free: 7.031 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008289/0.328, allocations: 406.4 kB / 354.7 MB, free: 6.637 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000923/0.329, allocations: 0.5276 MB / 355.3 MB, free: 6.074 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009191/0.3299, allocations: 444 kB / 355.7 MB, free: 5.641 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3299, allocations: 3.938 kB / 355.7 MB, free: 5.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002274/0.3322, allocations: 1.227 MB / 356.9 MB, free: 4.395 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.3322, allocations: 8 kB / 356.9 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.3322, allocations: 0 / 356.9 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004048/0.3327, allocations: 130.5 kB / 357.1 MB, free: 4.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.3337, allocations: 271.6 kB / 357.3 MB, free: 3.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004108/0.3378, allocations: 4.52 MB / 361.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006856/0.3385, allocations: 55.97 kB / 361.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/0.3386, allocations: 43.98 kB / 362 MB, free: 14.96 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_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 initialization (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005287/0.3392, allocations: 282 kB / 362.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.3393, allocations: 94.88 kB / 362.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.3409, allocations: 0.784 MB / 363.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.3409, allocations: 12 kB / 363.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.3409, allocations: 4 kB / 363.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.341, allocations: 7.938 kB / 363.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00425/0.3452, allocations: 2.71 MB / 365.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.3452, allocations: 3.953 kB / 365.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000866/0.3461, allocations: 207.8 kB / 366 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004957/0.3466, allocations: 159.3 kB / 366.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.11e-05/0.3467, allocations: 27.98 kB / 366.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004452/0.3512, allocations: 5.561 MB / 371.8 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3512, allocations: 0 / 371.8 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003402/0.3546, allocations: 1.79 MB / 373.6 MB, free: 2.625 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/0.3549, allocations: 164.1 kB / 373.7 MB, free: 2.445 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.3551, allocations: 24 kB / 373.8 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005532/0.3556, allocations: 56.09 kB / 373.8 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.3558, allocations: 88.33 kB / 373.9 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/0.3559, allocations: 32 kB / 373.9 MB, free: 2.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006404/0.3565, allocations: 443.1 kB / 374.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3565, allocations: 0 / 374.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001022/0.3576, allocations: 256 kB / 374.6 MB, free: 1.566 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000218/0.3578, allocations: 134.2 kB / 374.8 MB, free: 1.426 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002511/0.3603, allocations: 1.381 MB / 376.1 MB, free: 4 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3603, allocations: 0 / 376.1 MB, free: 4 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.3619, allocations: 1.026 MB / 377.2 MB, free: 14.92 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009835/0.3629, allocations: 174.9 kB / 377.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004191/0.3671, allocations: 2.639 MB / 380 MB, free: 12.08 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006581/0.3678, allocations: 1.032 MB / 381 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005774/0.3683, allocations: 115.6 kB / 381.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.3686, allocations: 71.42 kB / 381.2 MB, free: 10.83 MB / 318.1 MB Notification: Performance of SimCode: time 1.462e-06/0.3686, allocations: 4 kB / 381.2 MB, free: 10.82 MB / 318.1 MB Notification: Performance of Templates: time 0.02005/0.3886, allocations: 10.8 MB / 392 MB, free: 16 kB / 318.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)