Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadModel(Modelica): time 0.998/0.998, allocations: 111.1 MB / 126.7 MB, free: 6.125 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.0002669, allocations: 4 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04547/0.04576, allocations: 25.17 MB / 183.5 MB, free: 5.977 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2193/0.2651, allocations: 35.05 MB / 218.5 MB, free: 6.379 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.2655, allocations: 63.62 kB / 218.6 MB, free: 6.371 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01144/0.277, allocations: 2.166 MB / 220.8 MB, free: 5.426 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.228e-06/0.277, allocations: 3.844 kB / 220.8 MB, free: 5.426 MB / 170.7 MB Notification: Performance of Transformations before backend: time 8.567e-06/0.277, allocations: 0 / 220.8 MB, free: 5.426 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004669/0.2775, allocations: 427.2 kB / 221.2 MB, free: 5.016 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2776, allocations: 11.56 kB / 221.2 MB, free: 5.016 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.2776, allocations: 11.72 kB / 221.2 MB, free: 5.008 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.2778, allocations: 197.5 kB / 221.4 MB, free: 4.793 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.2778, allocations: 7.625 kB / 221.4 MB, free: 4.793 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.2778, allocations: 7.688 kB / 221.4 MB, free: 4.793 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.2781, allocations: 126.2 kB / 221.5 MB, free: 4.715 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.2781, allocations: 1.422 kB / 221.5 MB, free: 4.715 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.2782, allocations: 6.656 kB / 221.6 MB, free: 4.715 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.965e-06/0.2782, allocations: 0 / 221.6 MB, free: 4.715 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.2784, allocations: 63.22 kB / 221.6 MB, free: 4.703 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008655/0.2792, allocations: 493.3 kB / 222.1 MB, free: 4.285 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.2794, allocations: 52.53 kB / 222.2 MB, free: 4.254 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.2794, allocations: 11.44 kB / 222.2 MB, free: 4.25 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.2795, allocations: 34.55 kB / 222.2 MB, free: 4.207 MB / 170.7 MB Notification: Performance of pre-optimization done (n=4): time 2.042e-06/0.2795, allocations: 0 / 222.2 MB, free: 4.207 MB / 170.7 MB Notification: Performance of matching and sorting (n=4): time 0.0007408/0.2802, allocations: 234.2 kB / 222.4 MB, free: 4.035 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.2803, allocations: 106.8 kB / 222.5 MB, free: 3.906 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.2804, allocations: 137.8 kB / 222.7 MB, free: 3.809 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.2804, allocations: 29.7 kB / 222.7 MB, free: 3.777 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.2805, allocations: 189.1 kB / 222.9 MB, free: 3.605 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.2805, allocations: 15.38 kB / 222.9 MB, free: 3.594 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-06/0.2806, allocations: 0 / 222.9 MB, free: 3.594 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 4.704e-05/0.2806, allocations: 325.9 kB / 223.2 MB, free: 3.273 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.2807, allocations: 18.58 kB / 223.2 MB, free: 3.27 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.2808, allocations: 69.81 kB / 223.3 MB, free: 3.211 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.281, allocations: 26.31 kB / 223.3 MB, free: 3.207 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.281, allocations: 0 / 223.3 MB, free: 3.207 MB / 170.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000453/0.2814, allocations: 137.8 kB / 223.5 MB, free: 3.141 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2815, allocations: 3.844 kB / 223.5 MB, free: 3.141 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.41e-06/0.2815, allocations: 3.844 kB / 223.5 MB, free: 3.141 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/0.2818, allocations: 55.23 kB / 223.5 MB, free: 3.109 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.283, allocations: 124.1 kB / 223.6 MB, free: 3.078 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/0.2859, allocations: 2.794 MB / 226.4 MB, free: 308 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.2862, allocations: 15.73 kB / 226.4 MB, free: 300 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.2862, allocations: 3.906 kB / 226.5 MB, free: 300 kB / 170.7 MB Warning: Assuming fixed start value for the following 1 variables: SaturatingInductance1.Psi:VARIABLE(unit = "Wb" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001806/0.2864, allocations: 128 kB / 226.6 MB, free: 176 kB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.2865, allocations: 7.75 kB / 226.6 MB, free: 172 kB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004203/0.2869, allocations: 143.7 kB / 226.7 MB, free: 84 kB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.976e-06/0.2869, allocations: 0 / 226.7 MB, free: 84 kB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-06/0.2869, allocations: 0 / 226.7 MB, free: 84 kB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2869, allocations: 0 / 226.7 MB, free: 84 kB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.2873, allocations: 202.1 kB / 226.9 MB, free: 15.88 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2873, allocations: 0 / 226.9 MB, free: 15.88 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.259e-05/0.2874, allocations: 11.67 kB / 226.9 MB, free: 15.87 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000334/0.2877, allocations: 59.12 kB / 227 MB, free: 15.84 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.2878, allocations: 3.953 kB / 227 MB, free: 15.84 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.2894, allocations: 1.352 MB / 228.3 MB, free: 14.52 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.498e-06/0.2894, allocations: 3.844 kB / 228.4 MB, free: 14.52 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006104/0.2901, allocations: 250.2 kB / 228.6 MB, free: 14.35 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.2902, allocations: 92.62 kB / 228.7 MB, free: 14.25 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.2902, allocations: 0 / 228.7 MB, free: 14.25 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.2904, allocations: 15.61 kB / 228.7 MB, free: 14.24 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.2905, allocations: 8.188 kB / 228.7 MB, free: 14.23 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.2905, allocations: 7.984 kB / 228.7 MB, free: 14.23 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.2906, allocations: 125.9 kB / 228.8 MB, free: 14.14 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.65e-07/0.2907, allocations: 3.938 kB / 228.8 MB, free: 14.14 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004317/0.2911, allocations: 42.16 kB / 228.9 MB, free: 14.13 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (SaturatingInductance1.Psi) * 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 (3): * Single equations (assignments): 2 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001607/0.2913, allocations: 114.1 kB / 229 MB, free: 14.03 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.2924, allocations: 268.7 kB / 229.3 MB, free: 13.86 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.866e-06/0.2924, allocations: 0 / 229.3 MB, free: 13.86 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.2927, allocations: 150.5 kB / 229.4 MB, free: 13.74 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.2929, allocations: 7.203 kB / 229.4 MB, free: 13.74 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007536/0.2937, allocations: 391.1 kB / 229.8 MB, free: 13.42 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.2941, allocations: 0.7148 MB / 230.5 MB, free: 12.7 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.2941, allocations: 18.47 kB / 230.5 MB, free: 12.69 MB / 186.7 MB Notification: Performance of SimCode: time 1.428e-06/0.2942, allocations: 4 kB / 230.5 MB, free: 12.69 MB / 186.7 MB Notification: Performance of Templates: time 0.004576/0.2987, allocations: 2.193 MB / 232.7 MB, free: 11.59 MB / 186.7 MB