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.7373/0.7373, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00174/0.001739, allocations: 139.5 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.551e-05/2.553e-05, allocations: 8 kB / 180.2 MB, free: 17.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04772/0.04776, allocations: 25.18 MB / 205.4 MB, free: 8.414 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.176/0.2238, allocations: 42.23 MB / 247.6 MB, free: 18.28 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.2241, allocations: 67.7 kB / 247.7 MB, free: 18.28 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08257/0.3067, allocations: 35.02 MB / 282.7 MB, free: 7.191 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3067, allocations: 0 / 282.7 MB, free: 7.191 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.752e-05/0.3067, allocations: 20 kB / 282.7 MB, free: 7.172 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.001824/0.3086, allocations: 1.119 MB / 283.9 MB, free: 6.066 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3086, allocations: 8.031 kB / 283.9 MB, free: 6.059 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.3088, allocations: 122.5 kB / 284 MB, free: 5.938 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/0.3095, allocations: 0.5778 MB / 284.6 MB, free: 5.457 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.3097, allocations: 76.44 kB / 284.6 MB, free: 5.41 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.3098, allocations: 90.88 kB / 284.7 MB, free: 5.352 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.3112, allocations: 0.9169 MB / 285.6 MB, free: 4.582 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.3112, allocations: 7.891 kB / 285.6 MB, free: 4.574 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.869e-05/0.3113, allocations: 47.92 kB / 285.7 MB, free: 4.527 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.3113, allocations: 24 kB / 285.7 MB, free: 4.504 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.3124, allocations: 0.7619 MB / 286.5 MB, free: 3.746 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004024/0.3164, allocations: 3.49 MB / 290 MB, free: 104 kB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.3176, allocations: 0.7439 MB / 290.7 MB, free: 15.33 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000726/0.3183, allocations: 447.8 kB / 291.1 MB, free: 14.89 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.977e-05/0.3184, allocations: 12.55 kB / 291.2 MB, free: 14.88 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3184, allocations: 47.06 kB / 291.2 MB, free: 14.82 MB / 202.7 MB Notification: Performance of pre-optimization done (n=91): time 2.846e-06/0.3184, allocations: 3.938 kB / 291.2 MB, free: 14.82 MB / 202.7 MB Notification: Performance of matching and sorting (n=127): time 0.008809/0.3272, allocations: 4.178 MB / 295.4 MB, free: 10.46 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.3273, allocations: 94.33 kB / 295.5 MB, free: 10.35 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007181/0.3281, allocations: 0.5205 MB / 296 MB, free: 9.82 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 7.396e-05/0.3281, allocations: 49.7 kB / 296.1 MB, free: 9.766 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.3284, allocations: 412.3 kB / 296.5 MB, free: 9.355 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003431/0.3288, allocations: 429.7 kB / 296.9 MB, free: 8.93 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.3288, allocations: 24 kB / 296.9 MB, free: 8.906 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.329, allocations: 394.7 kB / 297.3 MB, free: 8.512 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006457/0.3297, allocations: 362.6 kB / 297.6 MB, free: 8.156 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007047/0.3304, allocations: 0.4888 MB / 298.1 MB, free: 7.637 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006788/0.3311, allocations: 419.7 kB / 298.5 MB, free: 7.227 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.3311, allocations: 0 / 298.5 MB, free: 7.227 MB / 202.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001959/0.3331, allocations: 1.195 MB / 299.7 MB, free: 6.012 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.3331, allocations: 9.719 kB / 299.7 MB, free: 6.004 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.3331, allocations: 4 kB / 299.7 MB, free: 6 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000443/0.3336, allocations: 150.7 kB / 299.9 MB, free: 5.844 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.3347, allocations: 283.6 kB / 300.2 MB, free: 5.566 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00406/0.3388, allocations: 4.766 MB / 304.9 MB, free: 412 kB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009075/0.3397, allocations: 80.05 kB / 305 MB, free: 332 kB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.472e-05/0.3398, allocations: 43.98 kB / 305.1 MB, free: 288 kB / 202.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.0002622/0.3401, allocations: 176.6 kB / 305.2 MB, free: 104 kB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.3403, allocations: 98.86 kB / 305.3 MB, free: 4 kB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.3418, allocations: 0.7715 MB / 306.1 MB, free: 15.21 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.3419, allocations: 12 kB / 306.1 MB, free: 15.2 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.3419, allocations: 7.938 kB / 306.1 MB, free: 15.2 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.3419, allocations: 7.984 kB / 306.1 MB, free: 15.19 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004307/0.3462, allocations: 2.926 MB / 309 MB, free: 12.13 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.3462, allocations: 4 kB / 309.1 MB, free: 12.13 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.3473, allocations: 248 kB / 309.3 MB, free: 11.89 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003564/0.3476, allocations: 134.4 kB / 309.4 MB, free: 11.75 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.858e-05/0.3477, allocations: 31.98 kB / 309.5 MB, free: 11.71 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003432/0.3512, allocations: 4.377 MB / 313.8 MB, free: 6.938 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.3512, allocations: 7.953 kB / 313.8 MB, free: 6.93 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/0.354, allocations: 1.896 MB / 315.7 MB, free: 4.914 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.3542, allocations: 176 kB / 315.9 MB, free: 4.723 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.3544, allocations: 28 kB / 315.9 MB, free: 4.695 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007086/0.3551, allocations: 75.94 kB / 316 MB, free: 4.621 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.3553, allocations: 92.56 kB / 316.1 MB, free: 4.531 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.786e-05/0.3553, allocations: 39.98 kB / 316.1 MB, free: 4.492 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0005946/0.3559, allocations: 417.6 kB / 316.5 MB, free: 4.082 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.523e-06/0.356, allocations: 0 / 316.5 MB, free: 4.082 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001111/0.3571, allocations: 275.9 kB / 316.8 MB, free: 3.812 MB / 218.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.0002904/0.3574, allocations: 151.9 kB / 317 MB, free: 3.656 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.002196/0.3596, allocations: 1.342 MB / 318.3 MB, free: 2.277 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3596, allocations: 0 / 318.3 MB, free: 2.277 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.3608, allocations: 0.9031 MB / 319.2 MB, free: 1.336 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009358/0.3617, allocations: 171.2 kB / 319.4 MB, free: 1.168 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.3648, allocations: 1.772 MB / 321.2 MB, free: 15.34 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006622/0.3655, allocations: 1.052 MB / 322.2 MB, free: 14.27 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0006177/0.3661, allocations: 119.7 kB / 322.3 MB, free: 14.14 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.3663, allocations: 83.41 kB / 322.4 MB, free: 14.06 MB / 234.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3664, allocations: 0 / 322.4 MB, free: 14.06 MB / 234.7 MB Notification: Performance of Templates: time 0.02014/0.3865, allocations: 11.79 MB / 334.2 MB, free: 2.262 MB / 234.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)