Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate") Notification: Performance of loadModel(Modelica): time 2.176/2.176, allocations: 224.7 MB / 241.1 MB, free: 1.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.955e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.115, allocations: 50.41 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006252/0.1213, allocations: 3.874 MB / 348.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00322/0.1246, allocations: 1.128 MB / 350 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005907/0.1253, allocations: 19.94 kB / 350 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.1255, allocations: 83.3 kB / 350.1 MB, free: 3.816 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008109/0.1263, allocations: 255.1 kB / 350.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008024/0.1271, allocations: 219.6 kB / 350.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.1283, allocations: 0.5395 MB / 351.1 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.1287, allocations: 133.5 kB / 351.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005431/0.1292, allocations: 327.2 kB / 351.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000695/0.1299, allocations: 378.7 kB / 351.9 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.1302, allocations: 55.98 kB / 352 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.1304, allocations: 39.94 kB / 352 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.1306, allocations: 147.4 kB / 352.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.1308, allocations: 80 kB / 352.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.132, allocations: 0.7442 MB / 353 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.132, allocations: 0 / 353 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.075e-06/0.132, allocations: 0 / 353 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.132, allocations: 0 / 353 MB, free: 0.9219 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.003598/0.1356, allocations: 1.064 MB / 354 MB, free: 15.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.1357, allocations: 12.03 kB / 354 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.136, allocations: 90.92 kB / 354.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009487/0.137, allocations: 466.6 kB / 354.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/0.1371, allocations: 53.31 kB / 354.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.1373, allocations: 64 kB / 354.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.1397, allocations: 0.6623 MB / 355.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.1398, allocations: 3.938 kB / 355.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.1399, allocations: 28 kB / 355.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.1399, allocations: 16 kB / 355.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003102/0.143, allocations: 0.7546 MB / 356.2 MB, free: 13.61 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.008565/0.1516, allocations: 2.433 MB / 358.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003976/0.1557, allocations: 0.6451 MB / 359.2 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.1558, allocations: 8.438 kB / 359.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002508/0.1584, allocations: 445.5 kB / 359.7 MB, free: 9.906 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 5.099e-06/0.1584, allocations: 0 / 359.7 MB, free: 9.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.155/0.3134, allocations: 16.73 MB / 376.4 MB, free: 9.074 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.3135, allocations: 141.5 kB / 376.5 MB, free: 8.906 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008819/0.3144, allocations: 462.2 kB / 377 MB, free: 8.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002738/0.3147, allocations: 45.7 kB / 377 MB, free: 8.395 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.3151, allocations: 410.2 kB / 377.4 MB, free: 7.988 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004808/0.3156, allocations: 315.5 kB / 377.8 MB, free: 7.676 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.3158, allocations: 20 kB / 377.8 MB, free: 7.656 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3159, allocations: 354.7 kB / 378.1 MB, free: 7.301 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004162/0.3201, allocations: 0.7986 MB / 378.9 MB, free: 6.504 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0044/0.3246, allocations: 1.029 MB / 379.9 MB, free: 5.387 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004263/0.3289, allocations: 0.8886 MB / 380.8 MB, free: 4.488 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.329, allocations: 4 kB / 380.8 MB, free: 4.484 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.04591/0.3749, allocations: 5.636 MB / 386.5 MB, free: 14.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-05/0.375, allocations: 63.41 kB / 386.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.3751, allocations: 8 kB / 386.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06562/0.4407, allocations: 7.208 MB / 393.8 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.4421, allocations: 179.7 kB / 393.9 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/0.4547, allocations: 3.242 MB / 397.2 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003138/0.4579, allocations: 231.7 kB / 397.4 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/0.4581, allocations: 51.91 kB / 397.4 MB, free: 3.758 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.0006408/0.4588, allocations: 213.7 kB / 397.7 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.4591, allocations: 83.02 kB / 397.7 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3222/0.7812, allocations: 5.483 MB / 403.2 MB, free: 52.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/0.7813, allocations: 8.594 kB / 403.2 MB, free: 52.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.7813, allocations: 2.031 kB / 403.2 MB, free: 52.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.151e-05/0.7814, allocations: 4.734 kB / 403.2 MB, free: 52.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/0.784, allocations: 1.119 MB / 404.4 MB, free: 52.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/0.7841, allocations: 0.875 kB / 404.4 MB, free: 52.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.7853, allocations: 130.9 kB / 404.5 MB, free: 52.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0639/0.8492, allocations: 7.168 MB / 411.7 MB, free: 51.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002691/0.8495, allocations: 31.84 kB / 411.7 MB, free: 51.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009956/0.8595, allocations: 3.114 MB / 414.8 MB, free: 49.72 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.8595, allocations: 0 / 414.8 MB, free: 49.72 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04602/0.9056, allocations: 6.462 MB / 421.3 MB, free: 45.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.9059, allocations: 147.5 kB / 421.4 MB, free: 45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003874/0.9063, allocations: 27.98 kB / 421.4 MB, free: 44.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002713/0.909, allocations: 203.8 kB / 421.6 MB, free: 44.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000388/0.9094, allocations: 106.4 kB / 421.7 MB, free: 44.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/0.9096, allocations: 31.97 kB / 421.8 MB, free: 44.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005497/0.9102, allocations: 354.8 kB / 422.1 MB, free: 44.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.9102, allocations: 4 kB / 422.1 MB, free: 44.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001089/0.9113, allocations: 260 kB / 422.4 MB, free: 44.03 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.0003478/0.9116, allocations: 130.6 kB / 422.5 MB, free: 43.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01217/0.9238, allocations: 2.34 MB / 424.8 MB, free: 41.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.9239, allocations: 0 / 424.8 MB, free: 41.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006409/0.9303, allocations: 1.168 MB / 426 MB, free: 40.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.9314, allocations: 110.3 kB / 426.1 MB, free: 40.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006187/0.9376, allocations: 2.128 MB / 428.2 MB, free: 38.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.9381, allocations: 0.9672 MB / 429.2 MB, free: 37.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/0.9384, allocations: 39.44 kB / 429.2 MB, free: 37.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.9384, allocations: 0 / 429.2 MB, free: 37.09 MB / 330.7 MB Notification: Performance of Templates: time 0.02891/0.9674, allocations: 16.74 MB / 446 MB, free: 20.35 MB / 330.7 MB