Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadModel(Modelica): time 1.664/1.664, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.895e-05, allocations: 4 kB / 228.1 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07995/0.08001, allocations: 38.78 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004301/0.08437, allocations: 2.468 MB / 269.4 MB, free: 13.99 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.08633, allocations: 0.7028 MB / 270.1 MB, free: 13.29 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.08665, allocations: 11.94 kB / 270.1 MB, free: 13.27 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.08678, allocations: 43.67 kB / 270.1 MB, free: 13.23 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.08711, allocations: 103.7 kB / 270.2 MB, free: 13.13 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.08751, allocations: 103.8 kB / 270.3 MB, free: 13.03 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004817/0.08801, allocations: 269 kB / 270.6 MB, free: 12.76 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.08827, allocations: 94.53 kB / 270.7 MB, free: 12.67 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.0886, allocations: 155.6 kB / 270.9 MB, free: 12.52 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003712/0.08899, allocations: 203.3 kB / 271.1 MB, free: 12.32 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.08916, allocations: 28 kB / 271.1 MB, free: 12.29 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.144e-05/0.08926, allocations: 24 kB / 271.1 MB, free: 12.27 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.08938, allocations: 79.66 kB / 271.2 MB, free: 12.19 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.08952, allocations: 43.94 kB / 271.2 MB, free: 12.14 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006532/0.09018, allocations: 411.1 kB / 271.6 MB, free: 11.74 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.0902, allocations: 0 / 271.6 MB, free: 11.74 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.09022, allocations: 0 / 271.6 MB, free: 11.74 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.09024, allocations: 0 / 271.6 MB, free: 11.74 MB / 234.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.002309/0.09256, allocations: 0.7217 MB / 272.3 MB, free: 10.97 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.09262, allocations: 8.031 kB / 272.4 MB, free: 10.96 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.09279, allocations: 47.44 kB / 272.4 MB, free: 10.92 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005741/0.09337, allocations: 297.4 kB / 272.7 MB, free: 10.59 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.09343, allocations: 28.95 kB / 272.7 MB, free: 10.56 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.09355, allocations: 39.98 kB / 272.8 MB, free: 10.52 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.09547, allocations: 0.5318 MB / 273.3 MB, free: 9.965 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.09553, allocations: 4 kB / 273.3 MB, free: 9.961 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/0.09561, allocations: 12 kB / 273.3 MB, free: 9.949 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.09563, allocations: 8 kB / 273.3 MB, free: 9.941 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/0.0982, allocations: 0.5621 MB / 273.9 MB, free: 9.379 MB / 234.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.00432/0.1025, allocations: 1.636 MB / 275.5 MB, free: 7.605 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.1046, allocations: 467.6 kB / 276 MB, free: 7.141 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.318e-05/0.1047, allocations: 8.328 kB / 276 MB, free: 7.133 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.1047, allocations: 46.81 kB / 276 MB, free: 7.078 MB / 234.7 MB Notification: Performance of pre-optimization done (n=40): time 3.136e-06/0.1047, allocations: 0 / 276 MB, free: 7.078 MB / 234.7 MB Notification: Performance of matching and sorting (n=40): time 0.009281/0.114, allocations: 1.538 MB / 277.6 MB, free: 5.492 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.1142, allocations: 162.2 kB / 277.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/0.1147, allocations: 234.2 kB / 277.9 MB, free: 5.062 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.183e-05/0.1148, allocations: 29.7 kB / 278 MB, free: 5.027 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.115, allocations: 208.3 kB / 278.2 MB, free: 4.82 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.1152, allocations: 145.9 kB / 278.3 MB, free: 4.676 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.1153, allocations: 12 kB / 278.3 MB, free: 4.664 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.1155, allocations: 338.8 kB / 278.7 MB, free: 4.324 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.1165, allocations: 212.7 kB / 278.9 MB, free: 4.113 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.1177, allocations: 298.5 kB / 279.2 MB, free: 3.785 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.1187, allocations: 219.8 kB / 279.4 MB, free: 3.57 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1188, allocations: 0 / 279.4 MB, free: 3.57 MB / 234.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003703/0.1225, allocations: 0.7679 MB / 280.1 MB, free: 2.789 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.1225, allocations: 4 kB / 280.2 MB, free: 2.785 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.1226, allocations: 4 kB / 280.2 MB, free: 2.781 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002267/0.1249, allocations: 337.5 kB / 280.5 MB, free: 2.445 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007265/0.1256, allocations: 95.81 kB / 280.6 MB, free: 2.352 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.1278, allocations: 1.358 MB / 281.9 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009342/0.1288, allocations: 99.58 kB / 282 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.92e-05/0.1289, allocations: 12 kB / 282 MB, free: 0.832 MB / 234.7 MB 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.0003251/0.1292, allocations: 161.7 kB / 282.2 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1293, allocations: 35.62 kB / 282.2 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004071/0.1334, allocations: 0.8135 MB / 283.1 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.1335, allocations: 4 kB / 283.1 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.1335, allocations: 7.938 kB / 283.1 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.1335, allocations: 192 / 283.1 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000957/0.1345, allocations: 469 kB / 283.5 MB, free: 15.28 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.1345, allocations: 3.938 kB / 283.5 MB, free: 15.28 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/0.1351, allocations: 71.88 kB / 283.6 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002218/0.1374, allocations: 337.4 kB / 283.9 MB, free: 14.87 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.939e-05/0.1375, allocations: 4 kB / 283.9 MB, free: 14.87 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/0.1396, allocations: 1.382 MB / 285.3 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.1396, allocations: 3.984 kB / 285.3 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004984/0.1446, allocations: 1.125 MB / 286.4 MB, free: 12.28 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.1449, allocations: 140.5 kB / 286.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.145, allocations: 8 kB / 286.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007472/0.1458, allocations: 64 kB / 286.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.1459, allocations: 19.97 kB / 286.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/0.146, allocations: 19.94 kB / 286.7 MB, free: 12.02 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003786/0.1464, allocations: 186 kB / 286.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1464, allocations: 0 / 286.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006036/0.147, allocations: 111.8 kB / 287 MB, free: 11.73 MB / 250.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.000249/0.1473, allocations: 131.5 kB / 287.1 MB, free: 11.59 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002339/0.1496, allocations: 0.5109 MB / 287.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1496, allocations: 0 / 287.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.1508, allocations: 283.8 kB / 287.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.1513, allocations: 36.55 kB / 287.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.1542, allocations: 1.045 MB / 289 MB, free: 9.68 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.1547, allocations: 0.8037 MB / 289.8 MB, free: 8.848 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.00029/0.155, allocations: 30.97 kB / 289.8 MB, free: 8.82 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.1551, allocations: 27.42 kB / 289.8 MB, free: 8.793 MB / 250.7 MB Notification: Performance of SimCode: time 1.143e-06/0.1551, allocations: 0 / 289.8 MB, free: 8.793 MB / 250.7 MB Notification: Performance of Templates: time 0.01658/0.1717, allocations: 5.251 MB / 295.1 MB, free: 3.551 MB / 250.7 MB "" Variables in the reference:time,Capacitor1.v,HeatCapacitor1.T Variables in the result:Capacitor1.C,Capacitor1.v,FixedTemperature1.T,FixedTemperature1.port.T,H_NMOS.Beta,H_NMOS.K2,H_NMOS.K5,H_NMOS.L,H_NMOS.RDS,H_NMOS.T,H_NMOS.Tnom,H_NMOS.Vt,H_NMOS.W,H_NMOS.dL,H_NMOS.dW,H_NMOS.kk2,H_NMOS.kvt,H_PMOS.Beta,H_PMOS.K2,H_PMOS.K5,H_PMOS.L,H_PMOS.RDS,H_PMOS.T,H_PMOS.Tnom,H_PMOS.Vt,H_PMOS.W,H_PMOS.dL,H_PMOS.dW,H_PMOS.kk2,H_PMOS.kvt,HeatCapacitor1.C,HeatCapacitor1.T,Sin.V,Sin.freqHz,Sin.offset,Sin.phase,Sin.signalSource.amplitude,Sin.signalSource.freqHz,Sin.signalSource.offset,Sin.signalSource.phase,Sin.signalSource.startTime,Sin.startTime,TC1.G,TC2.G,TC3.G,TC3.port_b.T,V.V,V.duration,V.offset,V.signalSource.duration,V.signalSource.height,V.signalSource.offset,V.signalSource.startTime,V.startTime,time