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.HeatingMOSInverter.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.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadModel(Modelica): time 1.021/1.021, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002566/0.0002565, allocations: 4 kB / 158.2 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04501/0.04529, allocations: 25.17 MB / 183.4 MB, free: 6.004 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003665/0.049, allocations: 2.445 MB / 185.9 MB, free: 3.551 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.05045, allocations: 0.7031 MB / 186.6 MB, free: 2.848 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.05065, allocations: 8 kB / 186.6 MB, free: 2.84 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 9.649e-05/0.05076, allocations: 43.67 kB / 186.6 MB, free: 2.797 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.05107, allocations: 131.6 kB / 186.7 MB, free: 2.668 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.05145, allocations: 107.8 kB / 186.9 MB, free: 2.562 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005151/0.05198, allocations: 364.8 kB / 187.2 MB, free: 2.207 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/0.05227, allocations: 132 kB / 187.3 MB, free: 2.074 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.05259, allocations: 187.4 kB / 187.5 MB, free: 1.891 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.05293, allocations: 215.2 kB / 187.7 MB, free: 1.68 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 6.914e-05/0.05301, allocations: 24 kB / 187.8 MB, free: 1.656 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.05314, allocations: 36 kB / 187.8 MB, free: 1.621 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 9.957e-05/0.05325, allocations: 83.66 kB / 187.9 MB, free: 1.539 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.05338, allocations: 97.52 kB / 188 MB, free: 1.438 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005442/0.05394, allocations: 407.1 kB / 188.4 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.631e-06/0.05396, allocations: 0 / 188.4 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.05397, allocations: 4 kB / 188.4 MB, free: 1.035 MB / 154.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.05399, allocations: 0 / 188.4 MB, free: 1.035 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001701/0.0557, allocations: 0.7602 MB / 189.1 MB, free: 228 kB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.05576, allocations: 12.03 kB / 189.1 MB, free: 216 kB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.05589, allocations: 55.44 kB / 189.2 MB, free: 160 kB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.0564, allocations: 293.3 kB / 189.5 MB, free: 15.83 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.05646, allocations: 29 kB / 189.5 MB, free: 15.8 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.255e-05/0.05656, allocations: 36 kB / 189.5 MB, free: 15.77 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.05797, allocations: 0.5279 MB / 190.1 MB, free: 15.22 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.05802, allocations: 0 / 190.1 MB, free: 15.22 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/0.05809, allocations: 20 kB / 190.1 MB, free: 15.2 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.05812, allocations: 15.94 kB / 190.1 MB, free: 15.18 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.05991, allocations: 0.5621 MB / 190.7 MB, free: 14.62 MB / 170.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00338/0.06331, allocations: 1.648 MB / 192.3 MB, free: 12.84 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.0648, allocations: 461.6 kB / 192.8 MB, free: 12.38 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.757e-05/0.06487, allocations: 12.31 kB / 192.8 MB, free: 12.37 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.06493, allocations: 46.83 kB / 192.8 MB, free: 12.31 MB / 170.7 MB Notification: Performance of pre-optimization done (n=40): time 3.335e-06/0.06495, allocations: 0 / 192.8 MB, free: 12.31 MB / 170.7 MB Notification: Performance of matching and sorting (n=40): time 0.006136/0.07109, allocations: 1.527 MB / 194.4 MB, free: 10.74 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.07123, allocations: 158.2 kB / 194.5 MB, free: 10.55 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter Sin.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005039/0.07175, allocations: 274.9 kB / 194.8 MB, free: 10.27 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.07182, allocations: 33.7 kB / 194.8 MB, free: 10.23 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.07203, allocations: 266.7 kB / 195.1 MB, free: 9.965 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.0722, allocations: 138 kB / 195.2 MB, free: 9.828 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.07225, allocations: 4 kB / 195.2 MB, free: 9.824 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.07243, allocations: 330.8 kB / 195.5 MB, free: 9.492 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006926/0.07314, allocations: 200.8 kB / 195.7 MB, free: 9.297 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000803/0.07396, allocations: 302.5 kB / 196 MB, free: 8.965 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.0747, allocations: 216.9 kB / 196.2 MB, free: 8.754 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.142e-06/0.07472, allocations: 0 / 196.2 MB, free: 8.754 MB / 170.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002984/0.07771, allocations: 0.8343 MB / 197.1 MB, free: 7.906 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.07776, allocations: 4 kB / 197.1 MB, free: 7.902 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.07778, allocations: 4 kB / 197.1 MB, free: 7.898 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/0.07947, allocations: 333.4 kB / 197.4 MB, free: 7.566 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.07995, allocations: 91.88 kB / 197.5 MB, free: 7.477 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.08185, allocations: 1.362 MB / 198.9 MB, free: 6.062 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/0.08247, allocations: 99.89 kB / 198.9 MB, free: 5.965 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.08254, allocations: 12 kB / 199 MB, free: 5.953 MB / 170.7 MB Warning: Assuming fixed start value for the following 2 variables: HeatCapacitor1.T:VARIABLE(min = max(1.0, max(1.0, max(1.0, max(1.0, 1.0)))) max = min(6000.0, min(6000.0, min(6000.0, min(6000.0, 6000.0)))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003833/0.08294, allocations: 184.9 kB / 199.1 MB, free: 5.766 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.08306, allocations: 43.53 kB / 199.2 MB, free: 5.723 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/0.08588, allocations: 0.8212 MB / 200 MB, free: 4.887 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.334e-06/0.08592, allocations: 4 kB / 200 MB, free: 4.883 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.08593, allocations: 0 / 200 MB, free: 4.883 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.08595, allocations: 0 / 200 MB, free: 4.883 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007946/0.08675, allocations: 469 kB / 200.5 MB, free: 4.375 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.874e-06/0.08677, allocations: 0 / 200.5 MB, free: 4.375 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.08719, allocations: 67.89 kB / 200.5 MB, free: 4.309 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/0.08881, allocations: 345.3 kB / 200.9 MB, free: 3.965 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.08888, allocations: 12 kB / 200.9 MB, free: 3.953 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.09073, allocations: 1.378 MB / 202.3 MB, free: 2.523 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.826e-06/0.09075, allocations: 3.984 kB / 202.3 MB, free: 2.52 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00348/0.09424, allocations: 1.129 MB / 203.4 MB, free: 1.367 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.09455, allocations: 136.7 kB / 203.5 MB, free: 1.215 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.44e-05/0.09465, allocations: 19.94 kB / 203.5 MB, free: 1.195 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004983/0.09516, allocations: 63.92 kB / 203.6 MB, free: 1.133 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.09525, allocations: 23.95 kB / 203.6 MB, free: 1.109 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.09531, allocations: 15.94 kB / 203.6 MB, free: 1.094 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0003166/0.09564, allocations: 186 kB / 203.8 MB, free: 0.9102 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.09565, allocations: 0 / 203.8 MB, free: 0.9102 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005834/0.09625, allocations: 119.8 kB / 203.9 MB, free: 0.793 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (22): * Single equations (assignments): 20 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002089/0.09647, allocations: 127.2 kB / 204.1 MB, free: 0.6562 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.09822, allocations: 0.5034 MB / 204.6 MB, free: 152 kB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.811e-06/0.09824, allocations: 0 / 204.6 MB, free: 152 kB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1126/0.2109, allocations: 274.5 kB / 204.8 MB, free: 25.37 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006234/0.2116, allocations: 73.91 kB / 204.9 MB, free: 25.37 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.2136, allocations: 1.079 MB / 206 MB, free: 24.89 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.2139, allocations: 0.8033 MB / 206.8 MB, free: 24.19 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.214, allocations: 27.23 kB / 206.8 MB, free: 24.18 MB / 170.7 MB Notification: Performance of SimCode: time 1.678e-06/0.214, allocations: 3.375 kB / 206.8 MB, free: 24.18 MB / 170.7 MB Notification: Performance of Templates: time 0.01093/0.225, allocations: 6.848 MB / 213.7 MB, free: 21.71 MB / 170.7 MB