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.001081/0.001081, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001264/0.001264, allocations: 190.4 kB / 16.25 MB, free: 6.633 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.359/1.359, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.001129/0.00113, allocations: 55.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2423, allocations: 46.62 MB / 324.9 MB, free: 1.957 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005586/0.248, allocations: 4.539 MB / 329.4 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002827/0.2508, allocations: 1.721 MB / 331.1 MB, free: 12.99 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/0.2511, allocations: 9.25 kB / 331.1 MB, free: 12.99 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007078/0.2519, allocations: 395.6 kB / 331.5 MB, free: 12.78 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006842/0.2526, allocations: 384.2 kB / 331.9 MB, free: 12.52 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000575/0.2532, allocations: 266.4 kB / 332.1 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009945/0.2542, allocations: 1.015 MB / 333.2 MB, free: 11.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004167/0.2546, allocations: 302.4 kB / 333.5 MB, free: 11.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000391/0.255, allocations: 406.7 kB / 333.8 MB, free: 11.1 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.2555, allocations: 0.5139 MB / 334.4 MB, free: 10.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.2556, allocations: 96 kB / 334.5 MB, free: 10.49 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.2558, allocations: 124 kB / 334.6 MB, free: 10.37 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.256, allocations: 239.2 kB / 334.8 MB, free: 10.14 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.2564, allocations: 465.6 kB / 335.3 MB, free: 9.68 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.2575, allocations: 1.258 MB / 336.5 MB, free: 8.418 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2575, allocations: 0 / 336.5 MB, free: 8.418 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2575, allocations: 0 / 336.5 MB, free: 8.418 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.2576, allocations: 0 / 336.5 MB, free: 8.418 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.00214/0.2597, allocations: 1.199 MB / 337.7 MB, free: 7.168 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2598, allocations: 15.89 kB / 337.7 MB, free: 7.152 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.2599, allocations: 99.72 kB / 337.8 MB, free: 7.055 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007766/0.2607, allocations: 0.5435 MB / 338.4 MB, free: 6.469 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.607e-05/0.2608, allocations: 57.81 kB / 338.4 MB, free: 6.41 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-05/0.2609, allocations: 59.94 kB / 338.5 MB, free: 6.352 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.2621, allocations: 0.6441 MB / 339.1 MB, free: 5.691 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.2621, allocations: 7.844 kB / 339.1 MB, free: 5.684 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.429e-05/0.2622, allocations: 24 kB / 339.2 MB, free: 5.66 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.2622, allocations: 20 kB / 339.2 MB, free: 5.641 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.2634, allocations: 0.5594 MB / 339.7 MB, free: 5.082 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003427/0.2669, allocations: 2.556 MB / 342.3 MB, free: 2.387 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009439/0.2678, allocations: 481.7 kB / 342.8 MB, free: 1.906 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/0.2685, allocations: 294 kB / 343.1 MB, free: 1.617 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.695e-05/0.2686, allocations: 8.422 kB / 343.1 MB, free: 1.609 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.2686, allocations: 39 kB / 343.1 MB, free: 1.562 MB / 270.1 MB Notification: Performance of pre-optimization done (n=48): time 1.573e-06/0.2686, allocations: 0 / 343.1 MB, free: 1.562 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004254/0.2729, allocations: 1.485 MB / 344.6 MB, free: 72 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.2729, allocations: 55.97 kB / 344.6 MB, free: 4 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.274, allocations: 0.9496 MB / 345.6 MB, free: 15.05 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.2741, allocations: 37.7 kB / 345.6 MB, free: 15 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.2744, allocations: 404 kB / 346 MB, free: 14.6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.2745, allocations: 208.9 kB / 346.2 MB, free: 14.39 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.2747, allocations: 122.6 kB / 346.4 MB, free: 14.27 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2749, allocations: 334 kB / 346.7 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005907/0.2755, allocations: 241.9 kB / 346.9 MB, free: 13.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/0.2762, allocations: 343.1 kB / 347.2 MB, free: 13.34 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.2773, allocations: 0.5674 MB / 347.8 MB, free: 12.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2773, allocations: 0 / 347.8 MB, free: 12.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001484/0.2788, allocations: 0.7421 MB / 348.6 MB, free: 11.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2788, allocations: 4 kB / 348.6 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2788, allocations: 4 kB / 348.6 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.2789, allocations: 4 kB / 348.6 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007602/0.2796, allocations: 176 kB / 348.7 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.2797, allocations: 4 kB / 348.7 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.2801, allocations: 39.97 kB / 348.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/0.2802, allocations: 23.98 kB / 348.8 MB, free: 11.73 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.0003144/0.2805, allocations: 269.6 kB / 349.1 MB, free: 11.46 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.2807, allocations: 86.91 kB / 349.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.282, allocations: 0.6242 MB / 349.8 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.282, allocations: 12 kB / 349.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.282, allocations: 0 / 349.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.2821, allocations: 3.984 kB / 349.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002701/0.2848, allocations: 1.813 MB / 351.6 MB, free: 8.789 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2848, allocations: 4 kB / 351.6 MB, free: 8.785 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005452/0.2853, allocations: 131.8 kB / 351.7 MB, free: 8.656 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/0.2854, allocations: 12.25 kB / 351.8 MB, free: 8.645 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.2854, allocations: 16 kB / 351.8 MB, free: 8.629 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.2854, allocations: 4 kB / 351.8 MB, free: 8.625 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.2854, allocations: 7.938 kB / 351.8 MB, free: 8.617 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.2867, allocations: 0.742 MB / 352.5 MB, free: 7.832 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.2869, allocations: 208 kB / 352.7 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.642e-05/0.287, allocations: 15.94 kB / 352.7 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004412/0.2875, allocations: 39.95 kB / 352.8 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.2876, allocations: 48.27 kB / 352.8 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.61e-05/0.2877, allocations: 19.98 kB / 352.8 MB, free: 7.488 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0008213/0.2885, allocations: 0.6865 MB / 353.5 MB, free: 6.805 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2885, allocations: 0 / 353.5 MB, free: 6.805 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005488/0.2891, allocations: 152 kB / 353.7 MB, free: 6.656 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.0009089/0.29, allocations: 378.4 kB / 354.1 MB, free: 6.281 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.2915, allocations: 0.6082 MB / 354.7 MB, free: 5.676 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2915, allocations: 0 / 354.7 MB, free: 5.676 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005905/0.2921, allocations: 303.3 kB / 355 MB, free: 5.375 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007648/0.2929, allocations: 122.9 kB / 355.1 MB, free: 5.254 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.2953, allocations: 1.883 MB / 357 MB, free: 3.312 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.2959, allocations: 0.9668 MB / 357.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003863/0.2963, allocations: 93.05 kB / 358 MB, free: 2.227 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.2964, allocations: 55.42 kB / 358.1 MB, free: 2.172 MB / 286.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2965, allocations: 0 / 358.1 MB, free: 2.172 MB / 286.1 MB Notification: Performance of Templates: time 0.01375/0.3102, allocations: 7.507 MB / 365.6 MB, free: 10.65 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)