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.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 0.9682/0.9682, allocations: 111.2 MB / 124.2 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.71e-05/2.721e-05, allocations: 7.984 kB / 154.3 MB, free: 13.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1384, allocations: 25.15 MB / 179.4 MB, free: 0.7969 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06523/0.2037, allocations: 43.03 MB / 222.5 MB, free: 6.066 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.204, allocations: 67.97 kB / 222.5 MB, free: 6 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0821/0.2861, allocations: 20.11 MB / 242.6 MB, free: 1.816 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.937e-06/0.2862, allocations: 0 / 242.6 MB, free: 1.816 MB / 202.7 MB Notification: Performance of Transformations before backend: time 5.88e-05/0.2862, allocations: 23.98 kB / 242.7 MB, free: 1.793 MB / 202.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.002953/0.2892, allocations: 1.194 MB / 243.9 MB, free: 0.5547 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.2893, allocations: 8.031 kB / 243.9 MB, free: 0.5469 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/0.2896, allocations: 126.5 kB / 244 MB, free: 432 kB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1215/0.4111, allocations: 0.608 MB / 244.6 MB, free: 44.58 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.4114, allocations: 74.5 kB / 244.7 MB, free: 44.57 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002374/0.4116, allocations: 95.7 kB / 244.8 MB, free: 44.57 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/0.4141, allocations: 0.9666 MB / 245.7 MB, free: 44.5 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/0.4141, allocations: 1.469 kB / 245.7 MB, free: 44.5 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.4143, allocations: 36.31 kB / 245.8 MB, free: 44.5 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.4143, allocations: 23.34 kB / 245.8 MB, free: 44.5 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.4163, allocations: 0.7955 MB / 246.6 MB, free: 44.49 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00684/0.4231, allocations: 3.843 MB / 250.4 MB, free: 43.32 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/0.4256, allocations: 0.8635 MB / 251.3 MB, free: 43.27 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008449/0.4265, allocations: 408.9 kB / 251.7 MB, free: 43.25 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-05/0.4266, allocations: 13.33 kB / 251.7 MB, free: 43.25 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.4266, allocations: 33.67 kB / 251.7 MB, free: 43.21 MB / 202.7 MB Notification: Performance of pre-optimization done (n=65): time 4.273e-06/0.4266, allocations: 3.406 kB / 251.7 MB, free: 43.21 MB / 202.7 MB Notification: Performance of matching and sorting (n=83): time 0.004915/0.4315, allocations: 1.842 MB / 253.6 MB, free: 42.61 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.4316, allocations: 88.91 kB / 253.7 MB, free: 42.51 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.4328, allocations: 0.7251 MB / 254.4 MB, free: 42.18 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 7.284e-05/0.4329, allocations: 41.02 kB / 254.4 MB, free: 42.14 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.4332, allocations: 0.5054 MB / 254.9 MB, free: 41.73 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.4334, allocations: 278.1 kB / 255.2 MB, free: 41.53 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.4335, allocations: 18.84 kB / 255.2 MB, free: 41.51 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 8.427e-05/0.4336, allocations: 347.2 kB / 255.6 MB, free: 41.18 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007951/0.4344, allocations: 335.3 kB / 255.9 MB, free: 41.05 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008775/0.4353, allocations: 492.5 kB / 256.4 MB, free: 40.77 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008381/0.4361, allocations: 373.4 kB / 256.7 MB, free: 40.63 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.998e-06/0.4362, allocations: 0 / 256.7 MB, free: 40.63 MB / 202.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002062/0.4382, allocations: 0.9382 MB / 257.7 MB, free: 40.28 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4383, allocations: 5.188 kB / 257.7 MB, free: 40.28 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.4383, allocations: 3.531 kB / 257.7 MB, free: 40.28 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.4383, allocations: 10.47 kB / 257.7 MB, free: 40.28 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.4402, allocations: 344.3 kB / 258 MB, free: 40.27 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.4402, allocations: 15.25 kB / 258.1 MB, free: 40.27 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.4415, allocations: 116.4 kB / 258.2 MB, free: 40.25 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.4416, allocations: 45.55 kB / 258.2 MB, free: 40.25 MB / 202.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 5 (cActuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 118 * 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.0002138/0.4419, allocations: 157.1 kB / 258.4 MB, free: 40.11 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.4421, allocations: 94.78 kB / 258.5 MB, free: 40.06 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.4432, allocations: 0.489 MB / 258.9 MB, free: 39.86 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.4432, allocations: 7.125 kB / 259 MB, free: 39.86 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.4432, allocations: 7.75 kB / 259 MB, free: 39.86 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.4433, allocations: 3.656 kB / 259 MB, free: 39.86 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005524/0.4488, allocations: 2.895 MB / 261.9 MB, free: 38.23 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.4488, allocations: 11.02 kB / 261.9 MB, free: 38.23 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/0.4502, allocations: 269.9 kB / 262.1 MB, free: 38.21 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.101e-05/0.4503, allocations: 15.41 kB / 262.1 MB, free: 38.21 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.572e-05/0.4503, allocations: 27.36 kB / 262.2 MB, free: 38.2 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.657e-05/0.4504, allocations: 23.41 kB / 262.2 MB, free: 38.19 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.4504, allocations: 15.59 kB / 262.2 MB, free: 38.19 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.4523, allocations: 1.722 MB / 263.9 MB, free: 36.57 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.4525, allocations: 195.2 kB / 264.1 MB, free: 36.41 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.4527, allocations: 33.22 kB / 264.2 MB, free: 36.39 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.4539, allocations: 79.19 kB / 264.2 MB, free: 36.38 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.454, allocations: 86.25 kB / 264.3 MB, free: 36.35 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-05/0.4541, allocations: 49.02 kB / 264.4 MB, free: 36.34 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0008939/0.455, allocations: 0.5581 MB / 264.9 MB, free: 35.92 MB / 202.7 MB Notification: Performance of sort global known variables: time 2.031e-06/0.455, allocations: 0 / 264.9 MB, free: 35.92 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001105/0.4562, allocations: 226.1 kB / 265.1 MB, free: 35.7 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 3 (comparisonWithFEA.tableID,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 82 * 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.0003863/0.4566, allocations: 187.7 kB / 265.3 MB, free: 35.54 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.458, allocations: 0.7538 MB / 266.1 MB, free: 34.81 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.458, allocations: 3.938 kB / 266.1 MB, free: 34.8 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008018/0.4588, allocations: 419 kB / 266.5 MB, free: 34.41 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.4601, allocations: 201.5 kB / 266.7 MB, free: 34.26 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.463, allocations: 1.53 MB / 268.2 MB, free: 32.68 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005767/0.4636, allocations: 1.042 MB / 269.3 MB, free: 31.75 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.464, allocations: 81.19 kB / 269.3 MB, free: 31.68 MB / 202.7 MB Notification: Performance of SimCode: time 1.573e-06/0.464, allocations: 0 / 269.3 MB, free: 31.68 MB / 202.7 MB Notification: Performance of Templates: time 0.01814/0.4822, allocations: 12.56 MB / 281.9 MB, free: 21.81 MB / 202.7 MB