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.001013/0.001013, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.001277/0.001277, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.63/1.63, allocations: 205.4 MB / 223.4 MB, free: 5.289 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.0004875/0.0004877, allocations: 12 kB / 280.1 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2786, allocations: 47.59 MB / 327.7 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006464/0.2851, allocations: 5.428 MB / 333.2 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004292/0.2894, allocations: 1.775 MB / 334.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.2905, allocations: 18.44 kB / 335 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005741/0.2911, allocations: 166.5 kB / 335.1 MB, free: 11.57 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009912/0.2921, allocations: 331.1 kB / 335.4 MB, free: 11.3 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.2928, allocations: 221.8 kB / 335.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001658/0.2944, allocations: 1.317 MB / 337 MB, free: 10.21 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005905/0.295, allocations: 379.3 kB / 337.3 MB, free: 9.824 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005516/0.2956, allocations: 418.4 kB / 337.8 MB, free: 9.414 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005319/0.2961, allocations: 497.8 kB / 338.2 MB, free: 8.926 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.2963, allocations: 60 kB / 338.3 MB, free: 8.867 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.2964, allocations: 60 kB / 338.4 MB, free: 8.809 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.2966, allocations: 195.2 kB / 338.6 MB, free: 8.617 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.2968, allocations: 241.1 kB / 338.8 MB, free: 8.375 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.298, allocations: 1.464 MB / 340.3 MB, free: 6.906 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.298, allocations: 0 / 340.3 MB, free: 6.906 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.298, allocations: 0 / 340.3 MB, free: 6.906 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.298, allocations: 0 / 340.3 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.002485/0.3005, allocations: 1.297 MB / 341.5 MB, free: 5.559 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3006, allocations: 12.03 kB / 341.6 MB, free: 5.547 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/0.3008, allocations: 122.6 kB / 341.7 MB, free: 5.426 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.3018, allocations: 0.6524 MB / 342.3 MB, free: 4.727 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.3019, allocations: 78 kB / 342.4 MB, free: 4.652 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.3021, allocations: 92 kB / 342.5 MB, free: 4.562 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.304, allocations: 1.029 MB / 343.5 MB, free: 3.523 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.3041, allocations: 7.906 kB / 343.5 MB, free: 3.516 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/0.3041, allocations: 40 kB / 343.6 MB, free: 3.477 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.3042, allocations: 24 kB / 343.6 MB, free: 3.453 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.306, allocations: 0.907 MB / 344.5 MB, free: 2.547 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005016/0.311, allocations: 3.348 MB / 347.9 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.3125, allocations: 0.8403 MB / 348.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000844/0.3133, allocations: 491.2 kB / 349.2 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.029e-05/0.3134, allocations: 13.16 kB / 349.2 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.3134, allocations: 51.11 kB / 349.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=91): time 2.665e-06/0.3134, allocations: 0 / 349.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=115): time 0.009189/0.3226, allocations: 4.418 MB / 353.7 MB, free: 9.035 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.3227, allocations: 93.7 kB / 353.7 MB, free: 8.926 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008169/0.3235, allocations: 0.6085 MB / 354.4 MB, free: 8.309 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.957e-05/0.3236, allocations: 45.7 kB / 354.4 MB, free: 8.258 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.3239, allocations: 428.1 kB / 354.8 MB, free: 7.832 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003285/0.3243, allocations: 398.2 kB / 355.2 MB, free: 7.438 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.3243, allocations: 20 kB / 355.2 MB, free: 7.418 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002279/0.3246, allocations: 394.7 kB / 355.6 MB, free: 7.023 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008081/0.3254, allocations: 398.4 kB / 356 MB, free: 6.637 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008863/0.3263, allocations: 0.5354 MB / 356.5 MB, free: 6.066 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008788/0.3272, allocations: 443.9 kB / 357 MB, free: 5.633 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.3272, allocations: 4 kB / 357 MB, free: 5.629 MB / 286.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002338/0.3295, allocations: 1.227 MB / 358.2 MB, free: 4.387 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.3296, allocations: 8 kB / 358.2 MB, free: 4.379 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.3296, allocations: 4 kB / 358.2 MB, free: 4.375 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003988/0.33, allocations: 130.5 kB / 358.3 MB, free: 4.238 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.331, allocations: 259.7 kB / 358.6 MB, free: 3.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003578/0.3346, allocations: 4.517 MB / 363.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008005/0.3354, allocations: 68.02 kB / 363.2 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.259e-05/0.3355, allocations: 39.98 kB / 363.2 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.0005402/0.3361, allocations: 281.9 kB / 363.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.3362, allocations: 90.88 kB / 363.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.3378, allocations: 0.784 MB / 364.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.3378, allocations: 12 kB / 364.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.3379, allocations: 0 / 364.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/0.3379, allocations: 15.92 kB / 364.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00439/0.3423, allocations: 2.694 MB / 367.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.3423, allocations: 8.016 kB / 367.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009055/0.3432, allocations: 215.7 kB / 367.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/0.3437, allocations: 155.3 kB / 367.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.977e-05/0.3437, allocations: 31.98 kB / 367.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004673/0.3484, allocations: 5.553 MB / 373 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/0.3485, allocations: 7.875 kB / 373 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003806/0.3523, allocations: 1.79 MB / 374.8 MB, free: 2.625 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/0.3527, allocations: 164.1 kB / 375 MB, free: 2.445 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.3529, allocations: 20 kB / 375 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006917/0.3536, allocations: 67.95 kB / 375.1 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.3538, allocations: 80.41 kB / 375.2 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-05/0.3539, allocations: 27.98 kB / 375.2 MB, free: 2.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007623/0.3546, allocations: 447.1 kB / 375.6 MB, free: 1.816 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3547, allocations: 0 / 375.6 MB, free: 1.816 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001302/0.356, allocations: 256 kB / 375.9 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.0002909/0.3563, allocations: 133.8 kB / 376 MB, free: 1.426 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003186/0.3595, allocations: 1.381 MB / 377.4 MB, free: 4 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.3595, allocations: 0 / 377.4 MB, free: 4 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.3612, allocations: 1.033 MB / 378.4 MB, free: 14.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.3629, allocations: 175 kB / 378.6 MB, free: 14.74 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005161/0.3681, allocations: 2.643 MB / 381.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008317/0.369, allocations: 1.024 MB / 382.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007685/0.3698, allocations: 123.6 kB / 382.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.3701, allocations: 71.41 kB / 382.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of SimCode: time 1.813e-06/0.3701, allocations: 0 / 382.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of Templates: time 0.0245/0.3946, allocations: 10.8 MB / 393.2 MB, free: 4 kB / 318.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)