Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001031/0.001031, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.395/1.395, allocations: 194.3 MB / 203.1 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001711/0.001711, allocations: 116 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.614e-05/1.616e-05, allocations: 7.938 kB / 298.1 MB, free: 35.51 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07632/0.07635, allocations: 44.5 MB / 342.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3029/0.3794, allocations: 81.34 MB / 423.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.3796, allocations: 80.8 kB / 424 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03371/0.4133, allocations: 15.05 MB / 439.1 MB, free: 4.512 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4133, allocations: 0 / 439.1 MB, free: 4.512 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.628e-05/0.4134, allocations: 23.12 kB / 439.1 MB, free: 4.508 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001405/0.4148, allocations: 0.9892 MB / 440.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.4149, allocations: 7.656 kB / 440.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.415, allocations: 97.17 kB / 440.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006661/0.4157, allocations: 0.5318 MB / 440.7 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.963e-05/0.4158, allocations: 31.81 kB / 440.7 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/0.4158, allocations: 34.16 kB / 440.8 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006988/0.4165, allocations: 476.5 kB / 441.2 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007593/0.4173, allocations: 0.5161 MB / 441.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.4173, allocations: 3.984 kB / 441.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.4174, allocations: 4 kB / 441.8 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.4174, allocations: 19.36 kB / 441.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002933/0.4203, allocations: 2.535 MB / 444.3 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/0.4209, allocations: 436 kB / 444.7 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003949/0.4213, allocations: 248 kB / 445 MB, free: 1.742 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/0.4213, allocations: 14.97 kB / 445 MB, free: 1.738 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.4214, allocations: 42.34 kB / 445 MB, free: 1.695 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 1.613e-06/0.4214, allocations: 0 / 445 MB, free: 1.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001734/0.4231, allocations: 0.9577 MB / 446 MB, free: 1.383 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.4232, allocations: 63.58 kB / 446.1 MB, free: 1.316 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007925/0.424, allocations: 0.7406 MB / 446.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.424, allocations: 25.7 kB / 446.8 MB, free: 1.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.4242, allocations: 401.2 kB / 447.2 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.4243, allocations: 212.1 kB / 447.4 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.4243, allocations: 0 / 447.4 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.4244, allocations: 387.2 kB / 447.8 MB, free: 380 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.4247, allocations: 196.3 kB / 448 MB, free: 376 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.425, allocations: 289.7 kB / 448.3 MB, free: 272 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.4253, allocations: 226.5 kB / 448.5 MB, free: 240 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4254, allocations: 3.875 kB / 448.5 MB, free: 240 kB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0008633/0.4262, allocations: 0.613 MB / 449.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.4263, allocations: 41.64 kB / 449.1 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4263, allocations: 4 kB / 449.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4263, allocations: 4 kB / 449.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008086/0.4271, allocations: 190.3 kB / 449.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.4271, allocations: 15.94 kB / 449.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.4277, allocations: 43.95 kB / 449.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.4278, allocations: 30.55 kB / 449.4 MB, free: 15.58 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.4279, allocations: 120.6 kB / 449.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.428, allocations: 79.06 kB / 449.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008489/0.4289, allocations: 0.5237 MB / 450.1 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.4289, allocations: 8 kB / 450.2 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.4289, allocations: 0 / 450.2 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.4289, allocations: 3.984 kB / 450.2 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.4312, allocations: 1.726 MB / 451.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.4312, allocations: 4 kB / 451.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006304/0.4319, allocations: 151.3 kB / 452 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.4319, allocations: 4 kB / 452 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.4319, allocations: 19.7 kB / 452.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/0.4319, allocations: 7.938 kB / 452.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.4319, allocations: 7.938 kB / 452.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008531/0.4328, allocations: 0.7776 MB / 452.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.4331, allocations: 233.3 kB / 453.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.869e-05/0.4332, allocations: 4 kB / 453.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/0.4337, allocations: 47.95 kB / 453.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.807e-05/0.4338, allocations: 55.58 kB / 453.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.4338, allocations: 19.56 kB / 453.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006464/0.4345, allocations: 0.5883 MB / 453.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4345, allocations: 0 / 453.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005669/0.4351, allocations: 155.9 kB / 453.9 MB, free: 11.8 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005756/0.4356, allocations: 235.6 kB / 454.2 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007498/0.4364, allocations: 0.5308 MB / 454.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4364, allocations: 0 / 454.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.4368, allocations: 263.6 kB / 455 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/0.4374, allocations: 90.41 kB / 455.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.4394, allocations: 1.153 MB / 456.2 MB, free: 9.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.44, allocations: 0.9775 MB / 457.2 MB, free: 8.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004241/0.4404, allocations: 108.8 kB / 457.3 MB, free: 8.801 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.4406, allocations: 62.86 kB / 457.4 MB, free: 8.742 MB / 314.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4406, allocations: 0 / 457.4 MB, free: 8.742 MB / 314.7 MB Notification: Performance of Templates: time 0.01204/0.4527, allocations: 6.744 MB / 464.1 MB, free: 1.996 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1)