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.6678/0.6678, allocations: 110.9 MB / 125.9 MB, free: 6.191 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001641/0.001641, allocations: 135.4 kB / 151.8 MB, free: 4.98 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002306/0.0002306, allocations: 12 kB / 184.9 MB, free: 3.902 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1319, allocations: 25.15 MB / 210.1 MB, free: 29.73 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04642/0.1784, allocations: 42.33 MB / 252.4 MB, free: 7.461 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.1787, allocations: 75.95 kB / 252.5 MB, free: 7.387 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09282/0.2716, allocations: 34.96 MB / 287.4 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2716, allocations: 0 / 287.4 MB, free: 4.363 MB / 218.7 MB Notification: Performance of Transformations before backend: time 4.007e-05/0.2716, allocations: 20 kB / 287.4 MB, free: 4.344 MB / 218.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.002287/0.2739, allocations: 1.22 MB / 288.7 MB, free: 3.074 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.274, allocations: 8.031 kB / 288.7 MB, free: 3.066 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.2742, allocations: 118.6 kB / 288.8 MB, free: 2.949 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008939/0.2751, allocations: 0.5763 MB / 289.4 MB, free: 2.332 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.2752, allocations: 85.98 kB / 289.4 MB, free: 2.246 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.2754, allocations: 95.94 kB / 289.5 MB, free: 2.152 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.2772, allocations: 1.009 MB / 290.5 MB, free: 1.137 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.2773, allocations: 3.906 kB / 290.6 MB, free: 1.133 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.231e-05/0.2774, allocations: 36 kB / 290.6 MB, free: 1.098 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.2774, allocations: 24 kB / 290.6 MB, free: 1.074 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.2793, allocations: 0.9226 MB / 291.5 MB, free: 148 kB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09319/0.3725, allocations: 3.499 MB / 295 MB, free: 50.75 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.3738, allocations: 0.8152 MB / 295.8 MB, free: 50.68 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.095e-05/0.3739, allocations: 12.83 kB / 295.9 MB, free: 50.68 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.3739, allocations: 42.72 kB / 295.9 MB, free: 50.64 MB / 218.7 MB Notification: Performance of pre-optimization done (n=91): time 4.038e-06/0.3739, allocations: 2.656 kB / 295.9 MB, free: 50.64 MB / 218.7 MB Notification: Performance of matching and sorting (n=121): time 0.00891/0.3829, allocations: 4.662 MB / 300.6 MB, free: 49.34 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.3829, allocations: 93.38 kB / 300.7 MB, free: 49.24 MB / 218.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006463/0.3836, allocations: 0.5285 MB / 301.2 MB, free: 49.13 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/0.3836, allocations: 49.42 kB / 301.2 MB, free: 49.1 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.3838, allocations: 413.6 kB / 301.6 MB, free: 48.93 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.3841, allocations: 412.2 kB / 302 MB, free: 48.69 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.276e-05/0.3842, allocations: 23.56 kB / 302.1 MB, free: 48.69 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3843, allocations: 393.1 kB / 302.4 MB, free: 48.38 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008174/0.3851, allocations: 419.6 kB / 302.9 MB, free: 48.37 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008127/0.3859, allocations: 0.5466 MB / 303.4 MB, free: 48.27 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000774/0.3867, allocations: 476.5 kB / 303.9 MB, free: 48.26 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3867, allocations: 0 / 303.9 MB, free: 48.26 MB / 218.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002023/0.3887, allocations: 1.284 MB / 305.2 MB, free: 47.95 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.3888, allocations: 8.719 kB / 305.2 MB, free: 47.95 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3888, allocations: 0 / 305.2 MB, free: 47.95 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003408/0.3891, allocations: 136.8 kB / 305.3 MB, free: 47.9 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.3902, allocations: 267.2 kB / 305.6 MB, free: 47.89 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/0.3927, allocations: 4.559 MB / 310.1 MB, free: 43.54 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008738/0.3936, allocations: 75.91 kB / 310.2 MB, free: 43.53 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/0.3937, allocations: 47.67 kB / 310.2 MB, free: 43.52 MB / 218.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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.0004658/0.3942, allocations: 278.5 kB / 310.5 MB, free: 43.3 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.3943, allocations: 91.78 kB / 310.6 MB, free: 43.25 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.3957, allocations: 0.8084 MB / 311.4 MB, free: 42.88 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3958, allocations: 11.62 kB / 311.4 MB, free: 42.88 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/0.3958, allocations: 7.594 kB / 311.4 MB, free: 42.88 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.3958, allocations: 7.125 kB / 311.4 MB, free: 42.88 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003926/0.3997, allocations: 2.961 MB / 314.4 MB, free: 41.27 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.3998, allocations: 3.531 kB / 314.4 MB, free: 41.27 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008972/0.4007, allocations: 222.9 kB / 314.6 MB, free: 41.25 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004211/0.4011, allocations: 160.7 kB / 314.8 MB, free: 41.19 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.735e-05/0.4012, allocations: 30.67 kB / 314.8 MB, free: 41.17 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002782/0.404, allocations: 5.61 MB / 320.4 MB, free: 35.69 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.404, allocations: 3.75 kB / 320.4 MB, free: 35.69 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.4069, allocations: 2.053 MB / 322.5 MB, free: 34.51 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.4071, allocations: 169 kB / 322.6 MB, free: 34.36 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.4072, allocations: 30.84 kB / 322.7 MB, free: 34.34 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006583/0.4079, allocations: 80.59 kB / 322.7 MB, free: 34.32 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.4081, allocations: 90.67 kB / 322.8 MB, free: 34.3 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.646e-05/0.4081, allocations: 40.22 kB / 322.9 MB, free: 34.29 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0004636/0.4086, allocations: 425.2 kB / 323.3 MB, free: 34.09 MB / 218.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4086, allocations: 0 / 323.3 MB, free: 34.09 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.0008977/0.4095, allocations: 264.5 kB / 323.5 MB, free: 34.05 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.armature.stopper_xMin.v_rel,pmActuator.coil.Phi,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * 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%) 3,(1,100.0%) 4,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002166/0.4097, allocations: 158.2 kB / 323.7 MB, free: 33.93 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.002057/0.4118, allocations: 1.429 MB / 325.1 MB, free: 33.21 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4118, allocations: 3.25 kB / 325.1 MB, free: 33.21 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.413, allocations: 1.07 MB / 326.2 MB, free: 32.54 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008423/0.4139, allocations: 175.3 kB / 326.4 MB, free: 32.48 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/0.4171, allocations: 2.738 MB / 329.1 MB, free: 30.82 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.4175, allocations: 1.045 MB / 330.2 MB, free: 30.1 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.0005469/0.418, allocations: 118.7 kB / 330.3 MB, free: 30.08 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.4182, allocations: 77.08 kB / 330.3 MB, free: 30.07 MB / 218.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4182, allocations: 2.625 kB / 330.3 MB, free: 30.07 MB / 218.7 MB Notification: Performance of Templates: time 0.01641/0.4347, allocations: 11.6 MB / 341.9 MB, free: 24.12 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)