Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadModel(Modelica): time 0.9793/0.9793, allocations: 111.2 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002638/0.000264, allocations: 4 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04518/0.04547, allocations: 25.17 MB / 183.5 MB, free: 5.977 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1764/0.2219, allocations: 41.65 MB / 225.2 MB, free: 4.043 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.2221, allocations: 75.02 kB / 225.2 MB, free: 4.031 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05295/0.2751, allocations: 14.15 MB / 239.4 MB, free: 8.848 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.2752, allocations: 4 kB / 239.4 MB, free: 8.844 MB / 186.7 MB Notification: Performance of Transformations before backend: time 5.198e-05/0.2752, allocations: 16 kB / 239.4 MB, free: 8.828 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002332/0.2776, allocations: 1.049 MB / 240.5 MB, free: 7.781 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2776, allocations: 8.031 kB / 240.5 MB, free: 7.773 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/0.2779, allocations: 94.88 kB / 240.6 MB, free: 7.68 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.2789, allocations: 0.5114 MB / 241.1 MB, free: 7.211 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.2791, allocations: 48.81 kB / 241.1 MB, free: 7.184 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.2792, allocations: 62.08 kB / 241.2 MB, free: 7.145 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.2811, allocations: 0.7971 MB / 242 MB, free: 6.555 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.2812, allocations: 7.906 kB / 242 MB, free: 6.547 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.204e-05/0.2813, allocations: 23.12 kB / 242 MB, free: 6.543 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.2813, allocations: 23.98 kB / 242 MB, free: 6.52 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.2834, allocations: 0.715 MB / 242.7 MB, free: 6.008 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005513/0.2889, allocations: 2.735 MB / 245.5 MB, free: 3.82 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.2905, allocations: 0.6014 MB / 246.1 MB, free: 3.395 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.092e-05/0.2905, allocations: 4.438 kB / 246.1 MB, free: 3.391 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.2906, allocations: 42.19 kB / 246.1 MB, free: 3.344 MB / 186.7 MB Notification: Performance of pre-optimization done (n=49): time 3.668e-06/0.2906, allocations: 0 / 246.1 MB, free: 3.344 MB / 186.7 MB Notification: Performance of matching and sorting (n=64): time 0.007334/0.2979, allocations: 2.404 MB / 248.5 MB, free: 1.363 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.298, allocations: 59.97 kB / 248.6 MB, free: 1.293 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.2993, allocations: 0.6621 MB / 249.2 MB, free: 0.6602 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 7.848e-05/0.2994, allocations: 33.7 kB / 249.3 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.2997, allocations: 398.5 kB / 249.7 MB, free: 232 kB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.3, allocations: 216.9 kB / 249.9 MB, free: 12 kB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.3001, allocations: 12 kB / 249.9 MB, free: 0 / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.3003, allocations: 338.8 kB / 250.2 MB, free: 15.66 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.3014, allocations: 389.8 kB / 250.6 MB, free: 15.27 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.3026, allocations: 491 kB / 251.1 MB, free: 14.76 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.3038, allocations: 422.9 kB / 251.5 MB, free: 14.35 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.121e-06/0.3038, allocations: 4 kB / 251.5 MB, free: 14.34 MB / 202.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002683/0.3065, allocations: 0.9772 MB / 252.5 MB, free: 13.36 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.3065, allocations: 4 kB / 252.5 MB, free: 13.36 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.3066, allocations: 7.984 kB / 252.5 MB, free: 13.35 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.3066, allocations: 4 kB / 252.5 MB, free: 13.34 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.3077, allocations: 199.8 kB / 252.7 MB, free: 13.15 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.3077, allocations: 4 kB / 252.7 MB, free: 13.14 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007652/0.3085, allocations: 63.95 kB / 252.8 MB, free: 13.08 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.3086, allocations: 35.98 kB / 252.8 MB, free: 13.05 MB / 202.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005852/0.3092, allocations: 280.3 kB / 253.1 MB, free: 12.77 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.3094, allocations: 75.06 kB / 253.1 MB, free: 12.69 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/0.3121, allocations: 1.041 MB / 254.2 MB, free: 11.64 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.3122, allocations: 8 kB / 254.2 MB, free: 11.63 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.054e-06/0.3122, allocations: 0 / 254.2 MB, free: 11.63 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.3122, allocations: 3.984 kB / 254.2 MB, free: 11.62 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00505/0.3173, allocations: 2.294 MB / 256.5 MB, free: 9.211 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.3173, allocations: 4 kB / 256.5 MB, free: 9.207 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007908/0.3181, allocations: 147.7 kB / 256.6 MB, free: 9.062 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.3181, allocations: 8.281 kB / 256.6 MB, free: 9.055 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/0.3182, allocations: 20 kB / 256.7 MB, free: 9.035 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.3182, allocations: 7.984 kB / 256.7 MB, free: 9.027 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.509e-06/0.3183, allocations: 4 kB / 256.7 MB, free: 9.023 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/0.3209, allocations: 1.241 MB / 257.9 MB, free: 7.684 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/0.3215, allocations: 236.1 kB / 258.1 MB, free: 7.434 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.3216, allocations: 16 kB / 258.2 MB, free: 7.418 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006376/0.3223, allocations: 59.91 kB / 258.2 MB, free: 7.359 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.3224, allocations: 44.44 kB / 258.3 MB, free: 7.316 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.212e-05/0.3225, allocations: 28 kB / 258.3 MB, free: 7.289 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.001001/0.3235, allocations: 0.5224 MB / 258.8 MB, free: 6.773 MB / 202.7 MB Notification: Performance of sort global known variables: time 8.29e-07/0.3235, allocations: 0 / 258.8 MB, free: 6.773 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0008092/0.3244, allocations: 168 kB / 259 MB, free: 6.609 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000429/0.3248, allocations: 178.7 kB / 259.1 MB, free: 6.438 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.002075/0.3269, allocations: 0.7733 MB / 259.9 MB, free: 5.664 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.912e-06/0.3269, allocations: 0 / 259.9 MB, free: 5.664 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.3279, allocations: 400 kB / 260.3 MB, free: 5.273 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008589/0.3288, allocations: 124.5 kB / 260.4 MB, free: 5.152 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003671/0.3325, allocations: 1.891 MB / 262.3 MB, free: 3.199 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008335/0.3334, allocations: 0.9788 MB / 263.3 MB, free: 2.188 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003535/0.3337, allocations: 55.42 kB / 263.4 MB, free: 2.133 MB / 202.7 MB Notification: Performance of SimCode: time 1.673e-06/0.3338, allocations: 4 kB / 263.4 MB, free: 2.129 MB / 202.7 MB Notification: Performance of Templates: time 0.01858/0.3524, allocations: 9.443 MB / 272.8 MB, free: 8.699 MB / 218.7 MB