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.001438/0.001439, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001549/0.001549, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.455/1.455, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.001217/0.001217, allocations: 47.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2627, allocations: 46.63 MB / 324.8 MB, free: 1.957 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007822/0.2705, allocations: 6.338 MB / 331.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00473/0.2753, allocations: 2.104 MB / 333.3 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008425/0.2762, allocations: 19.97 kB / 333.3 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009094/0.2771, allocations: 309.4 kB / 333.6 MB, free: 11.01 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.2784, allocations: 427.1 kB / 334 MB, free: 10.69 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009333/0.2794, allocations: 393.6 kB / 334.4 MB, free: 10.35 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.2811, allocations: 1.528 MB / 335.9 MB, free: 8.969 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007101/0.2818, allocations: 0.513 MB / 336.4 MB, free: 8.434 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006458/0.2824, allocations: 0.5723 MB / 337 MB, free: 7.859 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006756/0.2831, allocations: 0.6653 MB / 337.7 MB, free: 7.191 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.2833, allocations: 160 kB / 337.8 MB, free: 7.035 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.2836, allocations: 192 kB / 338 MB, free: 6.848 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.2839, allocations: 323 kB / 338.3 MB, free: 6.531 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005413/0.2844, allocations: 0.6687 MB / 339 MB, free: 5.859 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.286, allocations: 1.912 MB / 340.9 MB, free: 3.941 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.286, allocations: 0 / 340.9 MB, free: 3.941 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.286, allocations: 8 kB / 340.9 MB, free: 3.934 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.286, allocations: 0 / 340.9 MB, free: 3.934 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.00287/0.2889, allocations: 1.531 MB / 342.5 MB, free: 2.348 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.289, allocations: 19.88 kB / 342.5 MB, free: 2.328 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.2892, allocations: 127.4 kB / 342.6 MB, free: 2.203 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.2902, allocations: 0.7006 MB / 343.3 MB, free: 1.461 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.2904, allocations: 90.48 kB / 343.4 MB, free: 1.375 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.2905, allocations: 99.84 kB / 343.5 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.2926, allocations: 1.009 MB / 344.5 MB, free: 260 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.952e-05/0.2926, allocations: 8 kB / 344.5 MB, free: 252 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.465e-05/0.2927, allocations: 36 kB / 344.5 MB, free: 216 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.2928, allocations: 24 kB / 344.6 MB, free: 192 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.2948, allocations: 0.8836 MB / 345.5 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00529/0.3001, allocations: 3.664 MB / 349.1 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.303, allocations: 0.8922 MB / 350 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007544/0.3038, allocations: 373.5 kB / 350.4 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.3038, allocations: 7.984 kB / 350.4 MB, free: 10.17 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.3039, allocations: 43.16 kB / 350.4 MB, free: 10.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=58): time 2.655e-06/0.3039, allocations: 0 / 350.4 MB, free: 10.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=67): time 0.004673/0.3086, allocations: 1.781 MB / 352.2 MB, free: 8.328 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.3086, allocations: 89.11 kB / 352.3 MB, free: 8.223 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.3098, allocations: 0.9741 MB / 353.3 MB, free: 7.242 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/0.3098, allocations: 37.7 kB / 353.3 MB, free: 7.199 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.3102, allocations: 0.526 MB / 353.8 MB, free: 6.664 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.3104, allocations: 244.5 kB / 354.1 MB, free: 6.422 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/0.3106, allocations: 158.5 kB / 354.2 MB, free: 6.262 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3108, allocations: 337.9 kB / 354.6 MB, free: 5.926 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000884/0.3116, allocations: 345.8 kB / 354.9 MB, free: 5.59 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009518/0.3126, allocations: 0.5183 MB / 355.4 MB, free: 5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.3143, allocations: 0.8444 MB / 356.3 MB, free: 4.082 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3143, allocations: 0 / 356.3 MB, free: 4.082 MB / 286.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002132/0.3165, allocations: 1.013 MB / 357.3 MB, free: 3.062 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3165, allocations: 8 kB / 357.3 MB, free: 3.055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.3165, allocations: 8 kB / 357.3 MB, free: 3.047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.3165, allocations: 8 kB / 357.3 MB, free: 3.039 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.3177, allocations: 287.7 kB / 357.6 MB, free: 2.758 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.3178, allocations: 11.94 kB / 357.6 MB, free: 2.746 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007524/0.3185, allocations: 71.92 kB / 357.7 MB, free: 2.676 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.3186, allocations: 39.98 kB / 357.7 MB, free: 2.637 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.000375/0.319, allocations: 278.8 kB / 358 MB, free: 2.355 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.3191, allocations: 102.7 kB / 358.1 MB, free: 2.254 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009318/0.3201, allocations: 386.4 kB / 358.4 MB, free: 1.863 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.3201, allocations: 8 kB / 358.5 MB, free: 1.855 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.3201, allocations: 0 / 358.5 MB, free: 1.855 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.3201, allocations: 3.984 kB / 358.5 MB, free: 1.852 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/0.3239, allocations: 2.305 MB / 360.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.3239, allocations: 7.984 kB / 360.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008409/0.3248, allocations: 203.7 kB / 361 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.3248, allocations: 8 kB / 361 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/0.3248, allocations: 24.16 kB / 361 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-05/0.3248, allocations: 23.86 kB / 361 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.3249, allocations: 4 kB / 361 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.3264, allocations: 1.029 MB / 362.1 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.3266, allocations: 183.9 kB / 362.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.3268, allocations: 23.98 kB / 362.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/0.3274, allocations: 51.89 kB / 362.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.3275, allocations: 71.69 kB / 362.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/0.3276, allocations: 27.98 kB / 362.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008095/0.3284, allocations: 0.6786 MB / 363.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3284, allocations: 4 kB / 363.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007537/0.3291, allocations: 208 kB / 363.3 MB, free: 12.75 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.0008628/0.33, allocations: 370.5 kB / 363.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.3319, allocations: 0.7952 MB / 364.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3319, allocations: 1.312 kB / 364.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007921/0.3327, allocations: 376 kB / 364.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.334, allocations: 200.2 kB / 365 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.3371, allocations: 2.308 MB / 367.3 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.3377, allocations: 1.026 MB / 368.3 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005423/0.3382, allocations: 123.2 kB / 368.5 MB, free: 7.434 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.3384, allocations: 75.41 kB / 368.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3384, allocations: 0 / 368.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of Templates: time 0.01775/0.3562, allocations: 10.38 MB / 378.9 MB, free: 12.96 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)