Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.04/2.04, allocations: 209.4 MB / 216.5 MB, free: 6.656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.695e-05, allocations: 0 / 267.6 MB, free: 4.965 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 48.7 MB / 316.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.729/7.838, allocations: 2.496 GB / 2.805 GB, free: 100.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/7.838, allocations: 83.56 kB / 2.805 GB, free: 100.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.659/10.5, allocations: 494.2 MB / 3.288 GB, free: 38.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.177e-06/10.5, allocations: 0 / 3.288 GB, free: 38.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001098/10.5, allocations: 39.14 kB / 3.288 GB, free: 38.67 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.01026/10.51, allocations: 1.992 MB / 3.29 GB, free: 37.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/10.51, allocations: 18 kB / 3.29 GB, free: 37.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008756/10.52, allocations: 0.6822 MB / 3.291 GB, free: 37.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/10.52, allocations: 0.847 MB / 3.291 GB, free: 37.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/10.52, allocations: 40.38 kB / 3.291 GB, free: 37.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/10.52, allocations: 47.97 kB / 3.292 GB, free: 37.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002455/10.52, allocations: 0.906 MB / 3.292 GB, free: 37.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/10.52, allocations: 1.084 MB / 3.293 GB, free: 37.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.505e-05/10.52, allocations: 7.781 kB / 3.293 GB, free: 37.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/10.53, allocations: 7.484 kB / 3.293 GB, free: 37.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/10.53, allocations: 24.06 kB / 3.294 GB, free: 37.1 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.137/11.66, allocations: 201.3 MB / 3.49 GB, free: 54.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009853/11.66, allocations: 407.3 kB / 3.491 GB, free: 54.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004219/11.66, allocations: 195.2 kB / 3.491 GB, free: 54.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06593/11.73, allocations: 16.29 MB / 3.507 GB, free: 45.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/11.73, allocations: 43.67 kB / 3.507 GB, free: 45.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.226e-06/11.73, allocations: 0.7656 kB / 3.507 GB, free: 45.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=43): time 0.006848/11.74, allocations: 1.249 MB / 3.508 GB, free: 45.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/11.74, allocations: 222.6 kB / 3.508 GB, free: 45.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/11.74, allocations: 0.6541 MB / 3.509 GB, free: 45.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001425/11.74, allocations: 27.58 kB / 3.509 GB, free: 45.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005213/11.74, allocations: 0.5927 MB / 3.509 GB, free: 44.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/11.74, allocations: 154.4 kB / 3.509 GB, free: 44.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.592e-05/11.74, allocations: 0 / 3.509 GB, free: 44.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/11.74, allocations: 391.9 kB / 3.51 GB, free: 44.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006231/11.74, allocations: 240.9 kB / 3.51 GB, free: 44.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007895/11.74, allocations: 0.6452 MB / 3.511 GB, free: 44.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003523/11.74, allocations: 0.5651 MB / 3.511 GB, free: 44.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.919e-05/11.74, allocations: 4.938 kB / 3.511 GB, free: 44.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005377/11.75, allocations: 1.14 MB / 3.512 GB, free: 43.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001165/11.75, allocations: 5.058 MB / 3.517 GB, free: 38.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.762e-05/11.75, allocations: 11.03 kB / 3.517 GB, free: 38.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.181e-05/11.75, allocations: 23.38 kB / 3.517 GB, free: 38.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/11.75, allocations: 304.5 kB / 3.518 GB, free: 38.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.134e-05/11.75, allocations: 27.27 kB / 3.518 GB, free: 38.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002704/11.76, allocations: 255.6 kB / 3.518 GB, free: 38.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/11.76, allocations: 63.86 kB / 3.518 GB, free: 38.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/11.76, allocations: 7.781 kB / 3.518 GB, free: 38.58 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004221/11.76, allocations: 0.9298 MB / 3.519 GB, free: 38.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/11.76, allocations: 12.25 kB / 3.519 GB, free: 38.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/11.76, allocations: 20.78 kB / 3.519 GB, free: 38.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/11.76, allocations: 300 kB / 3.519 GB, free: 38.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.943e-05/11.76, allocations: 27.22 kB / 3.519 GB, free: 38.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/11.76, allocations: 174.4 kB / 3.519 GB, free: 38.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/11.76, allocations: 59.61 kB / 3.519 GB, free: 38.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 127 * 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.0003357/11.76, allocations: 151.6 kB / 3.52 GB, free: 38.41 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003716/11.77, allocations: 0.6371 MB / 3.52 GB, free: 38.33 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/11.77, allocations: 97.19 kB / 3.52 GB, free: 38.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/11.77, allocations: 1.432 MB / 3.522 GB, free: 38.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/11.77, allocations: 3.406 kB / 3.522 GB, free: 38.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/11.77, allocations: 3.953 kB / 3.522 GB, free: 38.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/11.77, allocations: 0 / 3.522 GB, free: 38.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/11.77, allocations: 1.076 MB / 3.523 GB, free: 37.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/11.77, allocations: 0 / 3.523 GB, free: 37.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007481/11.78, allocations: 99.67 kB / 3.523 GB, free: 37.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/11.78, allocations: 3.938 kB / 3.523 GB, free: 37.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/11.78, allocations: 2.578 kB / 3.523 GB, free: 37.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/11.78, allocations: 3.438 kB / 3.523 GB, free: 37.81 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/11.78, allocations: 0 / 3.523 GB, free: 37.81 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/11.78, allocations: 0.6048 MB / 3.523 GB, free: 37.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/11.78, allocations: 495.2 kB / 3.524 GB, free: 37.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004494/11.78, allocations: 8.938 kB / 3.524 GB, free: 37.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/11.78, allocations: 74.62 kB / 3.524 GB, free: 37.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/11.78, allocations: 27.55 kB / 3.524 GB, free: 37.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/11.78, allocations: 12.84 kB / 3.524 GB, free: 37.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002143/11.78, allocations: 1.088 MB / 3.525 GB, free: 37.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.92e-07/11.78, allocations: 2.719 kB / 3.525 GB, free: 37.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007927/11.79, allocations: 1.552 MB / 3.527 GB, free: 37.15 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (46): * Single equations (assignments): 46 * 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.01281/11.8, allocations: 2.944 MB / 3.53 GB, free: 36.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002519/11.81, allocations: 0.988 MB / 3.53 GB, free: 36.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/11.81, allocations: 1.406 kB / 3.53 GB, free: 36.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003548/11.81, allocations: 143.9 kB / 3.531 GB, free: 36.22 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003456/11.81, allocations: 372.3 kB / 3.531 GB, free: 36.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008361/11.82, allocations: 1.894 MB / 3.533 GB, free: 35.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007213/11.82, allocations: 1.2 MB / 3.534 GB, free: 34.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004547/11.82, allocations: 1.899 MB / 3.536 GB, free: 34.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009404/11.82, allocations: 0.4977 MB / 3.536 GB, free: 34.79 MB / 490.7 MB Notification: Performance of SimCode: time 1.593e-06/11.82, allocations: 3.219 kB / 3.536 GB, free: 34.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1637/11.99, allocations: 51.74 MB / 3.587 GB, free: 17.12 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/11.99, allocations: 193.8 kB / 3.587 GB, free: 16.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.987/16.98, allocations: 0 / 3.587 GB, free: 16.93 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat does not exist to compare? outputFormat=mat