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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.26/1.26, allocations: 111.1 MB / 126.7 MB, free: 6.148 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002943, allocations: 4 kB / 158.3 MB, free: 15.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05337/0.05373, allocations: 25.17 MB / 183.5 MB, free: 5.922 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002463/0.05625, allocations: 1.419 MB / 184.9 MB, free: 4.5 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.05738, allocations: 451.7 kB / 185.4 MB, free: 4.059 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.05749, allocations: 0 / 185.4 MB, free: 4.059 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 4.809e-05/0.05756, allocations: 11.91 kB / 185.4 MB, free: 4.047 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.05773, allocations: 43.86 kB / 185.4 MB, free: 4.004 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.05812, allocations: 71.83 kB / 185.5 MB, free: 3.934 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.05831, allocations: 91.81 kB / 185.6 MB, free: 3.844 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.05846, allocations: 37.31 kB / 185.6 MB, free: 3.809 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.05863, allocations: 59.83 kB / 185.7 MB, free: 3.75 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.05877, allocations: 51.77 kB / 185.7 MB, free: 3.699 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.05882, allocations: 8 kB / 185.7 MB, free: 3.691 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.426e-05/0.05886, allocations: 7.938 kB / 185.7 MB, free: 3.684 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.05892, allocations: 23.89 kB / 185.8 MB, free: 3.66 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.05899, allocations: 49.64 kB / 185.8 MB, free: 3.605 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.05917, allocations: 99.67 kB / 185.9 MB, free: 3.508 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.05919, allocations: 4 kB / 185.9 MB, free: 3.504 MB / 154.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.0592, allocations: 0 / 185.9 MB, free: 3.504 MB / 154.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.05921, allocations: 0 / 185.9 MB, free: 3.504 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.0008017/0.06002, allocations: 414.8 kB / 186.3 MB, free: 3.051 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.06008, allocations: 8.031 kB / 186.3 MB, free: 3.043 MB / 154.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.352e-05/0.06018, allocations: 54.64 kB / 186.4 MB, free: 2.98 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.06025, allocations: 15.91 kB / 186.4 MB, free: 2.965 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.06051, allocations: 186.9 kB / 186.6 MB, free: 2.742 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.06054, allocations: 4.188 kB / 186.6 MB, free: 2.738 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.06058, allocations: 11.94 kB / 186.6 MB, free: 2.727 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.06095, allocations: 129.3 kB / 186.7 MB, free: 2.586 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.06098, allocations: 3.953 kB / 186.7 MB, free: 2.582 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.06101, allocations: 4 kB / 186.7 MB, free: 2.578 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.06103, allocations: 4 kB / 186.7 MB, free: 2.574 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/0.06129, allocations: 63.97 kB / 186.8 MB, free: 2.512 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.06258, allocations: 0.4982 MB / 187.3 MB, free: 1.953 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.06278, allocations: 50.5 kB / 187.4 MB, free: 1.895 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.06281, allocations: 3.938 kB / 187.4 MB, free: 1.891 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.06286, allocations: 42.56 kB / 187.4 MB, free: 1.84 MB / 154.7 MB Notification: Performance of pre-optimization done (n=4): time 1.943e-06/0.06287, allocations: 0 / 187.4 MB, free: 1.84 MB / 154.7 MB Notification: Performance of matching and sorting (n=4): time 0.001078/0.06396, allocations: 231.6 kB / 187.6 MB, free: 1.586 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.06405, allocations: 106.8 kB / 187.7 MB, free: 1.457 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.06426, allocations: 154.2 kB / 187.9 MB, free: 1.293 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.0643, allocations: 33.7 kB / 187.9 MB, free: 1.254 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.06447, allocations: 182.4 kB / 188.1 MB, free: 1.07 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.06451, allocations: 15.75 kB / 188.1 MB, free: 1.055 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-06/0.06453, allocations: 4 kB / 188.1 MB, free: 1.051 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.06466, allocations: 314.8 kB / 188.4 MB, free: 0.7344 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.06478, allocations: 24 kB / 188.4 MB, free: 0.7109 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.06495, allocations: 69.11 kB / 188.5 MB, free: 0.625 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.06511, allocations: 35.95 kB / 188.5 MB, free: 0.5898 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.06513, allocations: 0 / 188.5 MB, free: 0.5898 MB / 154.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006244/0.06576, allocations: 138.4 kB / 188.7 MB, free: 456 kB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.06579, allocations: 4 kB / 188.7 MB, free: 452 kB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.06581, allocations: 4.078 kB / 188.7 MB, free: 448 kB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004632/0.06629, allocations: 48.81 kB / 188.7 MB, free: 396 kB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.06796, allocations: 135.8 kB / 188.9 MB, free: 260 kB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/0.072, allocations: 2.81 MB / 191.7 MB, free: 13.18 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.0723, allocations: 12.02 kB / 191.7 MB, free: 13.16 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.07236, allocations: 4 kB / 191.7 MB, free: 13.16 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.0002254/0.0726, allocations: 130 kB / 191.8 MB, free: 13.02 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.07266, allocations: 15.86 kB / 191.8 MB, free: 13.01 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005766/0.07325, allocations: 134.6 kB / 192 MB, free: 12.87 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.07327, allocations: 4.047 kB / 192 MB, free: 12.86 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.07328, allocations: 3.984 kB / 192 MB, free: 12.86 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.07329, allocations: 0 / 192 MB, free: 12.86 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.0736, allocations: 209.6 kB / 192.2 MB, free: 12.61 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.07362, allocations: 0 / 192.2 MB, free: 12.61 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.07373, allocations: 7.984 kB / 192.2 MB, free: 12.6 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004518/0.0742, allocations: 52.81 kB / 192.2 MB, free: 12.54 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.07423, allocations: 0 / 192.2 MB, free: 12.54 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.07606, allocations: 1.359 MB / 193.6 MB, free: 11.04 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.07609, allocations: 0 / 193.6 MB, free: 11.04 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007804/0.07688, allocations: 252.2 kB / 193.8 MB, free: 10.78 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.077, allocations: 96.94 kB / 193.9 MB, free: 10.66 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.07705, allocations: 0 / 193.9 MB, free: 10.66 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.07729, allocations: 12.11 kB / 193.9 MB, free: 10.65 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.07736, allocations: 19.89 kB / 194 MB, free: 10.63 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.07738, allocations: 0 / 194 MB, free: 10.63 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001379/0.07752, allocations: 128.1 kB / 194.1 MB, free: 10.51 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.07754, allocations: 0 / 194.1 MB, free: 10.51 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004108/0.07795, allocations: 35.94 kB / 194.1 MB, free: 10.47 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.001058/0.07902, allocations: 0.7834 MB / 194.9 MB, free: 9.66 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.08093, allocations: 283.9 kB / 195.2 MB, free: 9.367 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.08096, allocations: 0 / 195.2 MB, free: 9.367 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003692/0.08133, allocations: 162.6 kB / 195.3 MB, free: 9.195 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.08156, allocations: 7.953 kB / 195.4 MB, free: 9.188 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.08276, allocations: 0.6204 MB / 196 MB, free: 8.508 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.08312, allocations: 0.716 MB / 196.7 MB, free: 7.766 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.08323, allocations: 39.42 kB / 196.7 MB, free: 7.727 MB / 170.7 MB Notification: Performance of SimCode: time 9.81e-07/0.08324, allocations: 0 / 196.7 MB, free: 7.727 MB / 170.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.533/2.616, allocations: 2.744 MB / 199.5 MB, free: 4.977 MB / 170.7 MB