Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate") Notification: Performance of loadModel(Modelica): time 1.906/1.906, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.27e-05/3.263e-05, allocations: 7.906 kB / 258.8 MB, free: 8.051 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3024, allocations: 44.49 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.005872/0.3083, allocations: 3.679 MB / 307 MB, free: 9.926 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.3114, allocations: 1.133 MB / 308.1 MB, free: 8.781 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004353/0.3119, allocations: 19.88 kB / 308.1 MB, free: 8.762 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.3121, allocations: 79.36 kB / 308.2 MB, free: 8.684 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007681/0.3129, allocations: 235.2 kB / 308.5 MB, free: 8.453 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008444/0.3138, allocations: 263.5 kB / 308.7 MB, free: 8.195 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.3149, allocations: 0.5863 MB / 309.3 MB, free: 7.609 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003111/0.3152, allocations: 125.6 kB / 309.4 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006797/0.3159, allocations: 411 kB / 309.8 MB, free: 7.082 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009035/0.3169, allocations: 474.6 kB / 310.3 MB, free: 6.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.3171, allocations: 52 kB / 310.3 MB, free: 6.566 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.3173, allocations: 51.98 kB / 310.4 MB, free: 6.516 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.3175, allocations: 171.3 kB / 310.6 MB, free: 6.348 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.3178, allocations: 72 kB / 310.6 MB, free: 6.277 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.319, allocations: 0.8125 MB / 311.4 MB, free: 5.465 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.319, allocations: 0 / 311.4 MB, free: 5.465 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.319, allocations: 0 / 311.4 MB, free: 5.465 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.264e-05/0.319, allocations: 0 / 311.4 MB, free: 5.465 MB / 250.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.005254/0.3243, allocations: 1.236 MB / 312.7 MB, free: 4.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.3244, allocations: 12.03 kB / 312.7 MB, free: 4.148 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002976/0.3247, allocations: 94.91 kB / 312.8 MB, free: 4.055 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000914/0.3256, allocations: 456.5 kB / 313.2 MB, free: 3.57 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.685e-05/0.3257, allocations: 45.31 kB / 313.3 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.3259, allocations: 64 kB / 313.3 MB, free: 3.465 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003505/0.3294, allocations: 0.8574 MB / 314.2 MB, free: 2.598 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.3295, allocations: 0 / 314.2 MB, free: 2.598 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.3296, allocations: 27.94 kB / 314.2 MB, free: 2.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.3296, allocations: 16 kB / 314.2 MB, free: 2.555 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005385/0.335, allocations: 1.102 MB / 315.3 MB, free: 1.453 MB / 250.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.006994/0.3421, allocations: 2.543 MB / 317.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004213/0.3463, allocations: 0.8608 MB / 318.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.863e-05/0.3464, allocations: 12.42 kB / 318.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002931/0.3494, allocations: 0.6262 MB / 319.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 4.218e-06/0.3494, allocations: 4 kB / 319.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=94): time 0.1498/0.4992, allocations: 16.4 MB / 335.8 MB, free: 12.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.4994, allocations: 141.5 kB / 335.9 MB, free: 12.56 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.5007, allocations: 446.1 kB / 336.3 MB, free: 12.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003952/0.5011, allocations: 45.7 kB / 336.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005239/0.5016, allocations: 383.8 kB / 336.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006925/0.5024, allocations: 307.4 kB / 337.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.5026, allocations: 28 kB / 337.1 MB, free: 11.35 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000276/0.5029, allocations: 382.8 kB / 337.5 MB, free: 10.97 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008259/0.5112, allocations: 1.017 MB / 338.5 MB, free: 9.953 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008572/0.5198, allocations: 1.221 MB / 339.7 MB, free: 8.652 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008306/0.5282, allocations: 1.084 MB / 340.8 MB, free: 7.559 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.5283, allocations: 7.938 kB / 340.8 MB, free: 7.551 MB / 282.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.09459/0.6229, allocations: 7.294 MB / 348.1 MB, free: 224 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.6231, allocations: 67.39 kB / 348.2 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/0.6231, allocations: 8.125 kB / 348.2 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09328/0.7164, allocations: 6.602 MB / 354.8 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.7178, allocations: 171.8 kB / 354.9 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/0.7342, allocations: 3.863 MB / 358.8 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003765/0.738, allocations: 287.8 kB / 359.1 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/0.7383, allocations: 43.98 kB / 359.1 MB, free: 5.105 MB / 298.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.0006421/0.739, allocations: 229.7 kB / 359.3 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.7393, allocations: 75.06 kB / 359.4 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06223/0.8015, allocations: 6.746 MB / 366.2 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-05/0.8016, allocations: 8 kB / 366.2 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.8016, allocations: 0 / 366.2 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-05/0.8017, allocations: 3.984 kB / 366.2 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004034/0.8057, allocations: 1.253 MB / 367.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.17e-05/0.8059, allocations: 0 / 367.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/0.8075, allocations: 127.8 kB / 367.6 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08665/0.8942, allocations: 6.572 MB / 374.1 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002923/0.8946, allocations: 23.97 kB / 374.1 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05668/0.9513, allocations: 10.5 MB / 384.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.9513, allocations: 0 / 384.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06421/1.016, allocations: 7.927 MB / 392.6 MB, free: 3.359 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.017, allocations: 287.9 kB / 392.9 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005554/1.017, allocations: 19.98 kB / 392.9 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00527/1.023, allocations: 279.8 kB / 393.2 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00114/1.024, allocations: 148.7 kB / 393.3 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003364/1.024, allocations: 31.98 kB / 393.3 MB, free: 2.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009714/1.025, allocations: 342.8 kB / 393.7 MB, free: 2.258 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.025, allocations: 0 / 393.7 MB, free: 2.258 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002446/1.028, allocations: 324 kB / 394 MB, free: 1.941 MB / 330.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.0006915/1.029, allocations: 124.1 kB / 394.1 MB, free: 1.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.02283/1.051, allocations: 2.771 MB / 396.9 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/1.052, allocations: 4 kB / 396.9 MB, free: 15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01268/1.064, allocations: 1.619 MB / 398.5 MB, free: 13.37 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/1.066, allocations: 114.6 kB / 398.6 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/1.079, allocations: 2.889 MB / 401.5 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006263/1.08, allocations: 0.9665 MB / 402.5 MB, free: 9.355 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005268/1.081, allocations: 58.23 kB / 402.5 MB, free: 9.297 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/1.081, allocations: 27.44 kB / 402.5 MB, free: 9.273 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/1.081, allocations: 0 / 402.5 MB, free: 9.273 MB / 346.7 MB Notification: Performance of Templates: time 0.363/1.444, allocations: 28.84 MB / 431.4 MB, free: 115.4 MB / 362.7 MB