Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 2.056/2.056, allocations: 194.9 MB / 211.2 MB, free: 8.062 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.085e-05/3.085e-05, allocations: 0 / 258.8 MB, free: 8.422 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3105, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004427/0.315, allocations: 2.617 MB / 305.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.3172, allocations: 0.7814 MB / 306.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003445/0.3176, allocations: 11.75 kB / 306.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.3179, allocations: 67.22 kB / 306.8 MB, free: 9.961 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005525/0.3185, allocations: 161.7 kB / 306.9 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.3188, allocations: 92.64 kB / 307 MB, free: 9.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007138/0.3195, allocations: 334 kB / 307.3 MB, free: 9.508 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.3198, allocations: 110.1 kB / 307.4 MB, free: 9.441 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.3201, allocations: 172.1 kB / 307.6 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003993/0.3205, allocations: 207.3 kB / 307.8 MB, free: 9.125 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.3207, allocations: 28 kB / 307.8 MB, free: 9.098 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.3208, allocations: 28 kB / 307.9 MB, free: 9.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.3209, allocations: 79.69 kB / 307.9 MB, free: 8.992 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.3211, allocations: 56 kB / 308 MB, free: 8.938 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000647/0.3218, allocations: 452.5 kB / 308.4 MB, free: 8.496 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3218, allocations: 3.938 kB / 308.4 MB, free: 8.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.3218, allocations: 0 / 308.4 MB, free: 8.492 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.3218, allocations: 0 / 308.4 MB, free: 8.492 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001593/0.3234, allocations: 0.6708 MB / 309.1 MB, free: 7.766 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.3235, allocations: 12.03 kB / 309.1 MB, free: 7.754 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.3237, allocations: 59.3 kB / 309.2 MB, free: 7.695 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/0.3244, allocations: 349.6 kB / 309.5 MB, free: 7.316 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.3245, allocations: 62.36 kB / 309.6 MB, free: 7.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.366e-05/0.3246, allocations: 32 kB / 309.6 MB, free: 7.219 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.3258, allocations: 452.9 kB / 310.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.3258, allocations: 0 / 310.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/0.3259, allocations: 20 kB / 310.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.3259, allocations: 8 kB / 310.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009469/0.3269, allocations: 282.5 kB / 310.4 MB, free: 6.414 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.003109/0.33, allocations: 1.251 MB / 311.6 MB, free: 5.074 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.332, allocations: 428.5 kB / 312 MB, free: 4.629 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.776e-05/0.3321, allocations: 15.98 kB / 312.1 MB, free: 4.613 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.3321, allocations: 35.09 kB / 312.1 MB, free: 4.57 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 3.016e-06/0.3321, allocations: 7.938 kB / 312.1 MB, free: 4.562 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.001938/0.3341, allocations: 0.5993 MB / 312.7 MB, free: 3.914 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002437/0.3343, allocations: 448.9 kB / 313.1 MB, free: 3.371 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006601/0.335, allocations: 357.1 kB / 313.5 MB, free: 3.012 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.361e-05/0.3351, allocations: 33.7 kB / 313.5 MB, free: 2.973 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.3353, allocations: 259 kB / 313.8 MB, free: 2.719 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.3355, allocations: 110.4 kB / 313.9 MB, free: 2.609 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.3355, allocations: 12 kB / 313.9 MB, free: 2.598 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3357, allocations: 322.8 kB / 314.2 MB, free: 2.273 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004212/0.3361, allocations: 112.5 kB / 314.3 MB, free: 2.16 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/0.3367, allocations: 252.2 kB / 314.6 MB, free: 1.863 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/0.3372, allocations: 155.9 kB / 314.7 MB, free: 1.707 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3373, allocations: 0 / 314.7 MB, free: 1.707 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001202/0.3385, allocations: 412.6 kB / 315.1 MB, free: 1.285 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.3385, allocations: 33.66 kB / 315.1 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.3386, allocations: 4 kB / 315.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002187/0.3388, allocations: 45.69 kB / 315.2 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.3394, allocations: 67.91 kB / 315.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003464/0.3429, allocations: 2.779 MB / 318 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007377/0.3436, allocations: 43.67 kB / 318.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.3437, allocations: 12 kB / 318.1 MB, free: 14.02 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * 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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003234/0.344, allocations: 165.9 kB / 318.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.3442, allocations: 59.33 kB / 318.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.3443, allocations: 48.52 kB / 318.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.3443, allocations: 4 kB / 318.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3443, allocations: 0 / 318.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0011/0.3455, allocations: 0.6573 MB / 319 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.3475, allocations: 0.8877 MB / 319.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3475, allocations: 0 / 319.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006396/0.3482, allocations: 75.91 kB / 320 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.3482, allocations: 3.984 kB / 320 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.3482, allocations: 11.98 kB / 320 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.3483, allocations: 0 / 320 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3483, allocations: 0 / 320 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.3497, allocations: 0.531 MB / 320.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.3499, allocations: 120.6 kB / 320.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.35, allocations: 8 kB / 320.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005796/0.3506, allocations: 23.89 kB / 320.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.3506, allocations: 19.97 kB / 320.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.3507, allocations: 8.062 kB / 320.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004761/0.3512, allocations: 287.1 kB / 321 MB, free: 10.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3512, allocations: 0 / 321 MB, free: 10.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006459/0.3518, allocations: 127.8 kB / 321.1 MB, free: 10.79 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001631/0.352, allocations: 107.2 kB / 321.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.3535, allocations: 0.567 MB / 321.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3535, allocations: 0 / 321.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004151/0.3539, allocations: 127.8 kB / 321.9 MB, free: 9.945 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008528/0.3548, allocations: 113.5 kB / 322 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.3571, allocations: 1.039 MB / 323.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.3575, allocations: 0.8275 MB / 323.9 MB, free: 7.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.3578, allocations: 39.44 kB / 323.9 MB, free: 7.871 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3578, allocations: 0 / 323.9 MB, free: 7.871 MB / 266.7 MB Notification: Performance of Templates: time 0.01664/0.3744, allocations: 7.351 MB / 331.3 MB, free: 0.543 MB / 266.7 MB