Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadModel(Modelica): time 2.072/2.072, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.092e-05/3.09e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 50.41 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006201/0.1181, allocations: 3.854 MB / 348.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.1214, allocations: 1.132 MB / 350 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006543/0.1221, allocations: 19.94 kB / 350 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.1223, allocations: 87.28 kB / 350.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008377/0.1232, allocations: 251.1 kB / 350.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008849/0.1241, allocations: 215.6 kB / 350.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.1255, allocations: 0.5434 MB / 351.1 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.1259, allocations: 129.5 kB / 351.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006199/0.1265, allocations: 327.2 kB / 351.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007355/0.1273, allocations: 374.7 kB / 351.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.1275, allocations: 59.97 kB / 351.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.1277, allocations: 40 kB / 352 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.128, allocations: 143.4 kB / 352.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.1282, allocations: 76 kB / 352.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.1294, allocations: 0.7402 MB / 352.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1294, allocations: 0 / 352.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1294, allocations: 4 kB / 352.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.747e-05/0.1294, allocations: 0 / 352.9 MB, free: 0.9609 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.003741/0.1332, allocations: 1.068 MB / 354 MB, free: 15.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1333, allocations: 12.03 kB / 354 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003255/0.1336, allocations: 90.92 kB / 354.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009815/0.1346, allocations: 466.6 kB / 354.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-05/0.1347, allocations: 57.23 kB / 354.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.1349, allocations: 63.98 kB / 354.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.1374, allocations: 0.6702 MB / 355.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.1375, allocations: 4 kB / 355.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.1376, allocations: 24 kB / 355.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.1376, allocations: 12 kB / 355.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003238/0.1409, allocations: 0.7624 MB / 356.1 MB, free: 13.63 MB / 298.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.006974/0.1479, allocations: 2.429 MB / 358.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/0.1507, allocations: 0.6412 MB / 359.2 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.185e-05/0.1508, allocations: 4.438 kB / 359.2 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001687/0.1525, allocations: 449.5 kB / 359.7 MB, free: 9.938 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 4.609e-06/0.1526, allocations: 0 / 359.7 MB, free: 9.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.1351/0.2877, allocations: 16.72 MB / 376.4 MB, free: 9.117 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/0.2879, allocations: 149.5 kB / 376.5 MB, free: 8.941 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000872/0.2888, allocations: 458.2 kB / 377 MB, free: 8.484 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002588/0.289, allocations: 45.7 kB / 377 MB, free: 8.434 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.2894, allocations: 418.2 kB / 377.4 MB, free: 8.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004652/0.2899, allocations: 307.5 kB / 377.7 MB, free: 7.715 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.29, allocations: 20 kB / 377.7 MB, free: 7.695 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.2902, allocations: 358.7 kB / 378.1 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004087/0.2943, allocations: 0.7986 MB / 378.9 MB, free: 6.539 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004427/0.2988, allocations: 1.029 MB / 379.9 MB, free: 5.422 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004211/0.3031, allocations: 0.8847 MB / 380.8 MB, free: 4.527 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.3031, allocations: 4 kB / 380.8 MB, free: 4.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0456/0.3488, allocations: 5.632 MB / 386.4 MB, free: 14.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.862e-05/0.3489, allocations: 63.41 kB / 386.5 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.3489, allocations: 12 kB / 386.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06492/0.4139, allocations: 7.188 MB / 393.7 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.4153, allocations: 191.7 kB / 393.9 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.4262, allocations: 3.078 MB / 397 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003166/0.4294, allocations: 223.8 kB / 397.2 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002806/0.4298, allocations: 47.97 kB / 397.2 MB, free: 3.977 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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.0006393/0.4304, allocations: 229.7 kB / 397.5 MB, free: 3.742 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002705/0.4307, allocations: 79.02 kB / 397.5 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3222/0.7529, allocations: 5.472 MB / 403 MB, free: 52.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.921e-05/0.753, allocations: 12.78 kB / 403 MB, free: 52.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.753, allocations: 0.5625 kB / 403 MB, free: 52.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.043e-05/0.753, allocations: 4.875 kB / 403 MB, free: 52.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.7555, allocations: 1.124 MB / 404.2 MB, free: 51.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.7555, allocations: 0.5625 kB / 404.2 MB, free: 51.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.7567, allocations: 125.3 kB / 404.3 MB, free: 51.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06342/0.8201, allocations: 7.163 MB / 411.4 MB, free: 51.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000288/0.8205, allocations: 27.75 kB / 411.5 MB, free: 51.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009862/0.8304, allocations: 3.097 MB / 414.6 MB, free: 49.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.8304, allocations: 7.984 kB / 414.6 MB, free: 49.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04559/0.876, allocations: 6.457 MB / 421 MB, free: 45.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.8763, allocations: 145 kB / 421.2 MB, free: 45.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003673/0.8767, allocations: 23.95 kB / 421.2 MB, free: 45.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002678/0.8794, allocations: 218 kB / 421.4 MB, free: 44.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004393/0.8799, allocations: 96.84 kB / 421.5 MB, free: 44.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001689/0.8801, allocations: 35.97 kB / 421.5 MB, free: 44.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005556/0.8806, allocations: 350.8 kB / 421.9 MB, free: 44.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.8807, allocations: 3.828 kB / 421.9 MB, free: 44.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001077/0.8817, allocations: 264 kB / 422.1 MB, free: 44.14 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.0003533/0.8821, allocations: 132.2 kB / 422.3 MB, free: 44.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01063/0.8928, allocations: 2.197 MB / 424.5 MB, free: 41.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.8928, allocations: 1.375 kB / 424.5 MB, free: 41.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00637/0.8992, allocations: 1.161 MB / 425.6 MB, free: 40.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.9004, allocations: 105.5 kB / 425.7 MB, free: 40.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005808/0.9062, allocations: 2.156 MB / 427.9 MB, free: 38.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.9067, allocations: 0.9637 MB / 428.9 MB, free: 37.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.907, allocations: 35.44 kB / 428.9 MB, free: 37.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.322e-06/0.907, allocations: 0 / 428.9 MB, free: 37.34 MB / 330.7 MB Notification: Performance of Templates: time 0.02957/0.9366, allocations: 16.73 MB / 445.6 MB, free: 20.61 MB / 330.7 MB