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.0009491/0.0009492, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.113/1.113, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001542/0.001542, allocations: 122.3 kB / 256.9 MB, free: 4.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003002, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07117/0.07148, allocations: 44.5 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2065/0.2781, allocations: 82.09 MB / 437.2 MB, free: 7.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.2783, allocations: 91.8 kB / 437.2 MB, free: 7.539 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03448/0.3128, allocations: 15.19 MB / 452.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3128, allocations: 0 / 452.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.75e-05/0.3129, allocations: 16 kB / 452.5 MB, free: 10.85 MB / 330.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.002/0.3149, allocations: 1.108 MB / 453.6 MB, free: 9.688 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.315, allocations: 8.031 kB / 453.6 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.3152, allocations: 106.7 kB / 453.7 MB, free: 9.574 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008795/0.316, allocations: 0.5271 MB / 454.2 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.3162, allocations: 49.31 kB / 454.2 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-05/0.3163, allocations: 60 kB / 454.3 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.3175, allocations: 0.6597 MB / 455 MB, free: 8.219 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.3175, allocations: 0 / 455 MB, free: 8.219 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.566e-05/0.3176, allocations: 28.84 kB / 455 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.3176, allocations: 15.98 kB / 455 MB, free: 8.176 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.3189, allocations: 0.618 MB / 455.6 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003718/0.3226, allocations: 2.656 MB / 458.3 MB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009311/0.3235, allocations: 0.5092 MB / 458.8 MB, free: 4.246 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.3236, allocations: 16.42 kB / 458.8 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.3236, allocations: 38.94 kB / 458.8 MB, free: 4.184 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 1.603e-06/0.3236, allocations: 3.938 kB / 458.9 MB, free: 4.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.004322/0.328, allocations: 1.741 MB / 460.6 MB, free: 2.426 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.328, allocations: 62.41 kB / 460.7 MB, free: 2.355 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.329, allocations: 0.8394 MB / 461.5 MB, free: 1.512 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.3291, allocations: 37.7 kB / 461.5 MB, free: 1.469 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.3293, allocations: 388.1 kB / 461.9 MB, free: 1.082 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.3294, allocations: 220.7 kB / 462.1 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.3295, allocations: 16 kB / 462.1 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3296, allocations: 398.7 kB / 462.5 MB, free: 460 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005942/0.3302, allocations: 277.8 kB / 462.8 MB, free: 184 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006564/0.3309, allocations: 383.1 kB / 463.2 MB, free: 15.78 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/0.3316, allocations: 336.8 kB / 463.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3316, allocations: 0 / 463.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001546/0.3331, allocations: 0.8416 MB / 464.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.3332, allocations: 34.94 kB / 464.4 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3332, allocations: 4 kB / 464.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3332, allocations: 7.25 kB / 464.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007789/0.334, allocations: 195.8 kB / 464.6 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.334, allocations: 4 kB / 464.6 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/0.3346, allocations: 59.95 kB / 464.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.626e-05/0.3347, allocations: 35.92 kB / 464.7 MB, free: 14.25 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0003297/0.335, allocations: 261.7 kB / 464.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.3352, allocations: 90.91 kB / 465 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.3366, allocations: 0.6932 MB / 465.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.3366, allocations: 12 kB / 465.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3366, allocations: 0 / 465.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3366, allocations: 3.984 kB / 465.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.3397, allocations: 1.966 MB / 467.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.3398, allocations: 3.984 kB / 467.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/0.3404, allocations: 159.6 kB / 467.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.3404, allocations: 7.953 kB / 467.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.3404, allocations: 16 kB / 467.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.3404, allocations: 7.938 kB / 467.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3404, allocations: 4 kB / 467.9 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.3418, allocations: 0.9178 MB / 468.8 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/0.3422, allocations: 236.1 kB / 469 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.3423, allocations: 19.98 kB / 469.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004785/0.3428, allocations: 59.95 kB / 469.1 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.349e-05/0.3429, allocations: 44.45 kB / 469.2 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.343, allocations: 18.62 kB / 469.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008247/0.3438, allocations: 0.6747 MB / 469.9 MB, free: 8.832 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3438, allocations: 0 / 469.9 MB, free: 8.832 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005679/0.3444, allocations: 180 kB / 470 MB, free: 8.656 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 65 * 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.0005975/0.345, allocations: 273.9 kB / 470.3 MB, free: 8.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.3464, allocations: 0.7025 MB / 471 MB, free: 7.707 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3464, allocations: 0 / 471 MB, free: 7.707 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006609/0.3471, allocations: 339.9 kB / 471.3 MB, free: 7.375 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.3476, allocations: 108.4 kB / 471.4 MB, free: 7.266 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.3504, allocations: 1.926 MB / 473.4 MB, free: 5.277 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.3509, allocations: 0.9758 MB / 474.3 MB, free: 4.277 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004483/0.3514, allocations: 112.9 kB / 474.5 MB, free: 4.164 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.3516, allocations: 63.41 kB / 474.5 MB, free: 4.102 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3516, allocations: 0 / 474.5 MB, free: 4.102 MB / 346.7 MB Notification: Performance of Templates: time 0.0129/0.3645, allocations: 7.692 MB / 482.2 MB, free: 12.41 MB / 362.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)