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.0008377/0.0008377, allocations: 89.02 kB / 16.31 MB, free: 5.637 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.0008606/0.0008609, allocations: 177.7 kB / 17.2 MB, free: 5.559 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.533/1.533, allocations: 205.4 MB / 223.4 MB, free: 5.527 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.0005194/0.0005197, allocations: 8 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2806, allocations: 47.59 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005456/0.2861, allocations: 3.91 MB / 331.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003393/0.2895, allocations: 1.646 MB / 333.3 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004104/0.2899, allocations: 12.75 kB / 333.3 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008903/0.2908, allocations: 396.7 kB / 333.7 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007961/0.2917, allocations: 373.8 kB / 334.1 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.2923, allocations: 200.7 kB / 334.2 MB, free: 12.41 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.2936, allocations: 0.8985 MB / 335.1 MB, free: 11.86 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004017/0.294, allocations: 218.9 kB / 335.4 MB, free: 11.74 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004404/0.2944, allocations: 322.6 kB / 335.7 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005082/0.2949, allocations: 422.5 kB / 336.1 MB, free: 11.13 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.791e-05/0.295, allocations: 36 kB / 336.1 MB, free: 11.1 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.2952, allocations: 63.98 kB / 336.2 MB, free: 11.04 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.2954, allocations: 167.3 kB / 336.4 MB, free: 10.87 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.2956, allocations: 181.2 kB / 336.5 MB, free: 10.69 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008689/0.2964, allocations: 0.9932 MB / 337.5 MB, free: 9.691 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.2964, allocations: 4 kB / 337.5 MB, free: 9.688 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2965, allocations: 0 / 337.5 MB, free: 9.688 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.2965, allocations: 4 kB / 337.5 MB, free: 9.684 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.002005/0.2985, allocations: 1.082 MB / 338.6 MB, free: 8.551 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2985, allocations: 8.031 kB / 338.6 MB, free: 8.543 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.2987, allocations: 98.83 kB / 338.7 MB, free: 8.445 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008609/0.2996, allocations: 0.5193 MB / 339.2 MB, free: 7.879 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.2997, allocations: 57.23 kB / 339.3 MB, free: 7.824 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-05/0.2998, allocations: 60 kB / 339.3 MB, free: 7.766 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.301, allocations: 0.6597 MB / 340 MB, free: 7.09 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.3011, allocations: 0 / 340 MB, free: 7.09 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.366e-05/0.3011, allocations: 28 kB / 340 MB, free: 7.062 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.3011, allocations: 12 kB / 340 MB, free: 7.051 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.3024, allocations: 0.5906 MB / 340.6 MB, free: 6.461 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003557/0.306, allocations: 2.568 MB / 343.2 MB, free: 3.754 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009344/0.3069, allocations: 489.7 kB / 343.7 MB, free: 3.266 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000646/0.3076, allocations: 302.4 kB / 344 MB, free: 2.969 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.043e-05/0.3076, allocations: 12.41 kB / 344 MB, free: 2.957 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.3077, allocations: 47 kB / 344 MB, free: 2.902 MB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 2.174e-06/0.3077, allocations: 0 / 344 MB, free: 2.902 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004299/0.312, allocations: 1.645 MB / 345.7 MB, free: 1.25 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3121, allocations: 59.97 kB / 345.7 MB, free: 1.18 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.3132, allocations: 0.9496 MB / 346.7 MB, free: 228 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.3132, allocations: 37.7 kB / 346.7 MB, free: 184 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.3135, allocations: 404 kB / 347.1 MB, free: 15.78 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.3137, allocations: 205 kB / 347.3 MB, free: 15.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.3138, allocations: 19.94 kB / 347.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3139, allocations: 330 kB / 347.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005927/0.3145, allocations: 261.9 kB / 347.9 MB, free: 14.97 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006318/0.3151, allocations: 363.1 kB / 348.3 MB, free: 14.59 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006362/0.3158, allocations: 295.1 kB / 348.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3158, allocations: 3.938 kB / 348.6 MB, free: 14.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001477/0.3173, allocations: 0.7697 MB / 349.3 MB, free: 13.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3173, allocations: 8 kB / 349.3 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3173, allocations: 4 kB / 349.3 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3173, allocations: 4 kB / 349.4 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/0.3181, allocations: 183.8 kB / 349.5 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.3181, allocations: 11.92 kB / 349.5 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.3186, allocations: 51.97 kB / 349.6 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/0.3186, allocations: 23.98 kB / 349.6 MB, free: 13.23 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 (83): * Single equations (assignments): 83 * 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.0003678/0.319, allocations: 269.6 kB / 349.9 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.3191, allocations: 86.92 kB / 350 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.3206, allocations: 0.6632 MB / 350.6 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3206, allocations: 4 kB / 350.6 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3206, allocations: 7.984 kB / 350.6 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3206, allocations: 0 / 350.6 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.3234, allocations: 1.844 MB / 352.5 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.3234, allocations: 4 kB / 352.5 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005409/0.324, allocations: 140.1 kB / 352.6 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.324, allocations: 19.95 kB / 352.6 MB, free: 10.06 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.324, allocations: 15.98 kB / 352.7 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.324, allocations: 7.938 kB / 352.7 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.3241, allocations: 4 kB / 352.7 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.3253, allocations: 0.7811 MB / 353.5 MB, free: 9.207 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.3256, allocations: 211.9 kB / 353.7 MB, free: 8.98 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-05/0.3257, allocations: 15.95 kB / 353.7 MB, free: 8.965 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.3261, allocations: 51.95 kB / 353.7 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.69e-05/0.3262, allocations: 36.39 kB / 353.8 MB, free: 8.879 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/0.3263, allocations: 23.98 kB / 353.8 MB, free: 8.855 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0009397/0.3272, allocations: 0.6826 MB / 354.5 MB, free: 8.176 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3272, allocations: 4 kB / 354.5 MB, free: 8.172 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005713/0.3278, allocations: 152 kB / 354.6 MB, free: 8.023 MB / 286.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 (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.0009339/0.3287, allocations: 373.6 kB / 355 MB, free: 7.656 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.3301, allocations: 0.6162 MB / 355.6 MB, free: 7.047 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3301, allocations: 0 / 355.6 MB, free: 7.047 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000669/0.3308, allocations: 315.2 kB / 355.9 MB, free: 6.734 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007518/0.3316, allocations: 118.9 kB / 356 MB, free: 6.621 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.3343, allocations: 1.859 MB / 357.9 MB, free: 4.703 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008339/0.3352, allocations: 0.9594 MB / 358.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004175/0.3356, allocations: 101 kB / 358.9 MB, free: 3.609 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.3358, allocations: 59.41 kB / 359 MB, free: 3.551 MB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3358, allocations: 4 kB / 359 MB, free: 3.547 MB / 286.1 MB Notification: Performance of Templates: time 0.01359/0.3494, allocations: 6.898 MB / 365.9 MB, free: 12.63 MB / 302.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)