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 1.118/1.118, allocations: 111.1 MB / 126.7 MB, free: 6.121 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.0002681, allocations: 4 kB / 158.2 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04546/0.04576, allocations: 25.17 MB / 183.4 MB, free: 6.008 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002186/0.04799, allocations: 1.411 MB / 184.8 MB, free: 4.594 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009326/0.04896, allocations: 463.6 kB / 185.3 MB, free: 4.141 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.04905, allocations: 0 / 185.3 MB, free: 4.141 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.04913, allocations: 7.922 kB / 185.3 MB, free: 4.133 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.04928, allocations: 39.91 kB / 185.3 MB, free: 4.094 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.04962, allocations: 67.8 kB / 185.4 MB, free: 4.027 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.0498, allocations: 103.8 kB / 185.5 MB, free: 3.926 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.04992, allocations: 25.06 kB / 185.5 MB, free: 3.902 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.05008, allocations: 59.83 kB / 185.6 MB, free: 3.844 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.05021, allocations: 55.75 kB / 185.6 MB, free: 3.789 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.05026, allocations: 8 kB / 185.6 MB, free: 3.781 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.887e-05/0.0503, allocations: 4 kB / 185.7 MB, free: 3.777 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 3.628e-05/0.05034, allocations: 23.91 kB / 185.7 MB, free: 3.754 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.05041, allocations: 45.64 kB / 185.7 MB, free: 3.703 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.05059, allocations: 108 kB / 185.8 MB, free: 3.598 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.899e-06/0.05061, allocations: 3.938 kB / 185.8 MB, free: 3.594 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.042e-06/0.05062, allocations: 0 / 185.8 MB, free: 3.594 MB / 154.7 MB Notification: Performance of Transformations before backend: time 5.387e-06/0.05063, allocations: 4 kB / 185.8 MB, free: 3.59 MB / 154.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.0007065/0.05135, allocations: 410.9 kB / 186.2 MB, free: 3.141 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.0514, allocations: 8.031 kB / 186.2 MB, free: 3.133 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/0.05147, allocations: 27.8 kB / 186.3 MB, free: 3.105 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.05169, allocations: 190.8 kB / 186.5 MB, free: 2.879 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.05172, allocations: 0 / 186.5 MB, free: 2.879 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.05176, allocations: 12 kB / 186.5 MB, free: 2.867 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.05208, allocations: 126.9 kB / 186.6 MB, free: 2.73 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.05211, allocations: 0 / 186.6 MB, free: 2.73 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.05214, allocations: 4 kB / 186.6 MB, free: 2.727 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.05216, allocations: 11.94 kB / 186.6 MB, free: 2.715 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.05238, allocations: 59.95 kB / 186.7 MB, free: 2.656 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.05349, allocations: 494.5 kB / 187.1 MB, free: 2.113 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.05366, allocations: 54.48 kB / 187.2 MB, free: 2.051 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.0537, allocations: 3.984 kB / 187.2 MB, free: 2.047 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.05375, allocations: 42.5 kB / 187.2 MB, free: 1.996 MB / 154.7 MB Notification: Performance of pre-optimization done (n=4): time 2.086e-06/0.05377, allocations: 0 / 187.2 MB, free: 1.996 MB / 154.7 MB Notification: Performance of matching and sorting (n=4): time 0.0008509/0.05463, allocations: 219.8 kB / 187.5 MB, free: 1.754 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.478e-05/0.05473, allocations: 114.8 kB / 187.6 MB, free: 1.617 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.05495, allocations: 158.2 kB / 187.7 MB, free: 1.449 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.05499, allocations: 25.7 kB / 187.8 MB, free: 1.418 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.05514, allocations: 186.2 kB / 187.9 MB, free: 1.234 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.05518, allocations: 15.8 kB / 187.9 MB, free: 1.219 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-06/0.0552, allocations: 0 / 187.9 MB, free: 1.219 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.05537, allocations: 318.8 kB / 188.3 MB, free: 0.8984 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.866e-05/0.05548, allocations: 27.98 kB / 188.3 MB, free: 0.8711 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.05563, allocations: 61.12 kB / 188.3 MB, free: 0.793 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.05577, allocations: 31.97 kB / 188.4 MB, free: 0.7617 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.05579, allocations: 4.031 kB / 188.4 MB, free: 0.7578 MB / 154.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005178/0.05631, allocations: 138.4 kB / 188.5 MB, free: 0.6133 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.05635, allocations: 8 kB / 188.5 MB, free: 0.6055 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.216e-06/0.05637, allocations: 0 / 188.5 MB, free: 0.6055 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003437/0.05672, allocations: 48.91 kB / 188.6 MB, free: 0.5547 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.05777, allocations: 135.9 kB / 188.7 MB, free: 432 kB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003687/0.06147, allocations: 2.81 MB / 191.5 MB, free: 13.34 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.0617, allocations: 11.98 kB / 191.5 MB, free: 13.33 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.06173, allocations: 7.938 kB / 191.5 MB, free: 13.32 MB / 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.0002166/0.06196, allocations: 130 kB / 191.7 MB, free: 13.18 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.06203, allocations: 11.91 kB / 191.7 MB, free: 13.17 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004639/0.0625, allocations: 126.6 kB / 191.8 MB, free: 13.04 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.713e-06/0.06252, allocations: 0 / 191.8 MB, free: 13.04 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.06254, allocations: 8 kB / 191.8 MB, free: 13.03 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.561e-06/0.06256, allocations: 4.031 kB / 191.8 MB, free: 13.03 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.06288, allocations: 209.5 kB / 192 MB, free: 12.77 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.0629, allocations: 0 / 192 MB, free: 12.77 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.17e-05/0.063, allocations: 8 kB / 192 MB, free: 12.77 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003587/0.06337, allocations: 56.75 kB / 192.1 MB, free: 12.71 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.0634, allocations: 4 kB / 192.1 MB, free: 12.7 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.06512, allocations: 1.355 MB / 193.4 MB, free: 11.21 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.341e-06/0.06514, allocations: 3.938 kB / 193.4 MB, free: 11.2 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006065/0.06576, allocations: 252.2 kB / 193.7 MB, free: 10.94 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.06589, allocations: 96.94 kB / 193.8 MB, free: 10.82 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.06593, allocations: 4 kB / 193.8 MB, free: 10.82 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.06613, allocations: 12.11 kB / 193.8 MB, free: 10.81 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.06619, allocations: 11.98 kB / 193.8 MB, free: 10.8 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.119e-06/0.06621, allocations: 0 / 193.8 MB, free: 10.8 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.06636, allocations: 124.1 kB / 193.9 MB, free: 10.68 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.06638, allocations: 8.062 kB / 193.9 MB, free: 10.67 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004149/0.0668, allocations: 28 kB / 194 MB, free: 10.64 MB / 170.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.0001435/0.06696, allocations: 103.2 kB / 194.1 MB, free: 10.53 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.06826, allocations: 283.5 kB / 194.3 MB, free: 10.24 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.295e-06/0.06829, allocations: 0 / 194.3 MB, free: 10.24 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.06861, allocations: 154.6 kB / 194.5 MB, free: 10.07 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.06882, allocations: 11.95 kB / 194.5 MB, free: 10.06 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007731/0.06961, allocations: 397.2 kB / 194.9 MB, free: 9.645 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.07004, allocations: 0.716 MB / 195.6 MB, free: 8.902 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.07009, allocations: 11.44 kB / 195.6 MB, free: 8.895 MB / 170.7 MB Notification: Performance of SimCode: time 1.804e-06/0.0701, allocations: 0 / 195.6 MB, free: 8.895 MB / 170.7 MB Notification: Performance of Templates: time 0.005027/0.07513, allocations: 2.185 MB / 197.8 MB, free: 6.707 MB / 170.7 MB