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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.9973/0.9973, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.512e-05/1.525e-05, allocations: 0 / 148.1 MB, free: 6.227 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04488/0.04492, allocations: 25.18 MB / 173.3 MB, free: 13 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1778/0.2228, allocations: 40.89 MB / 214.2 MB, free: 6.824 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.223, allocations: 76.11 kB / 214.3 MB, free: 6.824 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04735/0.2704, allocations: 14 MB / 228.3 MB, free: 1.523 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.076e-06/0.2704, allocations: 0 / 228.3 MB, free: 1.523 MB / 170.7 MB Notification: Performance of Transformations before backend: time 4.292e-05/0.2705, allocations: 19.45 kB / 228.3 MB, free: 1.52 MB / 170.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.001714/0.2722, allocations: 0.9465 MB / 229.2 MB, free: 0.8438 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2723, allocations: 7.75 kB / 229.2 MB, free: 0.8438 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.2725, allocations: 93.53 kB / 229.3 MB, free: 0.7969 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008701/0.2733, allocations: 0.5108 MB / 229.8 MB, free: 464 kB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.2735, allocations: 33.12 kB / 229.9 MB, free: 460 kB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.2736, allocations: 34.47 kB / 229.9 MB, free: 460 kB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00123/0.2748, allocations: 0.5756 MB / 230.5 MB, free: 404 kB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.2761, allocations: 0.6356 MB / 231.1 MB, free: 228 kB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.2762, allocations: 3.984 kB / 231.1 MB, free: 224 kB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.903e-05/0.2762, allocations: 3.688 kB / 231.1 MB, free: 224 kB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.2763, allocations: 15.5 kB / 231.1 MB, free: 220 kB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005804/0.2821, allocations: 2.67 MB / 233.8 MB, free: 14.92 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009976/0.2831, allocations: 0.523 MB / 234.3 MB, free: 14.72 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007915/0.2839, allocations: 359.2 kB / 234.7 MB, free: 14.47 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.758e-05/0.284, allocations: 12.5 kB / 234.7 MB, free: 14.46 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.2841, allocations: 42.94 kB / 234.7 MB, free: 14.41 MB / 186.7 MB Notification: Performance of pre-optimization done (n=49): time 4.495e-06/0.2841, allocations: 0 / 234.7 MB, free: 14.41 MB / 186.7 MB Notification: Performance of matching and sorting (n=65): time 0.003831/0.2879, allocations: 1.511 MB / 236.3 MB, free: 13.19 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.288, allocations: 55.97 kB / 236.3 MB, free: 13.12 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009475/0.289, allocations: 0.567 MB / 236.9 MB, free: 12.68 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.289, allocations: 25.7 kB / 236.9 MB, free: 12.65 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.2894, allocations: 422.1 kB / 237.3 MB, free: 12.34 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.2896, allocations: 205.6 kB / 237.5 MB, free: 12.16 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.2897, allocations: 0 / 237.5 MB, free: 12.16 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.2899, allocations: 349.2 kB / 237.9 MB, free: 11.82 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006416/0.2905, allocations: 296.7 kB / 238.1 MB, free: 11.63 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007563/0.2913, allocations: 401.2 kB / 238.5 MB, free: 11.32 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007308/0.292, allocations: 339.7 kB / 238.9 MB, free: 11.09 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.799e-06/0.2921, allocations: 4 kB / 238.9 MB, free: 11.09 MB / 186.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001766/0.2938, allocations: 0.776 MB / 239.6 MB, free: 10.5 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.2939, allocations: 12.06 kB / 239.7 MB, free: 10.49 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.884e-06/0.2939, allocations: 0 / 239.7 MB, free: 10.49 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.2939, allocations: 8 kB / 239.7 MB, free: 10.48 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.2951, allocations: 194 kB / 239.9 MB, free: 10.3 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.2951, allocations: 11.94 kB / 239.9 MB, free: 10.29 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007344/0.2959, allocations: 43.95 kB / 239.9 MB, free: 10.24 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.296, allocations: 37.55 kB / 239.9 MB, free: 10.21 MB / 186.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0002065/0.2962, allocations: 125.8 kB / 240.1 MB, free: 10.08 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.2964, allocations: 75.06 kB / 240.1 MB, free: 10.01 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.2984, allocations: 0.8526 MB / 241 MB, free: 9.227 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.2984, allocations: 4 kB / 241 MB, free: 9.223 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.07e-06/0.2984, allocations: 0 / 241 MB, free: 9.223 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/0.2985, allocations: 7.984 kB / 241 MB, free: 9.215 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004354/0.3028, allocations: 2.054 MB / 243.1 MB, free: 7.051 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.3029, allocations: 3.984 kB / 243.1 MB, free: 7.047 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000809/0.3037, allocations: 160.1 kB / 243.2 MB, free: 6.891 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-05/0.3037, allocations: 4 kB / 243.2 MB, free: 6.887 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.883e-05/0.3038, allocations: 8 kB / 243.2 MB, free: 6.879 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.3038, allocations: 8 kB / 243.2 MB, free: 6.871 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.513e-06/0.3038, allocations: 3.938 kB / 243.2 MB, free: 6.867 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.3059, allocations: 1.114 MB / 244.4 MB, free: 5.629 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004871/0.3064, allocations: 228.1 kB / 244.6 MB, free: 5.387 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.3065, allocations: 15.92 kB / 244.6 MB, free: 5.371 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006577/0.3072, allocations: 47.95 kB / 244.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.3073, allocations: 36.39 kB / 244.7 MB, free: 5.289 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.543e-05/0.3074, allocations: 35.92 kB / 244.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0007846/0.3082, allocations: 455.1 kB / 245.2 MB, free: 4.812 MB / 186.7 MB Notification: Performance of sort global known variables: time 9.34e-07/0.3082, allocations: 0 / 245.2 MB, free: 4.812 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007937/0.3091, allocations: 136 kB / 245.3 MB, free: 4.68 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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.000419/0.3095, allocations: 166.3 kB / 245.5 MB, free: 4.516 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.3108, allocations: 0.599 MB / 246.1 MB, free: 3.922 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3108, allocations: 0 / 246.1 MB, free: 3.922 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006527/0.3115, allocations: 322.4 kB / 246.4 MB, free: 3.605 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/0.3123, allocations: 103.4 kB / 246.5 MB, free: 3.508 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.315, allocations: 1.13 MB / 247.6 MB, free: 2.312 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008441/0.3159, allocations: 0.9744 MB / 248.6 MB, free: 1.312 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.3163, allocations: 55.41 kB / 248.6 MB, free: 1.258 MB / 186.7 MB Notification: Performance of SimCode: time 1.845e-06/0.3163, allocations: 0 / 248.6 MB, free: 1.258 MB / 186.7 MB Notification: Performance of Templates: time 0.01892/0.3352, allocations: 9.156 MB / 257.8 MB, free: 8.113 MB / 202.7 MB