Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001408/0.001407, 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.001295/0.001295, allocations: 192.6 kB / 16.14 MB, free: 6.668 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.404/1.404, allocations: 205.1 MB / 222 MB, free: 4.734 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.001209/0.001209, allocations: 55.92 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2185, allocations: 46.62 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007125/0.2256, allocations: 6.329 MB / 331 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003618/0.2293, allocations: 2.109 MB / 333.1 MB, free: 11.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004881/0.2298, allocations: 20.69 kB / 333.1 MB, free: 11.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007298/0.2306, allocations: 303.5 kB / 333.4 MB, free: 10.98 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009177/0.2315, allocations: 429.6 kB / 333.9 MB, free: 10.66 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007314/0.2322, allocations: 393.9 kB / 334.2 MB, free: 10.32 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.2335, allocations: 1.425 MB / 335.7 MB, free: 9.125 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005635/0.2341, allocations: 455.1 kB / 336.1 MB, free: 8.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005012/0.2346, allocations: 490 kB / 336.6 MB, free: 8.18 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005773/0.2352, allocations: 0.6145 MB / 337.2 MB, free: 7.562 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.2353, allocations: 76 kB / 337.3 MB, free: 7.488 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000239/0.2356, allocations: 104 kB / 337.4 MB, free: 7.387 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.2358, allocations: 247 kB / 337.6 MB, free: 7.145 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004736/0.2363, allocations: 0.5867 MB / 338.2 MB, free: 6.555 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.2377, allocations: 1.842 MB / 340 MB, free: 4.707 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2377, allocations: 0 / 340 MB, free: 4.707 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2377, allocations: 0 / 340 MB, free: 4.707 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.2377, allocations: 3.938 kB / 340.1 MB, free: 4.703 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.002944/0.2406, allocations: 1.535 MB / 341.6 MB, free: 3.113 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2407, allocations: 8.031 kB / 341.6 MB, free: 3.105 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.2409, allocations: 131.4 kB / 341.7 MB, free: 2.977 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.242, allocations: 0.7084 MB / 342.4 MB, free: 2.227 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.2421, allocations: 74.56 kB / 342.5 MB, free: 2.156 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.2423, allocations: 103.8 kB / 342.6 MB, free: 2.055 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.2442, allocations: 1.017 MB / 343.6 MB, free: 1.023 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.2443, allocations: 0 / 343.6 MB, free: 1.023 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-05/0.2444, allocations: 40 kB / 343.7 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.2444, allocations: 24 kB / 343.7 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.2465, allocations: 0.8874 MB / 344.6 MB, free: 76 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005363/0.2519, allocations: 3.656 MB / 348.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/0.2548, allocations: 0.9043 MB / 349.1 MB, free: 11.31 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007813/0.2556, allocations: 361.5 kB / 349.5 MB, free: 10.95 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.948e-05/0.2557, allocations: 8 kB / 349.5 MB, free: 10.95 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.2557, allocations: 43.16 kB / 349.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of pre-optimization done (n=58): time 2.965e-06/0.2557, allocations: 0 / 349.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=67): time 0.004886/0.2606, allocations: 1.792 MB / 351.3 MB, free: 9.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.2607, allocations: 85.05 kB / 351.4 MB, free: 8.988 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.2619, allocations: 0.978 MB / 352.4 MB, free: 8.004 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.2619, allocations: 37.7 kB / 352.4 MB, free: 7.961 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/0.2623, allocations: 0.526 MB / 353 MB, free: 7.426 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.2625, allocations: 240.5 kB / 353.2 MB, free: 7.188 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.2627, allocations: 158.5 kB / 353.3 MB, free: 7.027 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2628, allocations: 338 kB / 353.7 MB, free: 6.691 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008917/0.2637, allocations: 341.8 kB / 354 MB, free: 6.359 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009986/0.2647, allocations: 0.53 MB / 354.5 MB, free: 5.754 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.2665, allocations: 0.8327 MB / 355.4 MB, free: 4.848 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2666, allocations: 4 kB / 355.4 MB, free: 4.844 MB / 286.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00228/0.2688, allocations: 1.013 MB / 356.4 MB, free: 3.824 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.2689, allocations: 8 kB / 356.4 MB, free: 3.816 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.2689, allocations: 4.344 kB / 356.4 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.2689, allocations: 16 kB / 356.4 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.2702, allocations: 279.6 kB / 356.7 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.2702, allocations: 11.94 kB / 356.7 MB, free: 3.512 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008201/0.271, allocations: 75.92 kB / 356.8 MB, free: 3.438 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/0.2711, allocations: 35.98 kB / 356.8 MB, free: 3.402 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.0004129/0.2715, allocations: 285.6 kB / 357.1 MB, free: 3.113 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.2717, allocations: 102.7 kB / 357.2 MB, free: 3.012 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009527/0.2726, allocations: 386.1 kB / 357.6 MB, free: 2.621 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.2727, allocations: 8 kB / 357.6 MB, free: 2.613 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.2727, allocations: 0 / 357.6 MB, free: 2.613 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.2727, allocations: 3.984 kB / 357.6 MB, free: 2.609 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003932/0.2766, allocations: 2.301 MB / 359.9 MB, free: 172 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.2767, allocations: 8 kB / 359.9 MB, free: 164 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008816/0.2775, allocations: 208.3 kB / 360.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/0.2776, allocations: 12 kB / 360.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/0.2776, allocations: 23.98 kB / 360.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/0.2776, allocations: 15.88 kB / 360.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.2776, allocations: 8 kB / 360.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.2793, allocations: 1.025 MB / 361.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.2795, allocations: 191.8 kB / 361.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.2797, allocations: 16 kB / 361.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000636/0.2803, allocations: 55.89 kB / 361.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.2804, allocations: 71.73 kB / 361.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/0.2805, allocations: 24 kB / 361.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008517/0.2813, allocations: 0.6825 MB / 362.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2814, allocations: 0 / 362.2 MB, free: 13.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008311/0.2822, allocations: 208 kB / 362.4 MB, free: 13.52 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.0008953/0.2831, allocations: 387 kB / 362.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.2849, allocations: 0.7496 MB / 363.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.2849, allocations: 8.188 kB / 363.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000799/0.2857, allocations: 361.2 kB / 363.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.287, allocations: 191.7 kB / 364.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.2902, allocations: 2.313 MB / 366.4 MB, free: 9.414 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.2908, allocations: 1.014 MB / 367.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005763/0.2914, allocations: 123.2 kB / 367.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.2916, allocations: 75.41 kB / 367.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.2916, allocations: 0 / 367.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of Templates: time 0.01678/0.3084, allocations: 9.988 MB / 377.6 MB, free: 14.17 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1)