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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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/Modelica 3.1.0+maint.om/package.mo): time 0.7122/0.7122, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001898/0.001898, allocations: 155.4 kB / 144 MB, free: 4.789 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.493e-05/1.495e-05, allocations: 0 / 173.9 MB, free: 22.79 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05773/0.05776, allocations: 25.19 MB / 199 MB, free: 13.68 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0563/0.1141, allocations: 41.57 MB / 240.6 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.1144, allocations: 71.94 kB / 240.7 MB, free: 3.977 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1839/0.2983, allocations: 34.66 MB / 275.3 MB, free: 22.48 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2984, allocations: 0 / 275.3 MB, free: 22.48 MB / 186.7 MB Notification: Performance of Transformations before backend: time 5.277e-05/0.2984, allocations: 24 kB / 275.4 MB, free: 22.46 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002174/0.3006, allocations: 1.104 MB / 276.5 MB, free: 21.31 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3006, allocations: 12.03 kB / 276.5 MB, free: 21.3 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.3009, allocations: 118.5 kB / 276.6 MB, free: 21.18 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007972/0.3017, allocations: 0.5862 MB / 277.2 MB, free: 20.55 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.3018, allocations: 46 kB / 277.2 MB, free: 20.51 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.302, allocations: 56 kB / 277.3 MB, free: 20.46 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001144/0.3031, allocations: 0.7107 MB / 278 MB, free: 19.75 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.3044, allocations: 0.7863 MB / 278.8 MB, free: 18.95 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/0.3044, allocations: 11.84 kB / 278.8 MB, free: 18.94 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.791e-05/0.3045, allocations: 0 / 278.8 MB, free: 18.94 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.3045, allocations: 20 kB / 278.8 MB, free: 18.92 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004159/0.3087, allocations: 3.335 MB / 282.1 MB, free: 15.45 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007936/0.3095, allocations: 0.6864 MB / 282.8 MB, free: 14.74 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005158/0.31, allocations: 423.7 kB / 283.2 MB, free: 14.32 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.947e-05/0.3101, allocations: 16.55 kB / 283.3 MB, free: 14.3 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.3101, allocations: 43.12 kB / 283.3 MB, free: 14.25 MB / 186.7 MB Notification: Performance of pre-optimization done (n=91): time 2.454e-06/0.3101, allocations: 0 / 283.3 MB, free: 14.25 MB / 186.7 MB Notification: Performance of matching and sorting (n=127): time 0.005652/0.3158, allocations: 3.581 MB / 286.9 MB, free: 10.49 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.3158, allocations: 90.33 kB / 287 MB, free: 10.38 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.3163, allocations: 454.1 kB / 287.4 MB, free: 9.926 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.3163, allocations: 25.7 kB / 287.4 MB, free: 9.895 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.3165, allocations: 436.1 kB / 287.9 MB, free: 9.461 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.3167, allocations: 417.7 kB / 288.3 MB, free: 9.047 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.3168, allocations: 0 / 288.3 MB, free: 9.047 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.3169, allocations: 394.7 kB / 288.7 MB, free: 8.652 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/0.3173, allocations: 338.6 kB / 289 MB, free: 8.32 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.3178, allocations: 470 kB / 289.4 MB, free: 7.828 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/0.3183, allocations: 389.2 kB / 289.8 MB, free: 7.453 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3184, allocations: 4 kB / 289.8 MB, free: 7.449 MB / 186.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001462/0.3198, allocations: 1.082 MB / 290.9 MB, free: 6.348 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3199, allocations: 7.953 kB / 290.9 MB, free: 6.34 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.3199, allocations: 4 kB / 290.9 MB, free: 6.336 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003485/0.3202, allocations: 146.5 kB / 291.1 MB, free: 6.184 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.3213, allocations: 279.6 kB / 291.3 MB, free: 5.91 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/0.3239, allocations: 4.607 MB / 295.9 MB, free: 0.9531 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007889/0.3248, allocations: 52.08 kB / 296 MB, free: 0.9023 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.496e-05/0.3249, allocations: 47.98 kB / 296 MB, free: 0.8555 MB / 186.7 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 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * 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 {(2,100.0%) 5,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001827/0.325, allocations: 130.2 kB / 296.2 MB, free: 0.7227 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.3252, allocations: 90.95 kB / 296.3 MB, free: 0.6328 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.3264, allocations: 0.6969 MB / 297 MB, free: 15.92 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.3264, allocations: 15.94 kB / 297 MB, free: 15.91 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.3264, allocations: 7.938 kB / 297 MB, free: 15.9 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.3264, allocations: 3.984 kB / 297 MB, free: 15.89 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004257/0.3307, allocations: 2.685 MB / 299.7 MB, free: 13.1 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.3307, allocations: 8.031 kB / 299.7 MB, free: 13.09 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.3318, allocations: 247.7 kB / 299.9 MB, free: 12.85 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003688/0.3322, allocations: 122.4 kB / 300 MB, free: 12.72 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.791e-05/0.3323, allocations: 15.98 kB / 300.1 MB, free: 12.7 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003443/0.3357, allocations: 4.23 MB / 304.3 MB, free: 8.129 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.3357, allocations: 4.125 kB / 304.3 MB, free: 8.125 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/0.3389, allocations: 1.806 MB / 306.1 MB, free: 6.199 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/0.3393, allocations: 164.1 kB / 306.3 MB, free: 6.02 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/0.3395, allocations: 11.94 kB / 306.3 MB, free: 6.008 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008588/0.3404, allocations: 55.95 kB / 306.3 MB, free: 5.953 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.3406, allocations: 92.53 kB / 306.4 MB, free: 5.863 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.122e-05/0.3407, allocations: 35.98 kB / 306.4 MB, free: 5.828 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0006076/0.3413, allocations: 359 kB / 306.8 MB, free: 5.477 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3413, allocations: 0 / 306.8 MB, free: 5.477 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001276/0.3426, allocations: 216 kB / 307 MB, free: 5.266 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.mmf_PM.Phi,pmActuator.armature.stopper_xMin.v_rel,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 115 * 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%) 2,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002979/0.3429, allocations: 135 kB / 307.1 MB, free: 5.125 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.00249/0.3454, allocations: 1.261 MB / 308.4 MB, free: 3.832 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3454, allocations: 0 / 308.4 MB, free: 3.832 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.3467, allocations: 0.8553 MB / 309.3 MB, free: 2.949 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.3478, allocations: 147 kB / 309.4 MB, free: 2.812 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.3511, allocations: 1.699 MB / 311.1 MB, free: 1.055 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007943/0.3519, allocations: 1.064 MB / 312.2 MB, free: 15.96 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.0007279/0.3526, allocations: 115.4 kB / 312.3 MB, free: 15.84 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.3529, allocations: 71.42 kB / 312.3 MB, free: 15.77 MB / 218.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3529, allocations: 0 / 312.3 MB, free: 15.77 MB / 218.7 MB Notification: Performance of Templates: time 0.01954/0.3724, allocations: 10.61 MB / 323 MB, free: 5.152 MB / 218.7 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)