Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005495/0.005495, allocations: 165.8 kB / 15.11 MB, free: 5.973 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.297/1.297, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001974/0.001974, allocations: 114.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003229, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2636, allocations: 38.77 MB / 312.9 MB, free: 38.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.366, allocations: 77.23 MB / 390.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/0.3664, allocations: 87.95 kB / 390.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04196/0.4084, allocations: 15.18 MB / 405.4 MB, free: 13.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4084, allocations: 0 / 405.4 MB, free: 13.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.344e-05/0.4085, allocations: 20 kB / 405.4 MB, free: 13.95 MB / 314.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.001976/0.4105, allocations: 1.104 MB / 406.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4105, allocations: 12.03 kB / 406.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.4107, allocations: 94.78 kB / 406.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008695/0.4116, allocations: 0.524 MB / 407.1 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.4117, allocations: 49.31 kB / 407.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.4118, allocations: 63.91 kB / 407.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.4131, allocations: 0.6713 MB / 407.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.4131, allocations: 0 / 407.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.4132, allocations: 24 kB / 407.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.4133, allocations: 20 kB / 408 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.4145, allocations: 0.6179 MB / 408.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00413/0.4187, allocations: 2.651 MB / 411.2 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000968/0.4197, allocations: 0.5164 MB / 411.7 MB, free: 7.344 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.074e-05/0.4197, allocations: 8.438 kB / 411.8 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.4198, allocations: 39 kB / 411.8 MB, free: 7.289 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.653e-06/0.4198, allocations: 0 / 411.8 MB, free: 7.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.004669/0.4245, allocations: 1.745 MB / 413.5 MB, free: 5.535 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.4245, allocations: 55.97 kB / 413.6 MB, free: 5.469 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.4259, allocations: 0.8434 MB / 414.4 MB, free: 4.621 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.4259, allocations: 33.7 kB / 414.5 MB, free: 4.582 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.4262, allocations: 396 kB / 414.9 MB, free: 4.188 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.4264, allocations: 216.8 kB / 415.1 MB, free: 3.973 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.4264, allocations: 16 kB / 415.1 MB, free: 3.957 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.4266, allocations: 394.7 kB / 415.5 MB, free: 3.562 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006297/0.4273, allocations: 277.9 kB / 415.7 MB, free: 3.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006847/0.428, allocations: 379.1 kB / 416.1 MB, free: 2.891 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006885/0.4287, allocations: 340.8 kB / 416.4 MB, free: 2.551 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4287, allocations: 0 / 416.4 MB, free: 2.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001699/0.4304, allocations: 0.8417 MB / 417.3 MB, free: 1.695 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.4304, allocations: 39.88 kB / 417.3 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4305, allocations: 0 / 417.3 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.4305, allocations: 8 kB / 417.3 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008229/0.4313, allocations: 187.7 kB / 417.5 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.4313, allocations: 19.92 kB / 417.5 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006089/0.432, allocations: 59.95 kB / 417.6 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.432, allocations: 23.98 kB / 417.6 MB, free: 1.359 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 () * 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.0004211/0.4324, allocations: 273.7 kB / 417.9 MB, free: 1.082 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.4326, allocations: 82.97 kB / 418 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.4341, allocations: 0.706 MB / 418.7 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.4341, allocations: 4 kB / 418.7 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4341, allocations: 0 / 418.7 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4342, allocations: 7.938 kB / 418.7 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.188/0.6222, allocations: 1.956 MB / 420.6 MB, free: 84.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.6222, allocations: 2.094 kB / 420.6 MB, free: 84.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006731/0.6229, allocations: 155.7 kB / 420.8 MB, free: 84.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.586e-05/0.6229, allocations: 5.5 kB / 420.8 MB, free: 84.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.623, allocations: 15.31 kB / 420.8 MB, free: 84.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.623, allocations: 8.969 kB / 420.8 MB, free: 84.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.623, allocations: 4.062 kB / 420.8 MB, free: 84.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.6246, allocations: 0.9153 MB / 421.7 MB, free: 84.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004061/0.625, allocations: 238.4 kB / 422 MB, free: 84.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.194e-05/0.6251, allocations: 14.75 kB / 422 MB, free: 84.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005379/0.6257, allocations: 57.89 kB / 422 MB, free: 84.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.6258, allocations: 47.62 kB / 422.1 MB, free: 84.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.6258, allocations: 26.61 kB / 422.1 MB, free: 84.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009407/0.6268, allocations: 0.6668 MB / 422.8 MB, free: 83.92 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6268, allocations: 0 / 422.8 MB, free: 83.92 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008971/0.6277, allocations: 179.1 kB / 423 MB, free: 83.92 MB / 314.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.0006025/0.6283, allocations: 244.6 kB / 423.2 MB, free: 83.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.6299, allocations: 0.7041 MB / 423.9 MB, free: 83.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.6299, allocations: 0 / 423.9 MB, free: 83.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007098/0.6306, allocations: 343.2 kB / 424.2 MB, free: 83.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006267/0.6312, allocations: 100.7 kB / 424.3 MB, free: 83.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/0.6343, allocations: 1.929 MB / 426.3 MB, free: 82.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/0.6348, allocations: 0.9817 MB / 427.2 MB, free: 82.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000471/0.6353, allocations: 110.2 kB / 427.4 MB, free: 82.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.6356, allocations: 61.59 kB / 427.4 MB, free: 82.2 MB / 314.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6356, allocations: 0 / 427.4 MB, free: 82.2 MB / 314.7 MB Notification: Performance of Templates: time 0.01417/0.6497, allocations: 7.707 MB / 435.1 MB, free: 81.72 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1)