Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.989/1.989, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.704e-05/3.717e-05, allocations: 8 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1359, allocations: 48.69 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4117/0.5477, allocations: 81.37 MB / 403.2 MB, free: 8.547 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003743/0.5482, allocations: 91.94 kB / 403.3 MB, free: 8.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03933/0.5875, allocations: 7.601 MB / 410.9 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5876, allocations: 0 / 410.9 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.5876, allocations: 0 / 410.9 MB, free: 0.8359 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007649/0.5884, allocations: 434.1 kB / 411.3 MB, free: 376 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.5885, allocations: 12.03 kB / 411.3 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.303e-05/0.5886, allocations: 54.48 kB / 411.4 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.5886, allocations: 11.84 kB / 411.4 MB, free: 288 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.5888, allocations: 178.9 kB / 411.6 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.5888, allocations: 8 kB / 411.6 MB, free: 60 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.5889, allocations: 12 kB / 411.6 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.5893, allocations: 138.2 kB / 411.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5893, allocations: 0 / 411.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.5893, allocations: 4 kB / 411.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.5894, allocations: 4 kB / 411.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.5897, allocations: 108 kB / 411.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.591, allocations: 0.5337 MB / 412.4 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.5913, allocations: 86.62 kB / 412.5 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.5915, allocations: 36.86 kB / 412.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.5915, allocations: 0 / 412.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.5916, allocations: 38.56 kB / 412.5 MB, free: 15.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.224e-06/0.5916, allocations: 3.938 kB / 412.6 MB, free: 15.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003516/0.5919, allocations: 93.83 kB / 412.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.592, allocations: 59.39 kB / 412.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.5921, allocations: 109 kB / 412.8 MB, free: 14.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.5922, allocations: 33.7 kB / 412.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.5923, allocations: 178.1 kB / 413 MB, free: 14.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.5924, allocations: 39.45 kB / 413.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.5924, allocations: 0 / 413.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5925, allocations: 322.8 kB / 413.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.631e-05/0.5926, allocations: 28 kB / 413.4 MB, free: 14.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.5928, allocations: 65.16 kB / 413.5 MB, free: 14.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.5929, allocations: 31.97 kB / 413.5 MB, free: 14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5929, allocations: 4 kB / 413.5 MB, free: 14 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003985/0.5933, allocations: 133.4 kB / 413.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.5934, allocations: 4 kB / 413.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5934, allocations: 0 / 413.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.5934, allocations: 7.984 kB / 413.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.5939, allocations: 47.91 kB / 413.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004762/0.5943, allocations: 0.5862 MB / 414.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.5946, allocations: 27.78 kB / 414.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.5946, allocations: 7.938 kB / 414.3 MB, free: 13.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.5947, allocations: 109 kB / 414.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.5948, allocations: 7.906 kB / 414.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/0.5953, allocations: 150.5 kB / 414.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.5953, allocations: 3.984 kB / 414.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5953, allocations: 0 / 414.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5953, allocations: 4 kB / 414.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.5957, allocations: 217.5 kB / 414.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.5958, allocations: 4 kB / 414.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004/0.5962, allocations: 51.95 kB / 414.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.5962, allocations: 0 / 414.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.5962, allocations: 0 / 414.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004495/0.5967, allocations: 0.5898 MB / 415.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5967, allocations: 0 / 415.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004886/0.5972, allocations: 259.7 kB / 415.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.5973, allocations: 96.97 kB / 415.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.5974, allocations: 7.984 kB / 415.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.5976, allocations: 4 kB / 415.8 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.5977, allocations: 23.88 kB / 415.8 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.5977, allocations: 7.984 kB / 415.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.637e-05/0.5978, allocations: 87.28 kB / 415.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5978, allocations: 3.938 kB / 415.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005652/0.5984, allocations: 87.92 kB / 416 MB, free: 11.35 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001278/0.5997, allocations: 0.8802 MB / 416.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000467/0.6002, allocations: 103.8 kB / 417 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6002, allocations: 0 / 417 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.6005, allocations: 51.98 kB / 417 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.6007, allocations: 15.89 kB / 417 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.6019, allocations: 279.9 kB / 417.3 MB, free: 9.957 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.6022, allocations: 0.7043 MB / 418 MB, free: 9.227 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.6024, allocations: 43.41 kB / 418.1 MB, free: 9.184 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6024, allocations: 0 / 418.1 MB, free: 9.184 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.561/3.164, allocations: 3.141 MB / 421.2 MB, free: 6.047 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat