Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.676/2.676, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.607e-05/2.604e-05, allocations: 4 kB / 299.6 MB, free: 180 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3751, allocations: 54.85 MB / 354.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1752/0.5505, allocations: 87.98 MB / 442.4 MB, free: 7.066 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003808/0.5509, allocations: 95.94 kB / 442.5 MB, free: 6.973 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05903/0.6099, allocations: 11.97 MB / 454.5 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.241e-06/0.61, allocations: 4 kB / 454.5 MB, free: 10.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.61, allocations: 4 kB / 454.5 MB, free: 10.81 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001557/0.6116, allocations: 0.6662 MB / 455.2 MB, free: 10.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.6117, allocations: 12.03 kB / 455.2 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.6118, allocations: 43.44 kB / 455.2 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/0.6124, allocations: 294.4 kB / 455.5 MB, free: 9.719 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.6125, allocations: 16 kB / 455.5 MB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.6126, allocations: 28 kB / 455.6 MB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00111/0.6137, allocations: 382.3 kB / 455.9 MB, free: 9.301 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.6152, allocations: 0.5564 MB / 456.5 MB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.6152, allocations: 7.891 kB / 456.5 MB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.886e-05/0.6153, allocations: 0 / 456.5 MB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.574e-05/0.6154, allocations: 33.3 kB / 456.5 MB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00354/0.6189, allocations: 1.367 MB / 457.9 MB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007215/0.6197, allocations: 263.5 kB / 458.2 MB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/0.62, allocations: 126.6 kB / 458.3 MB, free: 6.848 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.427e-05/0.6201, allocations: 11.97 kB / 458.3 MB, free: 6.836 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.6202, allocations: 38.56 kB / 458.3 MB, free: 6.789 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 2.985e-06/0.6202, allocations: 0 / 458.3 MB, free: 6.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001055/0.6213, allocations: 279.1 kB / 458.6 MB, free: 6.512 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.566e-05/0.6214, allocations: 114.9 kB / 458.7 MB, free: 6.375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.6218, allocations: 219.8 kB / 458.9 MB, free: 6.156 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.6218, allocations: 25.7 kB / 459 MB, free: 6.125 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.6221, allocations: 251.7 kB / 459.2 MB, free: 5.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.6222, allocations: 63.02 kB / 459.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.6222, allocations: 0 / 459.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.6224, allocations: 334.8 kB / 459.6 MB, free: 5.477 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.6228, allocations: 120.2 kB / 459.7 MB, free: 5.355 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000503/0.6233, allocations: 235.6 kB / 459.9 MB, free: 5.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/0.6238, allocations: 159.8 kB / 460.1 MB, free: 4.914 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.6239, allocations: 0 / 460.1 MB, free: 4.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001266/0.6251, allocations: 399.1 kB / 460.5 MB, free: 4.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.6252, allocations: 8 kB / 460.5 MB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001677/0.6254, allocations: 39.95 kB / 460.5 MB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.6254, allocations: 8 kB / 460.5 MB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.6259, allocations: 47.91 kB / 460.6 MB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.6259, allocations: 7.953 kB / 460.6 MB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.6264, allocations: 47.91 kB / 460.6 MB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/0.6265, allocations: 23.97 kB / 460.7 MB, free: 4.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 prepare postOptimizeDAE: time 0.0001923/0.6267, allocations: 124.8 kB / 460.8 MB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001004/0.6277, allocations: 283.1 kB / 461.1 MB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.6279, allocations: 19.72 kB / 461.1 MB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.6292, allocations: 408.7 kB / 461.5 MB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.6293, allocations: 11.94 kB / 461.5 MB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.6293, allocations: 0 / 461.5 MB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.6293, allocations: 4 kB / 461.5 MB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009212/0.6303, allocations: 341.9 kB / 461.8 MB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001379/0.6304, allocations: 31.97 kB / 461.9 MB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.6308, allocations: 35.97 kB / 461.9 MB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.6308, allocations: 0 / 461.9 MB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/0.6308, allocations: 11.98 kB / 461.9 MB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.6309, allocations: 4 kB / 461.9 MB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6309, allocations: 0 / 461.9 MB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.6319, allocations: 0.5541 MB / 462.5 MB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.6321, allocations: 100.8 kB / 462.6 MB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.477e-05/0.6322, allocations: 4 kB / 462.6 MB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004919/0.6327, allocations: 15.98 kB / 462.6 MB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.6328, allocations: 27.97 kB / 462.6 MB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-05/0.6329, allocations: 11.98 kB / 462.6 MB, free: 2.281 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002534/0.6331, allocations: 172.4 kB / 462.8 MB, free: 2.113 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6332, allocations: 0 / 462.8 MB, free: 2.113 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001109/0.6343, allocations: 155.4 kB / 462.9 MB, free: 1.961 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001999/0.6363, allocations: 1.324 MB / 464.3 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.3211/0.9574, allocations: 0.5878 MB / 464.9 MB, free: 98.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.9575, allocations: 0.6875 kB / 464.9 MB, free: 98.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006721/0.9582, allocations: 448 kB / 465.3 MB, free: 98.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000688/0.9589, allocations: 29.09 kB / 465.3 MB, free: 98.42 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.9625, allocations: 0.7479 MB / 466.1 MB, free: 98.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/0.9633, allocations: 0.8772 MB / 467 MB, free: 97.51 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003707/0.9637, allocations: 44.28 kB / 467 MB, free: 97.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.964, allocations: 112.7 kB / 467.1 MB, free: 97.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.964, allocations: 3.594 kB / 467.1 MB, free: 97.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05912/1.023, allocations: 7.401 MB / 474.5 MB, free: 97.01 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003297/1.024, allocations: 193.2 kB / 474.7 MB, free: 96.81 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.811/3.835, allocations: 7.312 kB / 474.7 MB, free: 96.81 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat