Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") Notification: Performance of loadModel(Modelica): time 1.891/1.891, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.419e-05, allocations: 4 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09566, allocations: 38.77 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.006142/0.1019, allocations: 3.673 MB / 270.6 MB, free: 12.78 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003234/0.1052, allocations: 1.124 MB / 271.7 MB, free: 11.65 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006446/0.1059, allocations: 19.94 kB / 271.7 MB, free: 11.63 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1061, allocations: 79.36 kB / 271.8 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000755/0.1069, allocations: 231.2 kB / 272 MB, free: 11.33 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008836/0.1078, allocations: 267.5 kB / 272.3 MB, free: 11.07 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.1091, allocations: 0.5746 MB / 272.9 MB, free: 10.49 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/0.1096, allocations: 137.6 kB / 273 MB, free: 10.35 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007333/0.1103, allocations: 395.1 kB / 273.4 MB, free: 9.965 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009507/0.1113, allocations: 482.5 kB / 273.9 MB, free: 9.492 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.1116, allocations: 52 kB / 273.9 MB, free: 9.441 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002177/0.1118, allocations: 56 kB / 274 MB, free: 9.387 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.112, allocations: 163.4 kB / 274.1 MB, free: 9.227 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000251/0.1123, allocations: 72 kB / 274.2 MB, free: 9.156 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.1137, allocations: 0.8143 MB / 275 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1138, allocations: 0 / 275 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.1138, allocations: 0 / 275 MB, free: 8.34 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.732e-05/0.1138, allocations: 0 / 275 MB, free: 8.34 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.005385/0.1192, allocations: 1.248 MB / 276.3 MB, free: 7.027 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.1193, allocations: 8.031 kB / 276.3 MB, free: 7.02 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003476/0.1197, allocations: 90.97 kB / 276.4 MB, free: 6.93 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009764/0.1207, allocations: 460.5 kB / 276.8 MB, free: 6.438 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-05/0.1208, allocations: 49.27 kB / 276.8 MB, free: 6.391 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.121, allocations: 64 kB / 276.9 MB, free: 6.328 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003935/0.1249, allocations: 0.8613 MB / 277.8 MB, free: 5.457 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/0.125, allocations: 0 / 277.8 MB, free: 5.457 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.1251, allocations: 24 kB / 277.8 MB, free: 5.434 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.1252, allocations: 16 kB / 277.8 MB, free: 5.418 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00573/0.1309, allocations: 1.102 MB / 278.9 MB, free: 4.316 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.007428/0.1384, allocations: 2.535 MB / 281.4 MB, free: 1.641 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004223/0.1426, allocations: 0.8793 MB / 282.3 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.415e-05/0.1428, allocations: 8.422 kB / 282.3 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002843/0.1457, allocations: 0.634 MB / 283 MB, free: 84 kB / 234.7 MB Notification: Performance of pre-optimization done (n=54): time 3.978e-06/0.1457, allocations: 0 / 283 MB, free: 84 kB / 234.7 MB Notification: Performance of matching and sorting (n=94): time 0.3471/0.4928, allocations: 16.47 MB / 299.4 MB, free: 30.32 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.4929, allocations: 144.8 kB / 299.6 MB, free: 30.16 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008631/0.4938, allocations: 457 kB / 300 MB, free: 30.05 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002819/0.4941, allocations: 45.27 kB / 300.1 MB, free: 30.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000387/0.4945, allocations: 377.9 kB / 300.4 MB, free: 29.93 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004788/0.495, allocations: 315 kB / 300.8 MB, free: 29.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.4952, allocations: 21.81 kB / 300.8 MB, free: 29.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.4954, allocations: 385.1 kB / 301.1 MB, free: 29.42 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005274/0.5007, allocations: 1.02 MB / 302.2 MB, free: 29.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005644/0.5063, allocations: 1.222 MB / 303.4 MB, free: 28.85 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005335/0.5117, allocations: 1.083 MB / 304.5 MB, free: 28.49 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.292e-05/0.5118, allocations: 5.984 kB / 304.5 MB, free: 28.49 MB / 250.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.06164/0.5735, allocations: 7.322 MB / 311.8 MB, free: 26.73 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.495e-05/0.5736, allocations: 67.14 kB / 311.9 MB, free: 26.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.5737, allocations: 3.844 kB / 311.9 MB, free: 26.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05635/0.63, allocations: 6.628 MB / 318.5 MB, free: 22.22 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.6314, allocations: 179.7 kB / 318.7 MB, free: 22.05 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/0.6464, allocations: 3.875 MB / 322.5 MB, free: 18.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00371/0.6501, allocations: 303.7 kB / 322.8 MB, free: 17.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/0.6504, allocations: 43.97 kB / 322.9 MB, free: 17.78 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.V1.signalSource.T_start,V1.signalSource.T_start,$PRE.V1.signalSource.count,V1.signalSource.count,$PRE.V2.signalSource.T_start,V2.signalSource.T_start,$PRE.V2.signalSource.count,V2.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * 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 {5 32,5 32} Notification: Performance of prepare postOptimizeDAE: time 0.0005989/0.651, allocations: 226.3 kB / 323.1 MB, free: 17.55 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.6513, allocations: 79.06 kB / 323.2 MB, free: 17.47 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05226/0.7036, allocations: 6.748 MB / 329.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.7036, allocations: 8 kB / 329.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.7037, allocations: 0 / 329.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.724e-05/0.7037, allocations: 11.97 kB / 330 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.7058, allocations: 1.266 MB / 331.2 MB, free: 9.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.7059, allocations: 4 kB / 331.2 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.7069, allocations: 124.6 kB / 331.3 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05526/0.7622, allocations: 6.58 MB / 337.9 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002777/0.7625, allocations: 23.94 kB / 337.9 MB, free: 2.672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05404/0.8166, allocations: 10.56 MB / 348.5 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.8166, allocations: 0 / 348.5 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06174/0.8784, allocations: 7.934 MB / 356.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/0.8787, allocations: 152 kB / 356.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004058/0.8792, allocations: 24.75 kB / 356.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003447/0.8826, allocations: 279.7 kB / 356.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000733/0.8834, allocations: 141.8 kB / 357 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/0.8836, allocations: 35.97 kB / 357.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006516/0.8843, allocations: 342.8 kB / 357.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.8843, allocations: 0 / 357.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001516/0.8858, allocations: 332 kB / 357.7 MB, free: 14.7 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 {5 32,5 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.00038/0.8862, allocations: 124.4 kB / 357.8 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.01621/0.9025, allocations: 2.759 MB / 360.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.9025, allocations: 4 kB / 360.6 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008901/0.9114, allocations: 1.63 MB / 362.2 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.9126, allocations: 110.8 kB / 362.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.9265, allocations: 2.882 MB / 365.2 MB, free: 7.125 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/0.9273, allocations: 0.9728 MB / 366.2 MB, free: 6.129 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.00055/0.9278, allocations: 58.22 kB / 366.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.9281, allocations: 35.44 kB / 366.3 MB, free: 6.035 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.9281, allocations: 0 / 366.3 MB, free: 6.035 MB / 282.7 MB Notification: Performance of Templates: time 0.07503/1.003, allocations: 28.99 MB / 395.3 MB, free: 9.086 MB / 314.7 MB