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.001236/0.001236, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00147/0.00147, allocations: 177.3 kB / 15.94 MB, free: 228 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.587/1.587, allocations: 205.4 MB / 222.1 MB, free: 5.551 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.0005057/0.0005057, allocations: 8 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2669, allocations: 47.58 MB / 326.4 MB, free: 1.465 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005426/0.2724, allocations: 5.018 MB / 331.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00338/0.2758, allocations: 1.845 MB / 333.3 MB, free: 12.06 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005373/0.2764, allocations: 18.69 kB / 333.3 MB, free: 12.06 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00042/0.2768, allocations: 159.7 kB / 333.5 MB, free: 11.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.2778, allocations: 423.2 kB / 333.9 MB, free: 11.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005891/0.2784, allocations: 212.9 kB / 334.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.2798, allocations: 0.9084 MB / 335 MB, free: 10.79 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006411/0.2804, allocations: 372.5 kB / 335.4 MB, free: 10.55 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005522/0.281, allocations: 422.5 kB / 335.8 MB, free: 10.13 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005653/0.2816, allocations: 493.9 kB / 336.3 MB, free: 9.648 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.2817, allocations: 64 kB / 336.3 MB, free: 9.586 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.2818, allocations: 60 kB / 336.4 MB, free: 9.527 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.282, allocations: 199.2 kB / 336.6 MB, free: 9.332 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.2822, allocations: 241.1 kB / 336.8 MB, free: 9.09 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.2835, allocations: 1.46 MB / 338.3 MB, free: 7.625 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.2835, allocations: 0 / 338.3 MB, free: 7.625 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.2835, allocations: 0 / 338.3 MB, free: 7.625 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.2836, allocations: 0 / 338.3 MB, free: 7.625 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.002702/0.2863, allocations: 1.29 MB / 339.6 MB, free: 6.285 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.2863, allocations: 8.031 kB / 339.6 MB, free: 6.277 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.2866, allocations: 118.6 kB / 339.7 MB, free: 6.16 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.2876, allocations: 0.6563 MB / 340.3 MB, free: 5.457 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.2877, allocations: 81.94 kB / 340.4 MB, free: 5.379 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.2879, allocations: 96 kB / 340.5 MB, free: 5.285 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.2897, allocations: 1.009 MB / 341.5 MB, free: 4.266 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.2898, allocations: 3.906 kB / 341.5 MB, free: 4.262 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.777e-05/0.2899, allocations: 40 kB / 341.6 MB, free: 4.223 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/0.2899, allocations: 31.98 kB / 341.6 MB, free: 4.191 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.2918, allocations: 0.9147 MB / 342.5 MB, free: 3.277 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004816/0.2966, allocations: 3.352 MB / 345.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.298, allocations: 0.8402 MB / 346.7 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.062e-05/0.2981, allocations: 8.562 kB / 346.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.2981, allocations: 47.11 kB / 346.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of pre-optimization done (n=91): time 2.986e-06/0.2981, allocations: 0 / 346.8 MB, free: 14.88 MB / 286.1 MB Notification: Performance of matching and sorting (n=115): time 0.009045/0.3072, allocations: 4.44 MB / 351.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.3073, allocations: 85.77 kB / 351.3 MB, free: 10.13 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007611/0.308, allocations: 0.5968 MB / 351.9 MB, free: 9.527 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.202e-05/0.3081, allocations: 49.7 kB / 351.9 MB, free: 9.473 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.3084, allocations: 424.1 kB / 352.3 MB, free: 9.051 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.3087, allocations: 398.1 kB / 352.7 MB, free: 8.656 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.3088, allocations: 28 kB / 352.8 MB, free: 8.629 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.309, allocations: 390.8 kB / 353.1 MB, free: 8.238 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008396/0.3098, allocations: 402.4 kB / 353.5 MB, free: 7.848 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009219/0.3107, allocations: 0.5198 MB / 354.1 MB, free: 7.293 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008709/0.3116, allocations: 447.9 kB / 354.5 MB, free: 6.855 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.3116, allocations: 4 kB / 354.5 MB, free: 6.852 MB / 286.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002308/0.314, allocations: 1.223 MB / 355.7 MB, free: 5.613 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.314, allocations: 12.16 kB / 355.7 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.314, allocations: 4 kB / 355.7 MB, free: 5.598 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003703/0.3144, allocations: 122.5 kB / 355.9 MB, free: 5.469 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.3154, allocations: 263.6 kB / 356.1 MB, free: 5.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003964/0.3194, allocations: 4.56 MB / 360.7 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007174/0.3201, allocations: 72.02 kB / 360.7 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.3202, allocations: 35.98 kB / 360.8 MB, free: 148 kB / 286.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.0005106/0.3208, allocations: 274.1 kB / 361.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.3209, allocations: 94.83 kB / 361.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.3224, allocations: 0.7801 MB / 361.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.3224, allocations: 8 kB / 361.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.3224, allocations: 4 kB / 361.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.3225, allocations: 7.969 kB / 361.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003988/0.3265, allocations: 2.698 MB / 364.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.3265, allocations: 8 kB / 364.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008767/0.3274, allocations: 223.7 kB / 364.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003967/0.3278, allocations: 159.5 kB / 365 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-05/0.3278, allocations: 23.98 kB / 365 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003835/0.3317, allocations: 5.596 MB / 370.6 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3317, allocations: 4.016 kB / 370.6 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003048/0.3348, allocations: 1.831 MB / 372.5 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.335, allocations: 168 kB / 372.6 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.3351, allocations: 20 kB / 372.7 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005873/0.3357, allocations: 67.95 kB / 372.7 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.3358, allocations: 76.45 kB / 372.8 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.508e-05/0.3359, allocations: 31.92 kB / 372.8 MB, free: 3.344 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005381/0.3364, allocations: 443.1 kB / 373.3 MB, free: 2.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3364, allocations: 0 / 373.3 MB, free: 2.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008716/0.3373, allocations: 252 kB / 373.5 MB, free: 2.664 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.0001772/0.3375, allocations: 134.8 kB / 373.6 MB, free: 2.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002245/0.3397, allocations: 1.373 MB / 375 MB, free: 1.109 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3398, allocations: 3.938 kB / 375 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.3411, allocations: 1.022 MB / 376 MB, free: 28 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007519/0.3419, allocations: 165.8 kB / 376.2 MB, free: 15.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.3455, allocations: 2.643 MB / 378.8 MB, free: 13.19 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.346, allocations: 1.044 MB / 379.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004719/0.3465, allocations: 119.6 kB / 380 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.3467, allocations: 79.41 kB / 380.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3467, allocations: 0 / 380.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of Templates: time 0.01864/0.3654, allocations: 10.77 MB / 390.9 MB, free: 1.129 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: