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.SaturatedInductor.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.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadModel(Modelica): time 0.9814/0.9814, allocations: 111.1 MB / 126.7 MB, free: 6.117 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002745/0.0002746, allocations: 4 kB / 158.3 MB, free: 15.16 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04996/0.05026, allocations: 25.18 MB / 183.5 MB, free: 5.945 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1842/0.2345, allocations: 37.44 MB / 220.9 MB, free: 5.77 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/0.2347, allocations: 66.09 kB / 221 MB, free: 5.762 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02421/0.259, allocations: 6.56 MB / 227.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.077e-06/0.259, allocations: 0 / 227.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.259, allocations: 5.719 kB / 227.6 MB, free: 3.051 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.000848/0.2599, allocations: 0.5572 MB / 228.1 MB, free: 2.562 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.26, allocations: 8.812 kB / 228.1 MB, free: 2.562 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.142e-05/0.26, allocations: 31.94 kB / 228.2 MB, free: 2.547 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.2604, allocations: 254.5 kB / 228.4 MB, free: 2.305 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.2604, allocations: 19.44 kB / 228.4 MB, free: 2.305 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.2605, allocations: 24.56 kB / 228.5 MB, free: 2.305 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006044/0.2611, allocations: 247.5 kB / 228.7 MB, free: 2.223 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.2612, allocations: 3.938 kB / 228.7 MB, free: 2.219 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.2612, allocations: 18.39 kB / 228.7 MB, free: 2.211 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.2612, allocations: 6.719 kB / 228.7 MB, free: 2.211 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/0.2618, allocations: 209.1 kB / 228.9 MB, free: 2.109 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.2635, allocations: 0.9429 MB / 229.9 MB, free: 1.273 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.264, allocations: 197.4 kB / 230.1 MB, free: 1.129 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.664e-05/0.2641, allocations: 85.3 kB / 230.2 MB, free: 1.027 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.2642, allocations: 30.75 kB / 230.2 MB, free: 0.9883 MB / 170.7 MB Notification: Performance of pre-optimization done (n=21): time 3.035e-06/0.2642, allocations: 0 / 230.2 MB, free: 0.9883 MB / 170.7 MB Notification: Performance of matching and sorting (n=31): time 0.009783/0.274, allocations: 1.498 MB / 231.7 MB, free: 15.68 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.2741, allocations: 55.41 kB / 231.7 MB, free: 15.61 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005495/0.2747, allocations: 207.1 kB / 231.9 MB, free: 15.43 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 7.643e-05/0.2748, allocations: 40.58 kB / 232 MB, free: 15.39 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.2751, allocations: 230.3 kB / 232.2 MB, free: 15.18 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.2753, allocations: 115.6 kB / 232.3 MB, free: 15.09 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.2753, allocations: 3.438 kB / 232.3 MB, free: 15.09 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002591/0.2756, allocations: 326.6 kB / 232.6 MB, free: 14.77 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006533/0.2763, allocations: 104.1 kB / 232.7 MB, free: 14.7 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000723/0.277, allocations: 158.8 kB / 232.9 MB, free: 14.57 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007242/0.2778, allocations: 126.7 kB / 233 MB, free: 14.5 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.836e-06/0.2778, allocations: 0 / 233 MB, free: 14.5 MB / 186.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.004506/0.2824, allocations: 0.4988 MB / 233.5 MB, free: 14.12 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.2825, allocations: 11.92 kB / 233.5 MB, free: 14.11 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.2825, allocations: 7.953 kB / 233.5 MB, free: 14.1 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00553/0.288, allocations: 296.7 kB / 233.8 MB, free: 13.84 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/0.2888, allocations: 51.91 kB / 233.9 MB, free: 13.79 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008585/0.2974, allocations: 2.664 MB / 236.5 MB, free: 11.35 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000601/0.2981, allocations: 15.78 kB / 236.6 MB, free: 11.34 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/0.2982, allocations: 19.75 kB / 236.6 MB, free: 11.32 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.00042/0.2986, allocations: 144.7 kB / 236.7 MB, free: 11.19 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.2988, allocations: 27.59 kB / 236.7 MB, free: 11.16 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004372/0.3032, allocations: 0.4957 MB / 237.2 MB, free: 10.79 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.3032, allocations: 4 kB / 237.2 MB, free: 10.78 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.899e-06/0.3033, allocations: 3.938 kB / 237.3 MB, free: 10.78 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.3033, allocations: 0 / 237.3 MB, free: 10.78 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.3045, allocations: 374.5 kB / 237.6 MB, free: 10.44 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.701e-06/0.3046, allocations: 0 / 237.6 MB, free: 10.44 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005342/0.3051, allocations: 47.84 kB / 237.7 MB, free: 10.39 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005414/0.3105, allocations: 299.8 kB / 238 MB, free: 10.13 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.648e-05/0.3107, allocations: 7.875 kB / 238 MB, free: 10.12 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008609/0.3193, allocations: 2.662 MB / 240.6 MB, free: 7.684 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.3193, allocations: 0 / 240.6 MB, free: 7.684 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005237/0.3246, allocations: 0.7148 MB / 241.3 MB, free: 7.125 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003895/0.3251, allocations: 121.3 kB / 241.5 MB, free: 7 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.92e-05/0.3252, allocations: 10.75 kB / 241.5 MB, free: 6.996 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.3258, allocations: 19.11 kB / 241.5 MB, free: 6.98 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.326, allocations: 27.64 kB / 241.5 MB, free: 6.957 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.363e-05/0.3261, allocations: 8 kB / 241.5 MB, free: 6.949 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0004025/0.3265, allocations: 166.7 kB / 241.7 MB, free: 6.812 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.184e-06/0.3265, allocations: 0 / 241.7 MB, free: 6.812 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.001475/0.328, allocations: 96.62 kB / 241.8 MB, free: 6.73 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (coil.i) * 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004272/0.3285, allocations: 134.5 kB / 241.9 MB, free: 6.59 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.002123/0.3306, allocations: 442.6 kB / 242.3 MB, free: 6.242 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.954e-06/0.3307, allocations: 0 / 242.3 MB, free: 6.242 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.3319, allocations: 300 kB / 242.6 MB, free: 5.992 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006943/0.3326, allocations: 31.92 kB / 242.7 MB, free: 5.973 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.3355, allocations: 0.8294 MB / 243.5 MB, free: 5.168 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008135/0.3364, allocations: 0.7759 MB / 244.3 MB, free: 4.363 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.3366, allocations: 19.44 kB / 244.3 MB, free: 4.344 MB / 186.7 MB Notification: Performance of SimCode: time 2.045e-06/0.3366, allocations: 3.938 kB / 244.3 MB, free: 4.34 MB / 186.7 MB Notification: Performance of Templates: time 0.01911/0.3557, allocations: 5.665 MB / 250 MB, free: 14.71 MB / 202.7 MB