Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 1.197/1.197, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002738/0.0002738, allocations: 4 kB / 158.9 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05698/0.05729, allocations: 25.17 MB / 184 MB, free: 6.012 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2296/0.287, allocations: 43.1 MB / 227.1 MB, free: 3.348 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.2873, allocations: 70.97 kB / 227.2 MB, free: 3.34 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08807/0.3754, allocations: 20.1 MB / 247.3 MB, free: 2.586 MB / 186.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.3755, allocations: 0 / 247.3 MB, free: 2.586 MB / 186.7 MB Notification: Performance of Transformations before backend: time 9.171e-05/0.3756, allocations: 24 kB / 247.3 MB, free: 2.562 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.0051/0.3807, allocations: 1.311 MB / 248.7 MB, free: 1.273 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3808, allocations: 8.031 kB / 248.7 MB, free: 1.266 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005397/0.3813, allocations: 126.5 kB / 248.8 MB, free: 1.141 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.3831, allocations: 0.6222 MB / 249.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002092/0.3833, allocations: 72.5 kB / 249.5 MB, free: 0.5742 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.3836, allocations: 95.09 kB / 249.6 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003866/0.3875, allocations: 1.084 MB / 250.7 MB, free: 15.76 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.273e-05/0.3876, allocations: 3.984 kB / 250.7 MB, free: 15.75 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.3878, allocations: 39 kB / 250.7 MB, free: 15.75 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/0.3878, allocations: 24 kB / 250.7 MB, free: 15.72 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004168/0.392, allocations: 0.9983 MB / 251.7 MB, free: 14.92 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/0.4033, allocations: 3.859 MB / 255.6 MB, free: 10.86 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004684/0.408, allocations: 0.9742 MB / 256.6 MB, free: 9.871 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.4082, allocations: 8.234 kB / 256.6 MB, free: 9.863 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.4083, allocations: 38.8 kB / 256.6 MB, free: 9.816 MB / 202.7 MB Notification: Performance of pre-optimization done (n=65): time 4.989e-06/0.4083, allocations: 4 kB / 256.6 MB, free: 9.812 MB / 202.7 MB Notification: Performance of matching and sorting (n=79): time 0.01142/0.4197, allocations: 2.434 MB / 259 MB, free: 7.371 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.584e-05/0.4199, allocations: 93.53 kB / 259.1 MB, free: 7.262 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.4218, allocations: 0.8251 MB / 260 MB, free: 6.426 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002138/0.4221, allocations: 37.7 kB / 260 MB, free: 6.383 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004977/0.4226, allocations: 0.5014 MB / 260.5 MB, free: 5.875 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000394/0.423, allocations: 272.1 kB / 260.8 MB, free: 5.605 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.4231, allocations: 16 kB / 260.8 MB, free: 5.59 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.4234, allocations: 346.9 kB / 261.1 MB, free: 5.242 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/0.4254, allocations: 457.7 kB / 261.6 MB, free: 4.797 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/0.4277, allocations: 0.5976 MB / 262.2 MB, free: 4.152 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.4298, allocations: 486 kB / 262.6 MB, free: 3.676 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.4299, allocations: 0 / 262.6 MB, free: 3.676 MB / 202.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004726/0.4346, allocations: 1.162 MB / 263.8 MB, free: 2.504 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.4347, allocations: 11.98 kB / 263.8 MB, free: 2.492 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.4347, allocations: 4 kB / 263.8 MB, free: 2.488 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.4348, allocations: 11.98 kB / 263.8 MB, free: 2.477 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002796/0.4376, allocations: 335.6 kB / 264.1 MB, free: 2.148 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.947e-05/0.4376, allocations: 8 kB / 264.2 MB, free: 2.141 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.4397, allocations: 115.9 kB / 264.3 MB, free: 2.027 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002146/0.44, allocations: 39.98 kB / 264.3 MB, free: 1.988 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 114 * 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.0008703/0.4408, allocations: 289.5 kB / 264.6 MB, free: 1.695 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/0.4412, allocations: 98.83 kB / 264.7 MB, free: 1.598 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.4435, allocations: 0.5915 MB / 265.3 MB, free: 0.9961 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.4436, allocations: 12 kB / 265.3 MB, free: 0.9844 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.4436, allocations: 0 / 265.3 MB, free: 0.9844 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/0.4436, allocations: 3.984 kB / 265.3 MB, free: 0.9805 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009301/0.4529, allocations: 2.933 MB / 268.2 MB, free: 13.87 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.446e-05/0.453, allocations: 8 kB / 268.2 MB, free: 13.86 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001986/0.455, allocations: 263.7 kB / 268.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.69e-05/0.4551, allocations: 15.95 kB / 268.5 MB, free: 13.59 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.4552, allocations: 31.98 kB / 268.5 MB, free: 13.56 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.277e-05/0.4553, allocations: 15.94 kB / 268.6 MB, free: 13.54 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.211e-05/0.4553, allocations: 15.94 kB / 268.6 MB, free: 13.53 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003971/0.4593, allocations: 1.341 MB / 269.9 MB, free: 12.05 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004759/0.4598, allocations: 191.9 kB / 270.1 MB, free: 11.84 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/0.4601, allocations: 27.94 kB / 270.1 MB, free: 11.82 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.4614, allocations: 87.94 kB / 270.2 MB, free: 11.73 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.4617, allocations: 79.75 kB / 270.3 MB, free: 11.65 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.4618, allocations: 35.95 kB / 270.3 MB, free: 11.62 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.001437/0.4632, allocations: 0.5771 MB / 270.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.4633, allocations: 0 / 270.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.00146/0.4647, allocations: 216 kB / 271.1 MB, free: 10.83 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * 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.0005775/0.4653, allocations: 202.5 kB / 271.3 MB, free: 10.64 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.003867/0.4692, allocations: 0.9215 MB / 272.2 MB, free: 9.719 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-05/0.4693, allocations: 4 kB / 272.2 MB, free: 9.715 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001977/0.4713, allocations: 482 kB / 272.7 MB, free: 9.246 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/0.4746, allocations: 183.1 kB / 272.9 MB, free: 9.07 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006442/0.4811, allocations: 2.401 MB / 275.3 MB, free: 6.512 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009698/0.4821, allocations: 1.034 MB / 276.3 MB, free: 5.449 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006927/0.4828, allocations: 83.39 kB / 276.4 MB, free: 5.367 MB / 218.7 MB Notification: Performance of SimCode: time 1.233e-06/0.4828, allocations: 0 / 276.4 MB, free: 5.367 MB / 218.7 MB Notification: Performance of Templates: time 0.03284/0.5157, allocations: 12.4 MB / 288.8 MB, free: 8.984 MB / 234.7 MB