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 1.904/1.904, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.878e-05/2.892e-05, allocations: 4 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.08794, allocations: 50.42 MB / 342.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3815/0.4695, allocations: 83.25 MB / 425.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.4697, allocations: 67.7 kB / 425.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05144/0.5212, allocations: 12.67 MB / 438.5 MB, free: 40 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5212, allocations: 0 / 438.5 MB, free: 40 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.301e-05/0.5213, allocations: 12 kB / 438.5 MB, free: 28 kB / 346.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.00262/0.5239, allocations: 1.061 MB / 439.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.524, allocations: 15.97 kB / 439.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002201/0.5242, allocations: 86.97 kB / 439.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.5254, allocations: 0.504 MB / 440.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/0.5254, allocations: 50.94 kB / 440.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.5256, allocations: 69.5 kB / 440.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.5269, allocations: 0.555 MB / 440.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.527, allocations: 3.938 kB / 440.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.81e-05/0.5271, allocations: 23.94 kB / 440.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.5271, allocations: 16 kB / 440.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.5285, allocations: 0.5401 MB / 441.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005199/0.5337, allocations: 2.344 MB / 443.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.5348, allocations: 461.7 kB / 444.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005426/0.5353, allocations: 258.2 kB / 444.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.529e-05/0.5354, allocations: 4.438 kB / 444.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007498/0.5362, allocations: 352.7 kB / 444.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=54): time 3.791e-06/0.5362, allocations: 0 / 444.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=94): time 0.07499/0.6112, allocations: 13.47 MB / 458.3 MB, free: 14.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00021/0.6115, allocations: 148.2 kB / 458.5 MB, free: 14.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.6132, allocations: 449.6 kB / 458.9 MB, free: 14.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004055/0.6137, allocations: 52.58 kB / 459 MB, free: 14.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006626/0.6144, allocations: 419.4 kB / 459.4 MB, free: 13.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007877/0.6152, allocations: 319.5 kB / 459.7 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/0.6155, allocations: 22.88 kB / 459.7 MB, free: 13.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003564/0.6159, allocations: 347.1 kB / 460 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002977/0.6189, allocations: 479.3 kB / 460.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003399/0.6223, allocations: 0.688 MB / 461.2 MB, free: 11.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003078/0.6254, allocations: 0.5509 MB / 461.7 MB, free: 11.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.6254, allocations: 0 / 461.7 MB, free: 11.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.05845/0.6839, allocations: 4.79 MB / 466.5 MB, free: 6.543 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.6841, allocations: 63.41 kB / 466.6 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.639e-05/0.6842, allocations: 8 kB / 466.6 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0444/0.7286, allocations: 6.927 MB / 473.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009298/0.7296, allocations: 175.8 kB / 473.7 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0061/0.7357, allocations: 2.677 MB / 476.4 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.7377, allocations: 223.8 kB / 476.6 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/0.738, allocations: 51.97 kB / 476.7 MB, free: 12.35 MB / 394.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.0003606/0.7383, allocations: 160.8 kB / 476.8 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.7386, allocations: 83.06 kB / 476.9 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04118/0.7798, allocations: 4.677 MB / 481.6 MB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.159e-05/0.7799, allocations: 12 kB / 481.6 MB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.7799, allocations: 0 / 481.6 MB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.151e-05/0.78, allocations: 3.984 kB / 481.6 MB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004409/0.7844, allocations: 1.126 MB / 482.7 MB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.7845, allocations: 0 / 482.7 MB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/0.786, allocations: 123.8 kB / 482.8 MB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06577/0.8518, allocations: 6.891 MB / 489.7 MB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/0.8521, allocations: 27.97 kB / 489.7 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006096/0.8582, allocations: 2.682 MB / 492.4 MB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.8582, allocations: 0 / 492.4 MB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02626/0.8845, allocations: 5.31 MB / 497.7 MB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.8848, allocations: 148.1 kB / 497.9 MB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.885, allocations: 16 kB / 497.9 MB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/0.8867, allocations: 227.7 kB / 498.1 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/0.8871, allocations: 96.62 kB / 498.2 MB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/0.8873, allocations: 35.97 kB / 498.3 MB, free: 6.551 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005834/0.8878, allocations: 345.6 kB / 498.6 MB, free: 6.215 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.8879, allocations: 0 / 498.6 MB, free: 6.215 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001031/0.8889, allocations: 264 kB / 498.8 MB, free: 5.957 MB / 410.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.0003493/0.8893, allocations: 155 kB / 499 MB, free: 5.797 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004554/0.8938, allocations: 1.508 MB / 0.4888 GB, free: 4.266 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.601e-06/0.8939, allocations: 0 / 0.4888 GB, free: 4.266 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002898/0.8968, allocations: 0.8134 MB / 0.4896 GB, free: 3.449 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007158/0.8975, allocations: 123.1 kB / 0.4897 GB, free: 3.328 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.9008, allocations: 1.27 MB / 0.4909 GB, free: 2.027 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000755/0.9016, allocations: 0.9666 MB / 0.4919 GB, free: 1.031 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.9018, allocations: 35.44 kB / 0.4919 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of SimCode: time 1.462e-06/0.9018, allocations: 0 / 0.4919 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of Templates: time 0.02705/0.9289, allocations: 16.68 MB / 0.5082 GB, free: 320 kB / 426.7 MB