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.001473/0.001472, allocations: 117.1 kB / 17.07 MB, free: 5.949 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.001671/0.001671, allocations: 190.9 kB / 18.01 MB, free: 5.039 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.475/1.475, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.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.001147/0.001147, allocations: 51.92 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.1005, allocations: 46.61 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005658/0.1062, allocations: 4.52 MB / 379 MB, free: 28 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2164/0.3226, allocations: 1.743 MB / 380.7 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003286/0.323, allocations: 11.81 kB / 380.7 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008569/0.3239, allocations: 409 kB / 381.1 MB, free: 9.625 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0008684/0.3248, allocations: 426.4 kB / 381.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007388/0.3255, allocations: 305.7 kB / 381.9 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.3269, allocations: 1.027 MB / 382.9 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004622/0.3274, allocations: 299.1 kB / 383.2 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005238/0.3279, allocations: 398 kB / 383.6 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006438/0.3286, allocations: 0.5041 MB / 384.1 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.3288, allocations: 101.1 kB / 384.2 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.329, allocations: 130.5 kB / 384.3 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.3292, allocations: 232.3 kB / 384.5 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.3296, allocations: 456.6 kB / 385 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.3311, allocations: 1.28 MB / 386.3 MB, free: 7.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3312, allocations: 0.6562 kB / 386.3 MB, free: 7.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3312, allocations: 0 / 386.3 MB, free: 7.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.3312, allocations: 0 / 386.3 MB, free: 7.891 MB / 318.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.002296/0.3335, allocations: 1.229 MB / 387.5 MB, free: 7.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3335, allocations: 12.52 kB / 387.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.3337, allocations: 103.9 kB / 387.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008821/0.3346, allocations: 0.5626 MB / 388.2 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/0.3347, allocations: 45.75 kB / 388.2 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.3348, allocations: 63.34 kB / 388.3 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.3361, allocations: 0.6507 MB / 388.9 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.3361, allocations: 3.953 kB / 388.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/0.3362, allocations: 29.91 kB / 388.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.3362, allocations: 14.03 kB / 389 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.3375, allocations: 0.5535 MB / 389.5 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00359/0.3411, allocations: 2.538 MB / 392.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009548/0.342, allocations: 480.2 kB / 392.5 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007184/0.3428, allocations: 305.5 kB / 392.8 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.143e-05/0.3428, allocations: 11 kB / 392.8 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.3429, allocations: 42.45 kB / 392.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.234e-06/0.3429, allocations: 0 / 392.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004641/0.3475, allocations: 1.495 MB / 394.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.3476, allocations: 57.81 kB / 394.4 MB, free: 3.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.3488, allocations: 0.9433 MB / 395.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.3489, allocations: 40.83 kB / 395.4 MB, free: 2.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.3492, allocations: 416.8 kB / 395.8 MB, free: 2.648 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.3493, allocations: 218.4 kB / 396 MB, free: 2.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.3495, allocations: 120.5 kB / 396.1 MB, free: 2.418 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.176e-05/0.3496, allocations: 329.5 kB / 396.5 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005855/0.3502, allocations: 242.6 kB / 396.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006294/0.3508, allocations: 346.6 kB / 397 MB, free: 1.832 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.352, allocations: 0.5676 MB / 397.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.352, allocations: 0 / 397.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001571/0.3536, allocations: 0.7291 MB / 398.3 MB, free: 1.234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.3536, allocations: 14.66 kB / 398.4 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.3536, allocations: 1.406 kB / 398.4 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.3536, allocations: 6 kB / 398.4 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007683/0.3544, allocations: 175.2 kB / 398.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.3544, allocations: 4.688 kB / 398.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/0.355, allocations: 42.75 kB / 398.6 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/0.355, allocations: 25.62 kB / 398.6 MB, free: 1.191 MB / 318.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_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003554/0.3554, allocations: 267.2 kB / 398.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.3555, allocations: 89.06 kB / 399 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.357, allocations: 0.6246 MB / 399.6 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.3571, allocations: 6.906 kB / 399.6 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3571, allocations: 1.25 kB / 399.6 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.3571, allocations: 3.984 kB / 399.6 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.3602, allocations: 1.814 MB / 401.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.922e-06/0.3602, allocations: 7.312 kB / 401.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005571/0.3608, allocations: 133.3 kB / 401.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.3608, allocations: 5.5 kB / 401.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.3608, allocations: 13.31 kB / 401.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.3609, allocations: 9.031 kB / 401.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3609, allocations: 2.844 kB / 401.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.3623, allocations: 0.7431 MB / 402.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.3626, allocations: 219 kB / 402.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.505e-05/0.3627, allocations: 13.59 kB / 402.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/0.3631, allocations: 41.19 kB / 402.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.3633, allocations: 47.33 kB / 402.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.3633, allocations: 26.66 kB / 402.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008885/0.3642, allocations: 0.6881 MB / 403.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3642, allocations: 0 / 403.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006542/0.3649, allocations: 145.7 kB / 403.5 MB, free: 14.21 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008855/0.3658, allocations: 364.9 kB / 403.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.3673, allocations: 0.5844 MB / 404.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3673, allocations: 1.594 kB / 404.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006753/0.368, allocations: 300.1 kB / 404.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007818/0.3688, allocations: 130.1 kB / 404.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.3717, allocations: 1.603 MB / 406.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006877/0.3724, allocations: 0.9642 MB / 407.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003981/0.3728, allocations: 91.89 kB / 407.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.373, allocations: 55.48 kB / 407.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.373, allocations: 0 / 407.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of Templates: time 0.01456/0.3876, allocations: 7.79 MB / 415.3 MB, free: 5.547 MB / 334.1 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)