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 0.9695/0.9695, allocations: 111.1 MB / 126.3 MB, free: 6.406 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.448e-05/2.415e-05, allocations: 4 kB / 154.5 MB, free: 2.832 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05258/0.05262, allocations: 25.18 MB / 179.7 MB, free: 9.617 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003894/0.05656, allocations: 2.394 MB / 182.1 MB, free: 7.211 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.05806, allocations: 0.625 MB / 182.7 MB, free: 6.586 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.05825, allocations: 8 kB / 182.7 MB, free: 6.578 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.05837, allocations: 35.69 kB / 182.7 MB, free: 6.543 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.05872, allocations: 131.5 kB / 182.9 MB, free: 6.414 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.05907, allocations: 103.9 kB / 183 MB, free: 6.312 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.000467/0.05956, allocations: 273 kB / 183.2 MB, free: 6.047 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.0598, allocations: 90.94 kB / 183.3 MB, free: 5.961 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.0601, allocations: 163.6 kB / 183.5 MB, free: 5.801 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.06046, allocations: 199.4 kB / 183.7 MB, free: 5.605 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.06061, allocations: 35.92 kB / 183.7 MB, free: 5.57 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 7.71e-05/0.0607, allocations: 24 kB / 183.7 MB, free: 5.547 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.06081, allocations: 75.67 kB / 183.8 MB, free: 5.473 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.06094, allocations: 40 kB / 183.9 MB, free: 5.434 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005766/0.06153, allocations: 411.1 kB / 184.3 MB, free: 5.031 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.06155, allocations: 0 / 184.3 MB, free: 5.031 MB / 154.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.06156, allocations: 0 / 184.3 MB, free: 5.031 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.06158, allocations: 0 / 184.3 MB, free: 5.031 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.002225/0.06381, allocations: 0.7296 MB / 185 MB, free: 4.25 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.06388, allocations: 12.02 kB / 185 MB, free: 4.238 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.06402, allocations: 47.44 kB / 185 MB, free: 4.191 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/0.06452, allocations: 293.4 kB / 185.3 MB, free: 3.867 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.06458, allocations: 28.94 kB / 185.4 MB, free: 3.84 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.0647, allocations: 39.91 kB / 185.4 MB, free: 3.801 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.06652, allocations: 0.524 MB / 185.9 MB, free: 3.254 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.06655, allocations: 0 / 185.9 MB, free: 3.254 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-05/0.06665, allocations: 16 kB / 185.9 MB, free: 3.238 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.06668, allocations: 11.95 kB / 186 MB, free: 3.227 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/0.06919, allocations: 0.5699 MB / 186.5 MB, free: 2.656 MB / 154.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.004011/0.07322, allocations: 1.644 MB / 188.2 MB, free: 0.875 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.07519, allocations: 455.7 kB / 188.6 MB, free: 432 kB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/0.07527, allocations: 16.25 kB / 188.6 MB, free: 416 kB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.07532, allocations: 38.89 kB / 188.7 MB, free: 368 kB / 154.7 MB Notification: Performance of pre-optimization done (n=40): time 2.535e-06/0.07534, allocations: 0 / 188.7 MB, free: 368 kB / 154.7 MB Notification: Performance of matching and sorting (n=40): time 0.009129/0.08447, allocations: 1.527 MB / 190.2 MB, free: 14.78 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.08462, allocations: 162.2 kB / 190.4 MB, free: 14.59 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.0005176/0.08515, allocations: 242.2 kB / 190.6 MB, free: 14.34 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/0.08523, allocations: 37.64 kB / 190.6 MB, free: 14.3 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.08542, allocations: 262.6 kB / 190.9 MB, free: 14.05 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.0856, allocations: 134 kB / 191 MB, free: 13.91 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.08565, allocations: 12 kB / 191 MB, free: 13.9 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.0858, allocations: 326.7 kB / 191.3 MB, free: 13.57 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009733/0.08679, allocations: 204.8 kB / 191.5 MB, free: 13.38 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.08786, allocations: 294.5 kB / 191.8 MB, free: 13.05 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.08888, allocations: 224.9 kB / 192.1 MB, free: 12.83 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.0889, allocations: 0 / 192.1 MB, free: 12.83 MB / 170.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004189/0.0931, allocations: 0.8266 MB / 192.9 MB, free: 11.99 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.09315, allocations: 7.953 kB / 192.9 MB, free: 11.98 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.09317, allocations: 7.984 kB / 192.9 MB, free: 11.98 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002182/0.09537, allocations: 333.5 kB / 193.2 MB, free: 11.64 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006663/0.09605, allocations: 83.88 kB / 193.3 MB, free: 11.56 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.09812, allocations: 1.378 MB / 194.7 MB, free: 10.13 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009185/0.09906, allocations: 95.62 kB / 194.8 MB, free: 10.04 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.034e-05/0.09914, allocations: 19.98 kB / 194.8 MB, free: 10.02 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 () * 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.0003929/0.09954, allocations: 174.2 kB / 195 MB, free: 9.84 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.09965, allocations: 31.62 kB / 195 MB, free: 9.809 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003951/0.1036, allocations: 0.8251 MB / 195.8 MB, free: 8.961 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.1036, allocations: 4 kB / 195.8 MB, free: 8.957 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1037, allocations: 0 / 195.8 MB, free: 8.957 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.1037, allocations: 8.203 kB / 195.8 MB, free: 8.949 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008351/0.1045, allocations: 472.8 kB / 196.3 MB, free: 8.438 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.872e-06/0.1046, allocations: 7.938 kB / 196.3 MB, free: 8.43 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005689/0.1051, allocations: 63.95 kB / 196.4 MB, free: 8.367 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002111/0.1073, allocations: 337.4 kB / 196.7 MB, free: 8.031 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.1073, allocations: 11.95 kB / 196.7 MB, free: 8.02 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.1093, allocations: 1.378 MB / 198.1 MB, free: 6.59 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.1093, allocations: 4.031 kB / 198.1 MB, free: 6.586 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004843/0.1142, allocations: 1.125 MB / 199.2 MB, free: 5.438 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.1145, allocations: 144.6 kB / 199.3 MB, free: 5.277 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.1146, allocations: 8 kB / 199.4 MB, free: 5.27 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007279/0.1153, allocations: 67.95 kB / 199.4 MB, free: 5.203 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.1154, allocations: 23.97 kB / 199.4 MB, free: 5.18 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/0.1155, allocations: 12 kB / 199.5 MB, free: 5.168 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0003662/0.1159, allocations: 189.9 kB / 199.6 MB, free: 4.984 MB / 170.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.1159, allocations: 0 / 199.6 MB, free: 4.984 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005646/0.1165, allocations: 119.7 kB / 199.8 MB, free: 4.867 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 () * 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.0002119/0.1167, allocations: 115.2 kB / 199.9 MB, free: 4.746 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.002269/0.119, allocations: 0.5034 MB / 200.4 MB, free: 4.242 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.119, allocations: 4.25 kB / 200.4 MB, free: 4.238 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.1202, allocations: 279.6 kB / 200.7 MB, free: 3.965 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008096/0.121, allocations: 80.66 kB / 200.7 MB, free: 3.887 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.1235, allocations: 1.06 MB / 201.8 MB, free: 2.793 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/0.124, allocations: 0.8037 MB / 202.6 MB, free: 1.957 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.1242, allocations: 27.44 kB / 202.6 MB, free: 1.93 MB / 170.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1242, allocations: 4 kB / 202.6 MB, free: 1.926 MB / 170.7 MB Notification: Performance of Templates: time 0.1481/0.2723, allocations: 6.854 MB / 209.5 MB, free: 22.93 MB / 170.7 MB