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.9714/0.9714, allocations: 111.2 MB / 124.2 MB, free: 11.14 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.389e-05/2.4e-05, allocations: 4 kB / 154.3 MB, free: 13.12 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1371, allocations: 25.14 MB / 179.4 MB, free: 0.8008 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05378/0.1909, allocations: 34.96 MB / 214.4 MB, free: 14.14 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.1912, allocations: 67.95 kB / 214.4 MB, free: 14.08 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009248/0.2005, allocations: 2.175 MB / 216.6 MB, free: 11.91 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2005, allocations: 0 / 216.6 MB, free: 11.91 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.2005, allocations: 4 kB / 216.6 MB, free: 11.9 MB / 186.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.0005823/0.2011, allocations: 402.2 kB / 217 MB, free: 11.46 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.2012, allocations: 8.031 kB / 217 MB, free: 11.46 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.2013, allocations: 15.81 kB / 217 MB, free: 11.44 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.2015, allocations: 187.5 kB / 217.2 MB, free: 11.22 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.2015, allocations: 8 kB / 217.2 MB, free: 11.21 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.2016, allocations: 8.188 kB / 217.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.2018, allocations: 123 kB / 217.4 MB, free: 11.07 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.2019, allocations: 0 / 217.4 MB, free: 11.07 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.2019, allocations: 8 kB / 217.4 MB, free: 11.06 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.114e-06/0.2019, allocations: 0 / 217.4 MB, free: 11.06 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.2021, allocations: 44 kB / 217.4 MB, free: 11.02 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.2032, allocations: 0.4908 MB / 217.9 MB, free: 10.46 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.2034, allocations: 46.5 kB / 217.9 MB, free: 10.41 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.2034, allocations: 16.86 kB / 218 MB, free: 10.39 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.2035, allocations: 4 kB / 218 MB, free: 10.39 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.2035, allocations: 34.56 kB / 218 MB, free: 10.34 MB / 186.7 MB Notification: Performance of pre-optimization done (n=4): time 2.283e-06/0.2035, allocations: 0 / 218 MB, free: 10.34 MB / 186.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004974/0.204, allocations: 98.45 kB / 218.1 MB, free: 10.24 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.75e-05/0.2041, allocations: 106.8 kB / 218.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.2043, allocations: 145.4 kB / 218.3 MB, free: 9.961 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.2044, allocations: 25.7 kB / 218.4 MB, free: 9.93 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.2045, allocations: 194.1 kB / 218.6 MB, free: 9.738 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.855e-05/0.2046, allocations: 7.812 kB / 218.6 MB, free: 9.73 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.2046, allocations: 4 kB / 218.6 MB, free: 9.727 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.2048, allocations: 318.8 kB / 218.9 MB, free: 9.406 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.105e-05/0.2048, allocations: 15.98 kB / 218.9 MB, free: 9.391 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.205, allocations: 53.16 kB / 218.9 MB, free: 9.32 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.276e-05/0.2051, allocations: 28.02 kB / 219 MB, free: 9.293 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.263e-06/0.2051, allocations: 0 / 219 MB, free: 9.293 MB / 186.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004656/0.2055, allocations: 126.8 kB / 219.1 MB, free: 9.16 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2056, allocations: 8.094 kB / 219.1 MB, free: 9.152 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.2056, allocations: 8 kB / 219.1 MB, free: 9.145 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/0.206, allocations: 44.81 kB / 219.2 MB, free: 9.098 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.207, allocations: 135.8 kB / 219.3 MB, free: 8.965 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003385/0.2104, allocations: 2.772 MB / 222.1 MB, free: 5.922 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.2107, allocations: 27.89 kB / 222.1 MB, free: 5.895 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.2107, allocations: 0 / 222.1 MB, free: 5.895 MB / 186.7 MB Warning: Assuming fixed start value for the following 1 variables: SaturatingInductance1.Psi:VARIABLE(unit = "Wb" ) 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 () * 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.0001573/0.2109, allocations: 109.1 kB / 222.2 MB, free: 5.781 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.2109, allocations: 11.91 kB / 222.2 MB, free: 5.77 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004175/0.2114, allocations: 118.4 kB / 222.3 MB, free: 5.641 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.481e-06/0.2114, allocations: 0 / 222.3 MB, free: 5.641 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.142e-06/0.2114, allocations: 0 / 222.3 MB, free: 5.641 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.905e-06/0.2114, allocations: 0 / 222.3 MB, free: 5.641 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.2117, allocations: 213.5 kB / 222.5 MB, free: 5.383 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-06/0.2117, allocations: 0 / 222.5 MB, free: 5.383 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.726e-05/0.2119, allocations: 16.05 kB / 222.5 MB, free: 5.367 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003436/0.2122, allocations: 48.81 kB / 222.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.2122, allocations: 3.953 kB / 222.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.2139, allocations: 1.347 MB / 223.9 MB, free: 3.828 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.268e-06/0.214, allocations: 8.047 kB / 224 MB, free: 3.82 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.2145, allocations: 232.1 kB / 224.2 MB, free: 3.574 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.2146, allocations: 92.94 kB / 224.3 MB, free: 3.465 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.2146, allocations: 7.984 kB / 224.3 MB, free: 3.457 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.2148, allocations: 12.06 kB / 224.3 MB, free: 3.445 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.2149, allocations: 7.984 kB / 224.3 MB, free: 3.438 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.871e-06/0.2149, allocations: 0 / 224.3 MB, free: 3.438 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001362/0.2151, allocations: 124.1 kB / 224.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.18e-07/0.2151, allocations: 0 / 224.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004224/0.2155, allocations: 39.94 kB / 224.5 MB, free: 3.277 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 () * 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.0001602/0.2157, allocations: 100.3 kB / 224.6 MB, free: 3.172 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.2168, allocations: 251.3 kB / 224.8 MB, free: 2.91 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.364e-06/0.2168, allocations: 192 / 224.8 MB, free: 2.91 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002722/0.2171, allocations: 150.5 kB / 225 MB, free: 2.75 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.2173, allocations: 7.953 kB / 225 MB, free: 2.742 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.2179, allocations: 238.2 kB / 225.2 MB, free: 2.48 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.2183, allocations: 0.7121 MB / 225.9 MB, free: 1.742 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.2183, allocations: 15.42 kB / 225.9 MB, free: 1.727 MB / 186.7 MB Notification: Performance of SimCode: time 1.425e-06/0.2183, allocations: 3.938 kB / 225.9 MB, free: 1.723 MB / 186.7 MB Notification: Performance of Templates: time 0.005107/0.2235, allocations: 2.178 MB / 228.1 MB, free: 15.54 MB / 202.7 MB