Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.001/2.001, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.938e-05/3.944e-05, allocations: 4 kB / 273.2 MB, free: 0.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.414/0.5361, allocations: 75.78 MB / 397.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/0.5365, allocations: 74.58 kB / 397.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02463/0.5611, allocations: 5.257 MB / 403 MB, free: 8.824 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5612, allocations: 3.938 kB / 403 MB, free: 8.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.5612, allocations: 0 / 403 MB, free: 8.82 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006484/0.5619, allocations: 410.1 kB / 403.4 MB, free: 8.375 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.5619, allocations: 12.03 kB / 403.4 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.06e-05/0.562, allocations: 34.56 kB / 403.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.5621, allocations: 11.86 kB / 403.4 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.5622, allocations: 175 kB / 403.6 MB, free: 8.098 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.5623, allocations: 4 kB / 403.6 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.5623, allocations: 4 kB / 403.6 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.5625, allocations: 65.62 kB / 403.7 MB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.5625, allocations: 0 / 403.7 MB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.5625, allocations: 0 / 403.7 MB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.5626, allocations: 4 kB / 403.7 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.5627, allocations: 55.97 kB / 403.7 MB, free: 7.961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.563, allocations: 197.5 kB / 403.9 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.5632, allocations: 58.56 kB / 404 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.5633, allocations: 48.77 kB / 404 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.262e-05/0.5634, allocations: 20 kB / 404 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.5634, allocations: 34.56 kB / 404.1 MB, free: 7.539 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.5635, allocations: 0 / 404.1 MB, free: 7.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.03545/0.5989, allocations: 1.224 MB / 405.3 MB, free: 6.285 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.599, allocations: 63.3 kB / 405.4 MB, free: 6.211 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.5993, allocations: 109.3 kB / 405.5 MB, free: 6.094 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.296e-05/0.5994, allocations: 29.7 kB / 405.5 MB, free: 6.059 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.5995, allocations: 158.8 kB / 405.7 MB, free: 5.898 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.5996, allocations: 39.45 kB / 405.7 MB, free: 5.859 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.5997, allocations: 4 kB / 405.7 MB, free: 5.855 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.5999, allocations: 314.8 kB / 406 MB, free: 5.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.6003, allocations: 71.98 kB / 406.1 MB, free: 5.469 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.6006, allocations: 68.53 kB / 406.1 MB, free: 5.402 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.6011, allocations: 80.17 kB / 406.2 MB, free: 5.324 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6012, allocations: 0 / 406.2 MB, free: 5.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001073/0.6023, allocations: 193.5 kB / 406.4 MB, free: 5.129 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.6023, allocations: 8 kB / 406.4 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.6023, allocations: 0 / 406.4 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.6024, allocations: 0 / 406.4 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004466/0.6068, allocations: 39.91 kB / 406.5 MB, free: 5.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.6069, allocations: 3.984 kB / 406.5 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005717/0.6075, allocations: 23.88 kB / 406.5 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/0.6076, allocations: 4 kB / 406.5 MB, free: 5.051 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (12): * Single equations (assignments): 12 * 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 prepare postOptimizeDAE: time 0.0001608/0.6077, allocations: 109 kB / 406.6 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.6078, allocations: 11.91 kB / 406.6 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.6091, allocations: 238.1 kB / 406.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.6092, allocations: 0 / 406.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.6092, allocations: 11.92 kB / 406.9 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.6092, allocations: 0 / 406.9 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/0.6124, allocations: 0.6233 MB / 407.5 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.6125, allocations: 7.984 kB / 407.5 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007128/0.6132, allocations: 40 kB / 407.5 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.6133, allocations: 8 kB / 407.5 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.6133, allocations: 7.953 kB / 407.5 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.6133, allocations: 0 / 407.5 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/0.6134, allocations: 4 kB / 407.5 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.6144, allocations: 347 kB / 407.9 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.6147, allocations: 101 kB / 408 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.417e-05/0.6147, allocations: 11.98 kB / 408 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00913/0.6239, allocations: 11.98 kB / 408 MB, free: 3.398 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.624, allocations: 4 kB / 408 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.818e-05/0.6241, allocations: 19.98 kB / 408 MB, free: 3.375 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.6242, allocations: 92.55 kB / 408.1 MB, free: 3.285 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6242, allocations: 0 / 408.1 MB, free: 3.285 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001289/0.6255, allocations: 179.7 kB / 408.3 MB, free: 3.109 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.006515/0.6321, allocations: 1.238 MB / 409.5 MB, free: 1.824 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008511/0.633, allocations: 159.9 kB / 409.7 MB, free: 1.668 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.633, allocations: 4 kB / 409.7 MB, free: 1.664 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.6334, allocations: 83.92 kB / 409.8 MB, free: 1.582 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.6339, allocations: 15.98 kB / 409.8 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.6375, allocations: 390.9 kB / 410.2 MB, free: 1.133 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.638, allocations: 0.7043 MB / 410.9 MB, free: 412 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/0.6383, allocations: 35.42 kB / 410.9 MB, free: 376 kB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6384, allocations: 0 / 410.9 MB, free: 376 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.598/3.236, allocations: 4.751 MB / 415.7 MB, free: 11.65 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat