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.001105/0.001105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001242/0.001242, allocations: 192.9 kB / 16.14 MB, free: 6.707 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.386/1.386, allocations: 205.1 MB / 222 MB, free: 4.773 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.001294/0.001294, allocations: 51.94 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.25, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007247/0.2573, allocations: 6.33 MB / 331 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003951/0.2612, allocations: 2.109 MB / 333.1 MB, free: 11.19 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005592/0.2618, allocations: 20.19 kB / 333.1 MB, free: 11.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008119/0.2627, allocations: 303.9 kB / 333.4 MB, free: 10.99 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.2638, allocations: 433 kB / 333.9 MB, free: 10.66 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008497/0.2646, allocations: 394.2 kB / 334.2 MB, free: 10.32 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.2663, allocations: 1.422 MB / 335.7 MB, free: 9.129 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006526/0.267, allocations: 463.1 kB / 336.1 MB, free: 8.656 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005604/0.2675, allocations: 486 kB / 336.6 MB, free: 8.18 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006236/0.2682, allocations: 0.6145 MB / 337.2 MB, free: 7.562 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.2683, allocations: 80 kB / 337.3 MB, free: 7.484 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.2686, allocations: 100 kB / 337.4 MB, free: 7.387 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.2688, allocations: 247 kB / 337.6 MB, free: 7.145 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005388/0.2693, allocations: 0.5829 MB / 338.2 MB, free: 6.559 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.2708, allocations: 1.845 MB / 340.1 MB, free: 4.707 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2709, allocations: 0 / 340.1 MB, free: 4.707 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2709, allocations: 0 / 340.1 MB, free: 4.707 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.2709, allocations: 0 / 340.1 MB, free: 4.707 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.003121/0.274, allocations: 1.543 MB / 341.6 MB, free: 3.109 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.2741, allocations: 8.031 kB / 341.6 MB, free: 3.102 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.2743, allocations: 127.4 kB / 341.7 MB, free: 2.977 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.2755, allocations: 0.7084 MB / 342.4 MB, free: 2.227 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.2756, allocations: 74.55 kB / 342.5 MB, free: 2.156 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.2758, allocations: 99.84 kB / 342.6 MB, free: 2.059 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.2778, allocations: 1.017 MB / 343.6 MB, free: 1.027 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.2778, allocations: 0 / 343.6 MB, free: 1.027 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.073e-05/0.2779, allocations: 36 kB / 343.7 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.2779, allocations: 31.88 kB / 343.7 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.2799, allocations: 0.8835 MB / 344.6 MB, free: 80 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005558/0.2855, allocations: 3.66 MB / 348.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002842/0.2884, allocations: 0.8999 MB / 349.1 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007384/0.2891, allocations: 365.5 kB / 349.5 MB, free: 10.95 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.147e-05/0.2892, allocations: 12 kB / 349.5 MB, free: 10.94 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.2892, allocations: 39.16 kB / 349.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of pre-optimization done (n=58): time 3.266e-06/0.2893, allocations: 3.938 kB / 349.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=67): time 0.004877/0.2941, allocations: 1.78 MB / 351.3 MB, free: 9.098 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.2942, allocations: 92.98 kB / 351.4 MB, free: 8.988 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.2955, allocations: 0.9819 MB / 352.4 MB, free: 8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.2955, allocations: 33.7 kB / 352.4 MB, free: 7.961 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000403/0.2959, allocations: 0.5221 MB / 353 MB, free: 7.43 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.2961, allocations: 236.6 kB / 353.2 MB, free: 7.195 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.2964, allocations: 158.5 kB / 353.3 MB, free: 7.035 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2965, allocations: 345.9 kB / 353.7 MB, free: 6.691 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008783/0.2974, allocations: 337.8 kB / 354 MB, free: 6.363 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009839/0.2984, allocations: 0.5222 MB / 354.5 MB, free: 5.766 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.3002, allocations: 0.8404 MB / 355.4 MB, free: 4.852 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3002, allocations: 4 kB / 355.4 MB, free: 4.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002159/0.3023, allocations: 1.013 MB / 356.4 MB, free: 3.828 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3024, allocations: 12.03 kB / 356.4 MB, free: 3.816 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.3024, allocations: 4 kB / 356.4 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.3024, allocations: 8 kB / 356.4 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.3036, allocations: 287.6 kB / 356.7 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.3037, allocations: 12 kB / 356.7 MB, free: 3.512 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007683/0.3044, allocations: 71.92 kB / 356.8 MB, free: 3.441 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/0.3045, allocations: 39.92 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.0003728/0.3049, allocations: 277.6 kB / 357.1 MB, free: 3.121 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.3051, allocations: 106.7 kB / 357.2 MB, free: 3.016 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000897/0.306, allocations: 382.2 kB / 357.6 MB, free: 2.629 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.306, allocations: 8 kB / 357.6 MB, free: 2.621 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.306, allocations: 4 kB / 357.6 MB, free: 2.617 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.306, allocations: 3.984 kB / 357.6 MB, free: 2.613 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003693/0.3097, allocations: 2.297 MB / 359.9 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.3097, allocations: 11.98 kB / 359.9 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008966/0.3106, allocations: 208.5 kB / 360.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.3107, allocations: 12 kB / 360.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.3107, allocations: 19.94 kB / 360.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.785e-05/0.3107, allocations: 15.92 kB / 360.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.3107, allocations: 11.94 kB / 360.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.3124, allocations: 1.025 MB / 361.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.3126, allocations: 187.9 kB / 361.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.3127, allocations: 23.98 kB / 361.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006277/0.3134, allocations: 51.89 kB / 361.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.3135, allocations: 59.81 kB / 361.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.3135, allocations: 35.98 kB / 361.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008571/0.3144, allocations: 0.6786 MB / 362.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.685e-06/0.3144, allocations: 0 / 362.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007869/0.3152, allocations: 207.9 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.0008576/0.3161, allocations: 382.4 kB / 362.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.3179, allocations: 0.757 MB / 363.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3179, allocations: 0 / 363.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008295/0.3187, allocations: 365.8 kB / 363.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.32, allocations: 200.4 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.003181/0.3232, allocations: 2.31 MB / 366.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.3237, allocations: 1.014 MB / 367.4 MB, free: 8.379 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005344/0.3243, allocations: 123.2 kB / 367.5 MB, free: 8.254 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.3245, allocations: 71.41 kB / 367.6 MB, free: 8.184 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3245, allocations: 0 / 367.6 MB, free: 8.184 MB / 302.1 MB Notification: Performance of Templates: time 0.0162/0.3407, allocations: 9.999 MB / 377.6 MB, free: 14.17 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)