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.058/1.058, allocations: 111.1 MB / 126.7 MB, free: 6.125 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.0004325, allocations: 4 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04509/0.04555, allocations: 25.17 MB / 183.5 MB, free: 5.977 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1773/0.2229, allocations: 38.63 MB / 222.1 MB, free: 5.434 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.2232, allocations: 63.44 kB / 222.2 MB, free: 5.426 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02341/0.2466, allocations: 6.414 MB / 228.6 MB, free: 2.242 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.462e-06/0.2466, allocations: 0 / 228.6 MB, free: 2.242 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.19e-05/0.2467, allocations: 8 kB / 228.6 MB, free: 2.234 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001406/0.2481, allocations: 0.7511 MB / 229.4 MB, free: 1.461 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2481, allocations: 8.031 kB / 229.4 MB, free: 1.453 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.2483, allocations: 43.53 kB / 229.4 MB, free: 1.41 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.2487, allocations: 304.2 kB / 229.7 MB, free: 1.109 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.2487, allocations: 30.38 kB / 229.7 MB, free: 1.094 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8e-05/0.2488, allocations: 33.62 kB / 229.8 MB, free: 1.07 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.2501, allocations: 0.5295 MB / 230.3 MB, free: 0.6445 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.2502, allocations: 4 kB / 230.3 MB, free: 0.6406 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.19e-05/0.2502, allocations: 15.44 kB / 230.3 MB, free: 0.6367 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.2503, allocations: 11.98 kB / 230.3 MB, free: 0.625 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.2519, allocations: 0.5701 MB / 230.9 MB, free: 188 kB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003324/0.2553, allocations: 1.399 MB / 232.3 MB, free: 15.04 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.2568, allocations: 462.6 kB / 232.8 MB, free: 14.69 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.77e-05/0.2569, allocations: 13.98 kB / 232.8 MB, free: 14.68 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.257, allocations: 37.77 kB / 232.8 MB, free: 14.63 MB / 186.7 MB Notification: Performance of pre-optimization done (n=40): time 3.61e-06/0.257, allocations: 3.938 kB / 232.8 MB, free: 14.63 MB / 186.7 MB Notification: Performance of matching and sorting (n=40): time 0.006015/0.263, allocations: 1.443 MB / 234.3 MB, free: 13.32 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.2632, allocations: 162.2 kB / 234.4 MB, free: 13.12 MB / 186.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.0005142/0.2637, allocations: 251.5 kB / 234.7 MB, free: 12.9 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 7.277e-05/0.2638, allocations: 32.64 kB / 234.7 MB, free: 12.87 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.264, allocations: 258.9 kB / 234.9 MB, free: 12.64 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.2642, allocations: 133.9 kB / 235.1 MB, free: 12.53 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.2642, allocations: 6.312 kB / 235.1 MB, free: 12.53 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.2644, allocations: 330.3 kB / 235.4 MB, free: 12.21 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007063/0.2651, allocations: 199.1 kB / 235.6 MB, free: 12.06 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007982/0.266, allocations: 300.2 kB / 235.9 MB, free: 11.79 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007435/0.2667, allocations: 221.1 kB / 236.1 MB, free: 11.63 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.728e-06/0.2667, allocations: 4 kB / 236.1 MB, free: 11.63 MB / 186.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002989/0.2697, allocations: 0.8192 MB / 236.9 MB, free: 10.95 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.2698, allocations: 4 kB / 236.9 MB, free: 10.95 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.2698, allocations: 4 kB / 236.9 MB, free: 10.94 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001791/0.2716, allocations: 343.1 kB / 237.3 MB, free: 10.64 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005069/0.2722, allocations: 83.88 kB / 237.4 MB, free: 10.56 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.2741, allocations: 1.371 MB / 238.7 MB, free: 9.262 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006758/0.2748, allocations: 91.42 kB / 238.8 MB, free: 9.176 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.2749, allocations: 15.88 kB / 238.8 MB, free: 9.164 MB / 186.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.0004123/0.2753, allocations: 191.7 kB / 239 MB, free: 8.996 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.2754, allocations: 39.62 kB / 239.1 MB, free: 8.957 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/0.2783, allocations: 0.7904 MB / 239.8 MB, free: 8.32 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.2784, allocations: 4 kB / 239.9 MB, free: 8.316 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.269e-06/0.2784, allocations: 0 / 239.9 MB, free: 8.316 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.2784, allocations: 7.984 kB / 239.9 MB, free: 8.309 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008503/0.2793, allocations: 468.5 kB / 240.3 MB, free: 7.902 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.269e-06/0.2793, allocations: 0 / 240.3 MB, free: 7.902 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/0.2797, allocations: 67.88 kB / 240.4 MB, free: 7.836 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/0.2814, allocations: 343.2 kB / 240.7 MB, free: 7.543 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/0.2815, allocations: 7.938 kB / 240.7 MB, free: 7.539 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.2834, allocations: 1.378 MB / 242.1 MB, free: 6.234 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.633e-06/0.2835, allocations: 0 / 242.1 MB, free: 6.234 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.287, allocations: 1.102 MB / 243.2 MB, free: 5.336 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.2873, allocations: 145.3 kB / 243.3 MB, free: 5.191 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.188e-05/0.2874, allocations: 14.52 kB / 243.4 MB, free: 5.184 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005311/0.288, allocations: 66.62 kB / 243.4 MB, free: 5.125 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.2881, allocations: 19.09 kB / 243.4 MB, free: 5.109 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.2881, allocations: 15.69 kB / 243.5 MB, free: 5.098 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0003253/0.2885, allocations: 185.8 kB / 243.6 MB, free: 4.945 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.14e-07/0.2885, allocations: 7.938 kB / 243.6 MB, free: 4.938 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005862/0.2891, allocations: 120.4 kB / 243.8 MB, free: 4.832 MB / 186.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.0002173/0.2893, allocations: 126.2 kB / 243.9 MB, free: 4.703 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.00176/0.2911, allocations: 0.5158 MB / 244.4 MB, free: 4.297 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 8.134e-06/0.2911, allocations: 4.375 kB / 244.4 MB, free: 4.293 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009433/0.2921, allocations: 282.2 kB / 244.7 MB, free: 4.078 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.2927, allocations: 74.19 kB / 244.8 MB, free: 4.023 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.2949, allocations: 1.074 MB / 245.8 MB, free: 2.996 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/0.2955, allocations: 0.8074 MB / 246.6 MB, free: 2.156 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.2956, allocations: 30.62 kB / 246.7 MB, free: 2.129 MB / 186.7 MB Notification: Performance of SimCode: time 1.824e-06/0.2957, allocations: 0 / 246.7 MB, free: 2.129 MB / 186.7 MB Notification: Performance of Templates: time 0.01274/0.3084, allocations: 6.847 MB / 253.5 MB, free: 11.32 MB / 202.7 MB