Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.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.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001526/0.001526, allocations: 169.4 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.091/1.091, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001474/0.001474, allocations: 91.53 kB / 223.2 MB, free: 4.055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.859e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08045/0.0805, allocations: 38.78 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.226/0.3066, allocations: 77.78 MB / 385.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.3068, allocations: 82.14 kB / 385.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09627/0.4031, allocations: 35.8 MB / 421.3 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4031, allocations: 0 / 421.3 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.34e-05/0.4032, allocations: 20 kB / 421.3 MB, free: 0.5742 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.00242/0.4057, allocations: 1.127 MB / 422.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.4057, allocations: 15.97 kB / 422.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002928/0.406, allocations: 114.6 kB / 422.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.4071, allocations: 0.5979 MB / 423.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.4072, allocations: 81.92 kB / 423.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.4074, allocations: 99.91 kB / 423.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.4091, allocations: 0.9347 MB / 424.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.4091, allocations: 0 / 424.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-05/0.4092, allocations: 43.78 kB / 424.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.4093, allocations: 27.94 kB / 424.4 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.4106, allocations: 0.7775 MB / 425.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005326/0.416, allocations: 3.56 MB / 428.7 MB, free: 8.941 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.4172, allocations: 0.8018 MB / 429.5 MB, free: 8.113 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007508/0.418, allocations: 468.3 kB / 430 MB, free: 7.652 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.439e-05/0.418, allocations: 12.56 kB / 430 MB, free: 7.637 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.4181, allocations: 47.19 kB / 430 MB, free: 7.582 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 2.875e-06/0.4181, allocations: 0 / 430 MB, free: 7.582 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.00905/0.4272, allocations: 4.262 MB / 434.3 MB, free: 3.141 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.4272, allocations: 98.27 kB / 434.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007457/0.428, allocations: 0.5284 MB / 434.9 MB, free: 2.492 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.908e-05/0.4281, allocations: 45.7 kB / 434.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.4283, allocations: 420.4 kB / 435.4 MB, free: 2.023 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002964/0.4286, allocations: 449.4 kB / 435.8 MB, free: 1.578 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.265e-05/0.4287, allocations: 24 kB / 435.8 MB, free: 1.555 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4289, allocations: 398.7 kB / 436.2 MB, free: 1.156 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006116/0.4295, allocations: 374.6 kB / 436.6 MB, free: 0.793 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006919/0.4302, allocations: 0.4967 MB / 437.1 MB, free: 268 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.4309, allocations: 431.6 kB / 437.5 MB, free: 15.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.4309, allocations: 0 / 437.5 MB, free: 15.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002071/0.433, allocations: 1.218 MB / 438.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4331, allocations: 4 kB / 438.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.4331, allocations: 4.312 kB / 438.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004198/0.4335, allocations: 146.5 kB / 438.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.4347, allocations: 291.6 kB / 439.1 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003936/0.4387, allocations: 4.762 MB / 443.9 MB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008213/0.4395, allocations: 88.12 kB / 444 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-05/0.4396, allocations: 39.98 kB / 444 MB, free: 8.852 MB / 330.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 (142): * Single equations (assignments): 139 * 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%) 6,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002101/0.4398, allocations: 176.6 kB / 444.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.44, allocations: 94.88 kB / 444.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.4416, allocations: 0.7873 MB / 445.1 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.4416, allocations: 23.94 kB / 445.1 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.4416, allocations: 0 / 445.1 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.4416, allocations: 8.078 kB / 445.1 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004321/0.446, allocations: 2.969 MB / 448.1 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.446, allocations: 4 kB / 448.1 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.447, allocations: 260 kB / 448.3 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003413/0.4474, allocations: 126.4 kB / 448.5 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.576e-05/0.4475, allocations: 28 kB / 448.5 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003163/0.4506, allocations: 4.393 MB / 452.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.4507, allocations: 3.984 kB / 452.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/0.4536, allocations: 1.945 MB / 454.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/0.454, allocations: 176 kB / 455 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.4542, allocations: 43.88 kB / 455 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007997/0.455, allocations: 71.95 kB / 455.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.4552, allocations: 92.59 kB / 455.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.558e-05/0.4553, allocations: 39.98 kB / 455.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000666/0.4559, allocations: 431.2 kB / 455.7 MB, free: 12.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4559, allocations: 0 / 455.7 MB, free: 12.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001249/0.4572, allocations: 276 kB / 455.9 MB, free: 12.25 MB / 346.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.g_ma.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * 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.0002692/0.4575, allocations: 150.9 kB / 456.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002524/0.46, allocations: 1.361 MB / 457.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.46, allocations: 0 / 457.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.4614, allocations: 0.927 MB / 458.4 MB, free: 9.727 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000932/0.4623, allocations: 148.6 kB / 458.5 MB, free: 9.586 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.4655, allocations: 1.793 MB / 460.3 MB, free: 7.734 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006523/0.4662, allocations: 1.056 MB / 461.4 MB, free: 6.652 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006421/0.4669, allocations: 127.9 kB / 461.5 MB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.4671, allocations: 79.41 kB / 461.6 MB, free: 6.445 MB / 346.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4671, allocations: 0 / 461.6 MB, free: 6.445 MB / 346.7 MB Notification: Performance of Templates: time 0.166/0.6332, allocations: 11.74 MB / 473.3 MB, free: 96.81 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1)