Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.995/1.995, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.507e-05/5.521e-05, allocations: 11.92 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1161, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4273/0.5435, allocations: 75.78 MB / 397.7 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.5439, allocations: 83.94 kB / 397.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02561/0.5695, allocations: 5.251 MB / 403 MB, free: 8.418 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5696, allocations: 0 / 403 MB, free: 8.418 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.5696, allocations: 0 / 403 MB, free: 8.418 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.0006342/0.5702, allocations: 414.1 kB / 403.4 MB, free: 7.969 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.5703, allocations: 8.031 kB / 403.4 MB, free: 7.961 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.777e-05/0.5704, allocations: 34.56 kB / 403.4 MB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.5704, allocations: 11.86 kB / 403.5 MB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.5706, allocations: 171 kB / 403.6 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.5706, allocations: 4 kB / 403.6 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.5707, allocations: 0 / 403.6 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.5708, allocations: 65.67 kB / 403.7 MB, free: 7.625 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.5709, allocations: 0 / 403.7 MB, free: 7.625 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.5709, allocations: 11.94 kB / 403.7 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.5709, allocations: 3.984 kB / 403.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.5711, allocations: 55.92 kB / 403.8 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.5713, allocations: 197.5 kB / 404 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.5715, allocations: 50.58 kB / 404 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.678e-05/0.5716, allocations: 44.84 kB / 404.1 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.55e-05/0.5717, allocations: 23.98 kB / 404.1 MB, free: 7.184 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.5717, allocations: 34.56 kB / 404.1 MB, free: 7.141 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.5717, allocations: 0 / 404.1 MB, free: 7.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.03279/0.6045, allocations: 1.217 MB / 405.3 MB, free: 5.895 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.6046, allocations: 59.36 kB / 405.4 MB, free: 5.824 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.6048, allocations: 113.3 kB / 405.5 MB, free: 5.703 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.6049, allocations: 29.7 kB / 405.5 MB, free: 5.668 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.6049, allocations: 96.36 kB / 405.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.827e-05/0.605, allocations: 39.39 kB / 405.7 MB, free: 5.527 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.6051, allocations: 4 kB / 405.7 MB, free: 5.523 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.6052, allocations: 322.8 kB / 406 MB, free: 5.199 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.6055, allocations: 71.98 kB / 406 MB, free: 5.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.6058, allocations: 76.47 kB / 406.1 MB, free: 5.055 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.6061, allocations: 68.23 kB / 406.2 MB, free: 4.988 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.6062, allocations: 4 kB / 406.2 MB, free: 4.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000724/0.6069, allocations: 201.5 kB / 406.4 MB, free: 4.781 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.6069, allocations: 4 kB / 406.4 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.607, allocations: 0 / 406.4 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.607, allocations: 0 / 406.4 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/0.6076, allocations: 39.95 kB / 406.4 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.6076, allocations: 0 / 406.4 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.6081, allocations: 27.88 kB / 406.5 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.6081, allocations: 8 kB / 406.5 MB, free: 4.703 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.0001355/0.6083, allocations: 108.9 kB / 406.6 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.6083, allocations: 11.81 kB / 406.6 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009833/0.6093, allocations: 238.2 kB / 406.8 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.6094, allocations: 3.984 kB / 406.8 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6094, allocations: 4 kB / 406.8 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6094, allocations: 0 / 406.8 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/0.612, allocations: 0.6233 MB / 407.4 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.6121, allocations: 0 / 407.4 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.6126, allocations: 44 kB / 407.5 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/0.6126, allocations: 4 kB / 407.5 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.6127, allocations: 11.95 kB / 407.5 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.6127, allocations: 96 / 407.5 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.6127, allocations: 11.92 kB / 407.5 MB, free: 3.574 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008127/0.6136, allocations: 339 kB / 407.8 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.6137, allocations: 108.9 kB / 408 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.745e-05/0.6138, allocations: 7.984 kB / 408 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/0.6143, allocations: 11.98 kB / 408 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.6143, allocations: 12 kB / 408 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.6144, allocations: 11.98 kB / 408 MB, free: 3.031 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.905e-05/0.6145, allocations: 96.48 kB / 408.1 MB, free: 2.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6145, allocations: 0 / 408.1 MB, free: 2.938 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00094/0.6154, allocations: 183.7 kB / 408.3 MB, free: 2.758 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.002304/0.6178, allocations: 1.238 MB / 409.5 MB, free: 1.473 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006441/0.6185, allocations: 159.9 kB / 409.7 MB, free: 1.316 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.6185, allocations: 4 kB / 409.7 MB, free: 1.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.6188, allocations: 83.92 kB / 409.8 MB, free: 1.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.6192, allocations: 17.11 kB / 409.8 MB, free: 1.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.622, allocations: 361.3 kB / 410.1 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.6224, allocations: 0.7043 MB / 410.8 MB, free: 88 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003775/0.6228, allocations: 40.47 kB / 410.9 MB, free: 48 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.623, allocations: 35.41 kB / 410.9 MB, free: 12 kB / 330.7 MB Notification: Performance of SimCode: time 1.643e-06/0.623, allocations: 4 kB / 410.9 MB, free: 8 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/0.6561, allocations: 6.379 MB / 417.3 MB, free: 9.703 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003439/0.6565, allocations: 189.2 kB / 417.5 MB, free: 9.469 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.228, allocations: 0 / 417.5 MB, free: 9.469 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat