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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 91.84 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 187.2 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.4 MB / 223.4 MB, free: 5.512 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005323/0.0005325, allocations: 12 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3104, allocations: 47.58 MB / 327.7 MB, free: 1.637 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004731/0.3152, allocations: 3.673 MB / 331.4 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.3187, allocations: 1.662 MB / 333 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005295/0.3193, allocations: 8.438 kB / 333 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008469/0.3202, allocations: 379 kB / 333.4 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.3213, allocations: 430.9 kB / 333.8 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007935/0.3221, allocations: 205.8 kB / 334 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.3231, allocations: 0.6274 MB / 334.7 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004703/0.3236, allocations: 221.4 kB / 334.9 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.3241, allocations: 330.7 kB / 335.2 MB, free: 12.09 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/0.3247, allocations: 412.3 kB / 335.6 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.757e-05/0.3248, allocations: 40 kB / 335.6 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.325, allocations: 51.94 kB / 335.7 MB, free: 11.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.3251, allocations: 175.4 kB / 335.9 MB, free: 11.47 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.3253, allocations: 177.2 kB / 336 MB, free: 11.29 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009792/0.3263, allocations: 0.987 MB / 337 MB, free: 10.3 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3263, allocations: 4 kB / 337 MB, free: 10.3 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3263, allocations: 0 / 337 MB, free: 10.3 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.3263, allocations: 0 / 337 MB, free: 10.3 MB / 270.1 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.002185/0.3285, allocations: 1.09 MB / 338.1 MB, free: 9.16 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3286, allocations: 11.97 kB / 338.1 MB, free: 9.148 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.3287, allocations: 102.8 kB / 338.2 MB, free: 9.047 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009101/0.3297, allocations: 0.5154 MB / 338.8 MB, free: 8.484 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.3298, allocations: 49.31 kB / 338.8 MB, free: 8.438 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.3299, allocations: 64 kB / 338.9 MB, free: 8.375 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.3312, allocations: 0.6596 MB / 339.5 MB, free: 7.699 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.3312, allocations: 0 / 339.5 MB, free: 7.699 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.3313, allocations: 20 kB / 339.5 MB, free: 7.68 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.3313, allocations: 16 kB / 339.6 MB, free: 7.664 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.3326, allocations: 0.5945 MB / 340.2 MB, free: 7.07 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00398/0.3366, allocations: 2.572 MB / 342.7 MB, free: 4.359 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009552/0.3376, allocations: 493.7 kB / 343.2 MB, free: 3.867 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.3377, allocations: 4.438 kB / 343.2 MB, free: 3.863 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.3377, allocations: 39 kB / 343.2 MB, free: 3.816 MB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 2.304e-06/0.3377, allocations: 0 / 343.2 MB, free: 3.816 MB / 270.1 MB Notification: Performance of matching and sorting (n=60): time 0.004695/0.3424, allocations: 1.641 MB / 344.9 MB, free: 2.172 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.3425, allocations: 59.97 kB / 344.9 MB, free: 2.102 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.3437, allocations: 0.9379 MB / 345.9 MB, free: 1.156 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.3437, allocations: 37.7 kB / 345.9 MB, free: 1.113 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.344, allocations: 400 kB / 346.3 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.3442, allocations: 205 kB / 346.5 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.3442, allocations: 16 kB / 346.5 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3444, allocations: 330 kB / 346.9 MB, free: 172 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006253/0.345, allocations: 265.2 kB / 347.1 MB, free: 15.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007346/0.3458, allocations: 359.6 kB / 347.5 MB, free: 15.53 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/0.3464, allocations: 295.1 kB / 347.7 MB, free: 15.24 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3464, allocations: 0 / 347.7 MB, free: 15.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001647/0.3481, allocations: 0.7619 MB / 348.5 MB, free: 14.47 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.3481, allocations: 11.89 kB / 348.5 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3481, allocations: 4 kB / 348.5 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3482, allocations: 4 kB / 348.5 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007894/0.349, allocations: 183.8 kB / 348.7 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.349, allocations: 4 kB / 348.7 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/0.3495, allocations: 55.97 kB / 348.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/0.3496, allocations: 23.98 kB / 348.8 MB, free: 14.19 MB / 286.1 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 (82): * Single equations (assignments): 82 * 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 prepare postOptimizeDAE: time 0.0004985/0.3501, allocations: 269.6 kB / 349.1 MB, free: 13.92 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.3502, allocations: 75.06 kB / 349.1 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.352, allocations: 0.667 MB / 349.8 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.352, allocations: 7.984 kB / 349.8 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.352, allocations: 3.938 kB / 349.8 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.352, allocations: 0 / 349.8 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/0.3553, allocations: 1.812 MB / 351.6 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.3554, allocations: 7.984 kB / 351.6 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/0.3559, allocations: 143.7 kB / 351.8 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.356, allocations: 4.25 kB / 351.8 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.356, allocations: 16 kB / 351.8 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.356, allocations: 7.953 kB / 351.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.356, allocations: 4 kB / 351.8 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.3576, allocations: 0.8503 MB / 352.6 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.3579, allocations: 220 kB / 352.9 MB, free: 9.867 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-05/0.358, allocations: 15.98 kB / 352.9 MB, free: 9.852 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.3584, allocations: 43.97 kB / 352.9 MB, free: 9.809 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.3586, allocations: 48.31 kB / 353 MB, free: 9.762 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.693e-05/0.3586, allocations: 20 kB / 353 MB, free: 9.742 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0008519/0.3595, allocations: 0.6826 MB / 353.7 MB, free: 9.062 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3595, allocations: 0 / 353.7 MB, free: 9.062 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006103/0.3601, allocations: 148 kB / 353.8 MB, free: 8.918 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (60): * Single equations (assignments): 60 * 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.000972/0.3611, allocations: 373.6 kB / 354.2 MB, free: 8.551 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.3625, allocations: 0.6006 MB / 354.8 MB, free: 7.949 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3626, allocations: 0 / 354.8 MB, free: 7.949 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006539/0.3632, allocations: 311.2 kB / 355.1 MB, free: 7.645 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.3639, allocations: 118.8 kB / 355.2 MB, free: 7.531 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.3671, allocations: 1.849 MB / 357.1 MB, free: 5.625 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007421/0.3679, allocations: 0.975 MB / 358 MB, free: 4.621 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004334/0.3683, allocations: 93.02 kB / 358.1 MB, free: 4.527 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.3685, allocations: 59.42 kB / 358.2 MB, free: 4.469 MB / 286.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3685, allocations: 0 / 358.2 MB, free: 4.469 MB / 286.1 MB Notification: Performance of Templates: time 0.01446/0.383, allocations: 6.812 MB / 365 MB, free: 13.64 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: