Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007833/0.0007833, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.007832/0.007833, allocations: 172.8 kB / 16.26 MB, free: 6.676 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.518/1.518, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.0005654/0.0005657, allocations: 16.28 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2605, allocations: 47.58 MB / 327 MB, free: 1.512 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006811/0.2674, allocations: 5.864 MB / 332.9 MB, free: 12.87 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004546/0.272, allocations: 2.089 MB / 335 MB, free: 11.14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.2732, allocations: 19.72 kB / 335 MB, free: 11.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.2744, allocations: 312.1 kB / 335.3 MB, free: 10.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.2761, allocations: 428.3 kB / 335.7 MB, free: 10.61 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.2773, allocations: 386.5 kB / 336.1 MB, free: 10.28 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002245/0.2795, allocations: 1.425 MB / 337.5 MB, free: 8.992 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007868/0.2803, allocations: 451.2 kB / 338 MB, free: 8.531 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007984/0.2811, allocations: 458.1 kB / 338.4 MB, free: 8.082 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006202/0.2817, allocations: 0.5716 MB / 339 MB, free: 7.508 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.2819, allocations: 60 kB / 339.1 MB, free: 7.449 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.2821, allocations: 87.98 kB / 339.1 MB, free: 7.363 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.2823, allocations: 227 kB / 339.4 MB, free: 7.141 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004711/0.2828, allocations: 0.5806 MB / 339.9 MB, free: 6.551 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.2841, allocations: 1.794 MB / 341.7 MB, free: 4.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2842, allocations: 4 kB / 341.7 MB, free: 4.746 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2842, allocations: 0 / 341.7 MB, free: 4.746 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.2842, allocations: 0 / 341.7 MB, free: 4.746 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002665/0.2869, allocations: 1.371 MB / 343.1 MB, free: 3.32 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2869, allocations: 12.03 kB / 343.1 MB, free: 3.309 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.2871, allocations: 131.3 kB / 343.2 MB, free: 3.18 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.2881, allocations: 0.7123 MB / 344 MB, free: 2.426 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.2883, allocations: 78.5 kB / 344 MB, free: 2.352 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.2884, allocations: 95.94 kB / 344.1 MB, free: 2.258 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.2904, allocations: 1.048 MB / 345.2 MB, free: 1.195 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.2904, allocations: 7.906 kB / 345.2 MB, free: 1.188 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.518e-05/0.2905, allocations: 36 kB / 345.2 MB, free: 1.152 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.2905, allocations: 28 kB / 345.2 MB, free: 1.125 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.2926, allocations: 0.9499 MB / 346.2 MB, free: 180 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005215/0.2978, allocations: 3.668 MB / 349.9 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00327/0.3011, allocations: 1.111 MB / 351 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008322/0.3019, allocations: 393.5 kB / 351.4 MB, free: 10.8 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.938e-05/0.302, allocations: 12 kB / 351.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.3021, allocations: 43.09 kB / 351.4 MB, free: 10.74 MB / 286.1 MB Notification: Performance of pre-optimization done (n=58): time 3.016e-06/0.3021, allocations: 0 / 351.4 MB, free: 10.74 MB / 286.1 MB Notification: Performance of matching and sorting (n=67): time 0.005186/0.3073, allocations: 1.971 MB / 353.4 MB, free: 8.758 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.3073, allocations: 85.11 kB / 353.5 MB, free: 8.656 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.3086, allocations: 0.978 MB / 354.4 MB, free: 7.672 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/0.3087, allocations: 45.7 kB / 354.5 MB, free: 7.621 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/0.309, allocations: 0.526 MB / 355 MB, free: 7.086 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.3092, allocations: 232.7 kB / 355.2 MB, free: 6.855 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.3094, allocations: 77.61 kB / 355.3 MB, free: 6.773 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3095, allocations: 338 kB / 355.7 MB, free: 6.438 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009448/0.3105, allocations: 381.8 kB / 356 MB, free: 6.066 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.3115, allocations: 0.5691 MB / 356.6 MB, free: 5.422 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/0.3135, allocations: 0.9108 MB / 357.5 MB, free: 4.438 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3135, allocations: 0 / 357.5 MB, free: 4.438 MB / 286.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002379/0.3159, allocations: 1.095 MB / 358.6 MB, free: 3.336 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.3159, allocations: 8 kB / 358.6 MB, free: 3.328 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3159, allocations: 7.984 kB / 358.6 MB, free: 3.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.3159, allocations: 15.98 kB / 358.6 MB, free: 3.305 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.3172, allocations: 319.6 kB / 358.9 MB, free: 2.992 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.3173, allocations: 15.94 kB / 359 MB, free: 2.977 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008329/0.3181, allocations: 95.92 kB / 359.1 MB, free: 2.883 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/0.3182, allocations: 35.98 kB / 359.1 MB, free: 2.848 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.000407/0.3186, allocations: 273.6 kB / 359.4 MB, free: 2.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.3188, allocations: 106.7 kB / 359.5 MB, free: 2.465 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.3198, allocations: 434.2 kB / 359.9 MB, free: 2.031 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.3198, allocations: 11.94 kB / 359.9 MB, free: 2.02 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3198, allocations: 0 / 359.9 MB, free: 2.02 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.3198, allocations: 3.984 kB / 359.9 MB, free: 2.016 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.3236, allocations: 2.344 MB / 362.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.3236, allocations: 8 kB / 362.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008884/0.3245, allocations: 236 kB / 362.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.3245, allocations: 8 kB / 362.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/0.3246, allocations: 23.98 kB / 362.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/0.3246, allocations: 19.88 kB / 362.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.3246, allocations: 11.94 kB / 362.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.3263, allocations: 1.064 MB / 363.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.3265, allocations: 191.8 kB / 363.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.3267, allocations: 20 kB / 363.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006154/0.3273, allocations: 63.89 kB / 363.9 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.3274, allocations: 71.73 kB / 363.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/0.3274, allocations: 24 kB / 364 MB, free: 13.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008653/0.3283, allocations: 0.6825 MB / 364.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3283, allocations: 0 / 364.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007914/0.3291, allocations: 208 kB / 364.9 MB, free: 12.79 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.0008744/0.33, allocations: 385.7 kB / 365.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001963/0.332, allocations: 0.8122 MB / 366 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.332, allocations: 128 / 366 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008349/0.3328, allocations: 393.1 kB / 366.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.3349, allocations: 267.2 kB / 366.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.3382, allocations: 2.383 MB / 369.1 MB, free: 8.457 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005745/0.3388, allocations: 1.015 MB / 370.1 MB, free: 7.414 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005907/0.3394, allocations: 131.2 kB / 370.2 MB, free: 7.281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.3397, allocations: 87.41 kB / 370.3 MB, free: 7.195 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3397, allocations: 0 / 370.3 MB, free: 7.195 MB / 302.1 MB Notification: Performance of Templates: time 0.02247/0.3622, allocations: 11.91 MB / 382.2 MB, free: 11.27 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1)