Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.534/2.534, allocations: 235 MB / 247.1 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.151e-05/5.168e-05, allocations: 4 kB / 305 MB, free: 5.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4741/0.4742, allocations: 54.84 MB / 359.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.642, allocations: 88.29 MB / 448.2 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003691/0.6424, allocations: 95.94 kB / 448.3 MB, free: 8.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0648/0.7072, allocations: 11.72 MB / 460 MB, free: 12.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7073, allocations: 0 / 460 MB, free: 12.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.617e-05/0.7073, allocations: 4 kB / 460 MB, free: 12.71 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001847/0.7092, allocations: 0.6113 MB / 460.6 MB, free: 12.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.628e-05/0.7093, allocations: 15.97 kB / 460.6 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002668/0.7096, allocations: 94.5 kB / 460.7 MB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.7098, allocations: 51.39 kB / 460.7 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008353/0.7107, allocations: 292.3 kB / 461 MB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.113e-05/0.7108, allocations: 33 kB / 461.1 MB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.7109, allocations: 44 kB / 461.1 MB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.7132, allocations: 0.6172 MB / 461.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.7133, allocations: 4 kB / 461.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.7135, allocations: 23.94 kB / 461.7 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/0.7136, allocations: 49.22 kB / 461.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.716, allocations: 0.6531 MB / 462.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005335/0.7214, allocations: 1.376 MB / 463.8 MB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.7231, allocations: 425.3 kB / 464.2 MB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005962/0.7238, allocations: 145.2 kB / 464.4 MB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-05/0.7239, allocations: 16.2 kB / 464.4 MB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.7239, allocations: 38.8 kB / 464.4 MB, free: 8.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 7.955e-06/0.724, allocations: 0 / 464.4 MB, free: 8.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001946/0.7259, allocations: 370 kB / 464.8 MB, free: 7.703 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.726, allocations: 51.41 kB / 464.8 MB, free: 7.641 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009083/0.727, allocations: 446.7 kB / 465.3 MB, free: 7.195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.326e-05/0.727, allocations: 27.2 kB / 465.3 MB, free: 7.164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.7273, allocations: 220.2 kB / 465.5 MB, free: 6.945 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.7274, allocations: 102.6 kB / 465.6 MB, free: 6.844 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.7275, allocations: 4 kB / 465.6 MB, free: 6.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.7277, allocations: 350.8 kB / 466 MB, free: 6.488 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/0.7281, allocations: 140.5 kB / 466.1 MB, free: 6.348 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.7286, allocations: 232.3 kB / 466.3 MB, free: 6.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005128/0.7292, allocations: 171.8 kB / 466.5 MB, free: 5.914 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.7292, allocations: 4 kB / 466.5 MB, free: 5.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001366/0.7306, allocations: 457.2 kB / 467 MB, free: 5.457 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.7306, allocations: 17.72 kB / 467 MB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.7307, allocations: 7.938 kB / 467 MB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/0.7307, allocations: 4 kB / 467 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.7326, allocations: 199.9 kB / 467.2 MB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006457/0.739, allocations: 7.296 MB / 474.5 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/0.7397, allocations: 59.39 kB / 474.5 MB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/0.7398, allocations: 24.83 kB / 474.6 MB, free: 13.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000209/0.74, allocations: 125.5 kB / 474.7 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.7402, allocations: 51.38 kB / 474.7 MB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.7418, allocations: 0.5092 MB / 475.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.7418, allocations: 4 kB / 475.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.7418, allocations: 0 / 475.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.7419, allocations: 0 / 475.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009226/0.7428, allocations: 413.1 kB / 475.6 MB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.7428, allocations: 0 / 475.6 MB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/0.7446, allocations: 191.8 kB / 475.8 MB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.7447, allocations: 3.953 kB / 475.8 MB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.947e-05/0.7447, allocations: 11.98 kB / 475.8 MB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005384/0.7501, allocations: 7.294 MB / 483.1 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.7502, allocations: 0 / 483.1 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.7514, allocations: 480.2 kB / 483.6 MB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.7516, allocations: 124.5 kB / 483.7 MB, free: 4.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.832e-05/0.7517, allocations: 4 kB / 483.7 MB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/0.7522, allocations: 11.98 kB / 483.7 MB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.7523, allocations: 27.95 kB / 483.8 MB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.7524, allocations: 11.98 kB / 483.8 MB, free: 3.965 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006418/0.753, allocations: 349.1 kB / 484.1 MB, free: 3.629 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.753, allocations: 4 kB / 484.1 MB, free: 3.625 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007368/0.7538, allocations: 139.8 kB / 484.3 MB, free: 3.488 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001796/0.7556, allocations: 1.088 MB / 485.4 MB, free: 2.375 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002257/0.7579, allocations: 456.2 kB / 485.8 MB, free: 1.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7579, allocations: 0 / 485.8 MB, free: 1.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001708/0.7596, allocations: 287.6 kB / 486.1 MB, free: 1.648 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007772/0.7604, allocations: 108.4 kB / 486.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.7627, allocations: 0.7748 MB / 487 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.7633, allocations: 0.8895 MB / 487.9 MB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005968/0.7639, allocations: 132.1 kB / 488 MB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.7642, allocations: 128.4 kB / 488.1 MB, free: 15.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.322e-06/0.7643, allocations: 0 / 488.1 MB, free: 15.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05955/0.8238, allocations: 12.85 MB / 0.4892 GB, free: 2.793 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003402/0.8242, allocations: 219.8 kB / 0.4894 GB, free: 2.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/4.024, allocations: 0 / 0.4894 GB, free: 2.57 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat