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.051/2.051, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.959e-05/3.97e-05, allocations: 4 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1147, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4566/0.5714, allocations: 75.77 MB / 397.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.5718, allocations: 79.95 kB / 397.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02419/0.596, allocations: 5.257 MB / 402.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.596, allocations: 0 / 402.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.5961, allocations: 4 kB / 402.9 MB, free: 8.805 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.0006033/0.5967, allocations: 406.1 kB / 403.3 MB, free: 8.363 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.5967, allocations: 12.03 kB / 403.4 MB, free: 8.352 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.018e-05/0.5968, allocations: 30.56 kB / 403.4 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.5969, allocations: 19.8 kB / 403.4 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.597, allocations: 171 kB / 403.6 MB, free: 8.086 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.597, allocations: 0 / 403.6 MB, free: 8.086 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.5971, allocations: 4 kB / 403.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.5973, allocations: 69.66 kB / 403.6 MB, free: 8.008 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.5973, allocations: 0 / 403.6 MB, free: 8.008 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.5973, allocations: 4 kB / 403.6 MB, free: 8.004 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5973, allocations: 0 / 403.6 MB, free: 8.004 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.5975, allocations: 55.92 kB / 403.7 MB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.5978, allocations: 197.5 kB / 403.9 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.5979, allocations: 58.56 kB / 403.9 MB, free: 7.641 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.598, allocations: 48.78 kB / 404 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.106e-05/0.5981, allocations: 23.98 kB / 404 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.5982, allocations: 34.56 kB / 404.1 MB, free: 7.523 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 2.254e-06/0.5982, allocations: 0 / 404.1 MB, free: 7.523 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.03169/0.6299, allocations: 1.221 MB / 405.3 MB, free: 6.273 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.63, allocations: 63.3 kB / 405.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.6301, allocations: 113.3 kB / 405.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.6302, allocations: 29.7 kB / 405.5 MB, free: 6.043 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.6303, allocations: 154.8 kB / 405.6 MB, free: 5.887 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.588e-05/0.6304, allocations: 39.45 kB / 405.7 MB, free: 5.848 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.6304, allocations: 0 / 405.7 MB, free: 5.848 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.6306, allocations: 326.8 kB / 406 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.6308, allocations: 64 kB / 406 MB, free: 5.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.6311, allocations: 71.98 kB / 406.1 MB, free: 5.387 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.6314, allocations: 72.78 kB / 406.2 MB, free: 5.316 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6314, allocations: 0 / 406.2 MB, free: 5.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000696/0.6321, allocations: 205.5 kB / 406.4 MB, free: 5.109 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.6322, allocations: 4 kB / 406.4 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.6322, allocations: 0 / 406.4 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.6322, allocations: 0 / 406.4 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/0.6328, allocations: 43.91 kB / 406.4 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.6329, allocations: 4 kB / 406.4 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.6333, allocations: 15.94 kB / 406.5 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.6333, allocations: 7.984 kB / 406.5 MB, free: 5.035 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.0001254/0.6335, allocations: 109 kB / 406.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/0.6335, allocations: 7.906 kB / 406.6 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000907/0.6344, allocations: 246 kB / 406.8 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.6344, allocations: 4 kB / 406.8 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6345, allocations: 0 / 406.8 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.6345, allocations: 0 / 406.8 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.637, allocations: 0.6349 MB / 407.5 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.637, allocations: 4 kB / 407.5 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005243/0.6375, allocations: 35.97 kB / 407.5 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.6375, allocations: 0 / 407.5 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.6376, allocations: 11.94 kB / 407.5 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.6376, allocations: 4 kB / 407.5 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6376, allocations: 8.031 kB / 407.5 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007523/0.6384, allocations: 343 kB / 407.9 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.6386, allocations: 101 kB / 408 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.6386, allocations: 12 kB / 408 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.6391, allocations: 11.98 kB / 408 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.6391, allocations: 11.98 kB / 408 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.6392, allocations: 11.94 kB / 408 MB, free: 3.359 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.488e-05/0.6393, allocations: 96.39 kB / 408.1 MB, free: 3.266 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6393, allocations: 0 / 408.1 MB, free: 3.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007925/0.6401, allocations: 179.7 kB / 408.3 MB, free: 3.09 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.001922/0.642, allocations: 1.234 MB / 409.5 MB, free: 1.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005926/0.6426, allocations: 167.8 kB / 409.7 MB, free: 1.645 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6426, allocations: 0 / 409.7 MB, free: 1.645 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.6429, allocations: 95.91 kB / 409.8 MB, free: 1.551 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.6433, allocations: 12 kB / 409.8 MB, free: 1.539 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/0.6458, allocations: 394.9 kB / 410.2 MB, free: 1.102 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.6462, allocations: 0.6965 MB / 410.9 MB, free: 388 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.6464, allocations: 35.41 kB / 410.9 MB, free: 352 kB / 330.7 MB Notification: Performance of SimCode: time 9.51e-07/0.6464, allocations: 0 / 410.9 MB, free: 352 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.571/3.217, allocations: 4.715 MB / 415.6 MB, free: 11.61 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