Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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 1.024/1.024, allocations: 111.1 MB / 127.3 MB, free: 6.148 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002726/0.0002727, allocations: 16 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05253/0.05283, allocations: 25.16 MB / 184 MB, free: 6.027 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2483/0.3012, allocations: 35.03 MB / 219.1 MB, free: 6.355 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.3016, allocations: 63.41 kB / 219.1 MB, free: 6.348 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01221/0.3138, allocations: 2.178 MB / 221.3 MB, free: 5.391 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.3139, allocations: 0 / 221.3 MB, free: 5.391 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3139, allocations: 0 / 221.3 MB, free: 5.391 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.0007763/0.3147, allocations: 429.9 kB / 221.7 MB, free: 4.98 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.3148, allocations: 7.562 kB / 221.7 MB, free: 4.98 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.669e-05/0.3149, allocations: 15.34 kB / 221.8 MB, free: 4.973 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.3151, allocations: 189.5 kB / 221.9 MB, free: 4.762 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.3151, allocations: 11.16 kB / 222 MB, free: 4.758 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.3152, allocations: 6.031 kB / 222 MB, free: 4.758 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.3156, allocations: 127.2 kB / 222.1 MB, free: 4.68 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.3157, allocations: 1.422 kB / 222.1 MB, free: 4.68 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.3157, allocations: 0 / 222.1 MB, free: 4.68 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3158, allocations: 3.906 kB / 222.1 MB, free: 4.68 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.3161, allocations: 60.84 kB / 222.1 MB, free: 4.672 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.3176, allocations: 0.4926 MB / 222.6 MB, free: 4.246 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.3179, allocations: 55.16 kB / 222.7 MB, free: 4.215 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.3179, allocations: 3.938 kB / 222.7 MB, free: 4.211 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.318, allocations: 30.56 kB / 222.7 MB, free: 4.172 MB / 170.7 MB Notification: Performance of pre-optimization done (n=4): time 3.877e-06/0.318, allocations: 0 / 222.7 MB, free: 4.172 MB / 170.7 MB Notification: Performance of matching and sorting (n=4): time 0.001319/0.3193, allocations: 231.8 kB / 223 MB, free: 4 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.3194, allocations: 102.8 kB / 223.1 MB, free: 3.875 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.3197, allocations: 156.2 kB / 223.2 MB, free: 3.766 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.3197, allocations: 33.8 kB / 223.2 MB, free: 3.73 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.3199, allocations: 184.6 kB / 223.4 MB, free: 3.562 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.3199, allocations: 18.03 kB / 223.4 MB, free: 3.551 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.3199, allocations: 3.781 kB / 223.4 MB, free: 3.551 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.32, allocations: 322.2 kB / 223.8 MB, free: 3.23 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.3202, allocations: 18.42 kB / 223.8 MB, free: 3.227 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.3204, allocations: 69.47 kB / 223.8 MB, free: 3.168 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.3206, allocations: 31.88 kB / 223.9 MB, free: 3.164 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.3206, allocations: 0 / 223.9 MB, free: 3.164 MB / 170.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007879/0.3214, allocations: 138.3 kB / 224 MB, free: 3.098 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.3215, allocations: 4.5 kB / 224 MB, free: 3.098 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.3215, allocations: 3.906 kB / 224 MB, free: 3.098 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005613/0.3221, allocations: 54.52 kB / 224.1 MB, free: 3.07 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/0.324, allocations: 124.6 kB / 224.2 MB, free: 3.035 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005147/0.3292, allocations: 2.816 MB / 227 MB, free: 252 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.3297, allocations: 15.08 kB / 227 MB, free: 248 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.3297, allocations: 3.75 kB / 227 MB, free: 248 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.0002857/0.33, allocations: 124.4 kB / 227.1 MB, free: 124 kB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.3301, allocations: 10.34 kB / 227.2 MB, free: 120 kB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008449/0.331, allocations: 139.3 kB / 227.3 MB, free: 32 kB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.331, allocations: 0 / 227.3 MB, free: 32 kB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.331, allocations: 0 / 227.3 MB, free: 32 kB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.3311, allocations: 3.984 kB / 227.3 MB, free: 28 kB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.3315, allocations: 200.5 kB / 227.5 MB, free: 15.82 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3316, allocations: 0 / 227.5 MB, free: 15.82 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.3317, allocations: 11.5 kB / 227.5 MB, free: 15.82 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007344/0.3325, allocations: 54.2 kB / 227.6 MB, free: 15.79 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.3326, allocations: 3.953 kB / 227.6 MB, free: 15.79 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002903/0.3355, allocations: 1.362 MB / 228.9 MB, free: 14.46 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3355, allocations: 0 / 228.9 MB, free: 14.46 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.3369, allocations: 252.4 kB / 229.2 MB, free: 14.29 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.3371, allocations: 92.44 kB / 229.3 MB, free: 14.19 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/0.3372, allocations: 3.984 kB / 229.3 MB, free: 14.19 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.3376, allocations: 11.59 kB / 229.3 MB, free: 14.18 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.3377, allocations: 11.73 kB / 229.3 MB, free: 14.18 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.3377, allocations: 4 kB / 229.3 MB, free: 14.17 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001894/0.3379, allocations: 128.3 kB / 229.4 MB, free: 14.08 MB / 186.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.338, allocations: 0 / 229.4 MB, free: 14.08 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006097/0.3386, allocations: 44.66 kB / 229.5 MB, free: 14.07 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.0002218/0.3388, allocations: 109.8 kB / 229.6 MB, free: 13.98 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.002681/0.3415, allocations: 281.8 kB / 229.8 MB, free: 13.81 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3416, allocations: 0 / 229.8 MB, free: 13.81 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005481/0.3421, allocations: 155.7 kB / 230 MB, free: 13.69 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.3425, allocations: 11.17 kB / 230 MB, free: 13.68 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.3438, allocations: 388.8 kB / 230.4 MB, free: 13.37 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.3443, allocations: 0.7142 MB / 231.1 MB, free: 12.65 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.3443, allocations: 15.22 kB / 231.1 MB, free: 12.64 MB / 186.7 MB Notification: Performance of SimCode: time 1.443e-06/0.3444, allocations: 0 / 231.1 MB, free: 12.64 MB / 186.7 MB Notification: Performance of Templates: time 0.007167/0.3515, allocations: 2.198 MB / 233.3 MB, free: 11.54 MB / 186.7 MB