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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001856/0.001856, allocations: 197.2 kB / 16.14 MB, free: 6.66 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.426/1.426, allocations: 205.1 MB / 222 MB, free: 4.957 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.001208/0.001208, allocations: 55.92 kB / 278.1 MB, free: 12.98 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2413, allocations: 46.62 MB / 324.7 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005739/0.2471, allocations: 4.526 MB / 329.2 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002954/0.2501, allocations: 1.725 MB / 330.9 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.2504, allocations: 13.38 kB / 330.9 MB, free: 12.88 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007547/0.2512, allocations: 397.9 kB / 331.3 MB, free: 12.66 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007424/0.2519, allocations: 386.2 kB / 331.7 MB, free: 12.4 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.2525, allocations: 274.7 kB / 332 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009515/0.2535, allocations: 0.9571 MB / 332.9 MB, free: 11.62 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003738/0.2538, allocations: 253.1 kB / 333.2 MB, free: 11.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004157/0.2543, allocations: 351 kB / 333.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005694/0.2548, allocations: 479.4 kB / 334 MB, free: 10.85 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.959e-05/0.255, allocations: 52 kB / 334 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.2551, allocations: 72 kB / 334.1 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.2553, allocations: 195.2 kB / 334.3 MB, free: 10.54 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.2557, allocations: 401.6 kB / 334.7 MB, free: 10.14 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009687/0.2567, allocations: 1.219 MB / 335.9 MB, free: 8.922 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2567, allocations: 0 / 335.9 MB, free: 8.922 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2567, allocations: 0 / 335.9 MB, free: 8.922 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.2567, allocations: 0 / 335.9 MB, free: 8.922 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.002276/0.259, allocations: 1.207 MB / 337.1 MB, free: 7.664 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.259, allocations: 8.031 kB / 337.1 MB, free: 7.656 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.2592, allocations: 99.72 kB / 337.2 MB, free: 7.559 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000939/0.2602, allocations: 0.5435 MB / 337.8 MB, free: 6.969 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.2603, allocations: 49.88 kB / 337.8 MB, free: 6.922 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.2604, allocations: 67.94 kB / 337.9 MB, free: 6.855 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.2617, allocations: 0.644 MB / 338.5 MB, free: 6.195 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.2617, allocations: 3.906 kB / 338.5 MB, free: 6.191 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.2618, allocations: 27.98 kB / 338.6 MB, free: 6.164 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.2618, allocations: 16 kB / 338.6 MB, free: 6.148 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.2631, allocations: 0.5633 MB / 339.1 MB, free: 5.586 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003677/0.2668, allocations: 2.556 MB / 341.7 MB, free: 2.887 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009514/0.2678, allocations: 481.7 kB / 342.2 MB, free: 2.406 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006458/0.2685, allocations: 298.5 kB / 342.5 MB, free: 2.113 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/0.2685, allocations: 8.422 kB / 342.5 MB, free: 2.105 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.2685, allocations: 39 kB / 342.5 MB, free: 2.059 MB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 1.513e-06/0.2686, allocations: 0 / 342.5 MB, free: 2.059 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004229/0.2728, allocations: 1.481 MB / 344 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.2728, allocations: 59.97 kB / 344 MB, free: 0.5 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.2739, allocations: 0.9458 MB / 345 MB, free: 15.55 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.2739, allocations: 37.7 kB / 345 MB, free: 15.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.2742, allocations: 404 kB / 345.4 MB, free: 15.1 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.2743, allocations: 208.9 kB / 345.6 MB, free: 14.89 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.2745, allocations: 126.5 kB / 345.8 MB, free: 14.76 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2746, allocations: 330 kB / 346.1 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005928/0.2752, allocations: 249.8 kB / 346.3 MB, free: 14.19 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006696/0.2759, allocations: 343.1 kB / 346.7 MB, free: 13.83 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.2771, allocations: 0.5635 MB / 347.2 MB, free: 13.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2771, allocations: 4 kB / 347.2 MB, free: 13.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001496/0.2786, allocations: 0.7384 MB / 348 MB, free: 12.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.2786, allocations: 4 kB / 348 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2786, allocations: 4 kB / 348 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2787, allocations: 4 kB / 348 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007814/0.2794, allocations: 167.8 kB / 348.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.2795, allocations: 11.98 kB / 348.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/0.28, allocations: 39.97 kB / 348.2 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/0.2801, allocations: 27.98 kB / 348.2 MB, free: 12.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_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.0003109/0.2804, allocations: 269.6 kB / 348.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.2805, allocations: 82.91 kB / 348.6 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.2819, allocations: 0.6319 MB / 349.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.2819, allocations: 4 kB / 349.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2819, allocations: 3.984 kB / 349.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.2819, allocations: 8 kB / 349.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/0.2847, allocations: 1.809 MB / 351 MB, free: 9.281 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2847, allocations: 0 / 351 MB, free: 9.281 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/0.2853, allocations: 135.8 kB / 351.1 MB, free: 9.148 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.2853, allocations: 4 kB / 351.2 MB, free: 9.145 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.2854, allocations: 12.31 kB / 351.2 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-06/0.2854, allocations: 12 kB / 351.2 MB, free: 9.121 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2854, allocations: 0 / 351.2 MB, free: 9.121 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.2867, allocations: 0.7497 MB / 351.9 MB, free: 8.328 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.287, allocations: 208 kB / 352.1 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.099e-05/0.2871, allocations: 15.94 kB / 352.1 MB, free: 8.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004766/0.2875, allocations: 39.95 kB / 352.2 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/0.2876, allocations: 48.27 kB / 352.2 MB, free: 8.004 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.2877, allocations: 23.98 kB / 352.3 MB, free: 7.98 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0007667/0.2885, allocations: 0.6826 MB / 352.9 MB, free: 7.301 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2885, allocations: 0 / 352.9 MB, free: 7.301 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005283/0.289, allocations: 152 kB / 353.1 MB, free: 7.152 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 (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.0009079/0.2899, allocations: 386.3 kB / 353.5 MB, free: 6.773 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.2912, allocations: 0.5771 MB / 354 MB, free: 6.199 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2913, allocations: 0 / 354 MB, free: 6.199 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006318/0.2919, allocations: 295.3 kB / 354.3 MB, free: 5.906 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007864/0.2927, allocations: 111 kB / 354.4 MB, free: 5.797 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.2954, allocations: 1.884 MB / 356.3 MB, free: 3.855 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.2959, allocations: 0.9633 MB / 357.3 MB, free: 2.863 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004016/0.2963, allocations: 93.03 kB / 357.4 MB, free: 2.77 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.2965, allocations: 55.42 kB / 357.4 MB, free: 2.715 MB / 286.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2965, allocations: 0 / 357.4 MB, free: 2.715 MB / 286.1 MB Notification: Performance of Templates: time 0.01337/0.3099, allocations: 7.223 MB / 364.6 MB, free: 11.48 MB / 302.1 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)