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 1.962/1.962, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.09e-05/4.117e-05, allocations: 7.375 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.776/7.88, allocations: 2.497 GB / 2.811 GB, free: 65.42 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/7.88, allocations: 81.58 kB / 2.811 GB, free: 65.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.619/10.5, allocations: 499.1 MB / 3.299 GB, free: 37.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.684e-06/10.5, allocations: 0 / 3.299 GB, free: 37.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.212e-05/10.5, allocations: 28.84 kB / 3.299 GB, free: 37.32 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.008771/10.51, allocations: 1.997 MB / 3.301 GB, free: 36.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/10.51, allocations: 11.34 kB / 3.301 GB, free: 36.2 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003162/10.51, allocations: 140.6 kB / 3.301 GB, free: 36.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008097/10.52, allocations: 0.6762 MB / 3.301 GB, free: 36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003139/10.52, allocations: 0.8514 MB / 3.302 GB, free: 35.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/10.52, allocations: 77.03 kB / 3.302 GB, free: 35.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/10.52, allocations: 87.59 kB / 3.302 GB, free: 35.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005729/10.53, allocations: 1.693 MB / 3.304 GB, free: 34.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/10.53, allocations: 8.781 kB / 3.304 GB, free: 34.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001906/10.53, allocations: 44.27 kB / 3.304 GB, free: 34.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/10.53, allocations: 24.19 kB / 3.304 GB, free: 34.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005304/10.53, allocations: 1.465 MB / 3.305 GB, free: 34.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/10.54, allocations: 7.374 MB / 3.313 GB, free: 28.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/10.55, allocations: 1.115 MB / 3.314 GB, free: 28.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007793/10.55, allocations: 304.6 kB / 3.314 GB, free: 27.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07054/10.62, allocations: 17.69 MB / 3.331 GB, free: 18.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/10.62, allocations: 42.41 kB / 3.331 GB, free: 18.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=67): time 3.707e-06/10.62, allocations: 0 / 3.331 GB, free: 18.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=67): time 0.007545/10.63, allocations: 1.712 MB / 3.333 GB, free: 17.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.163e-05/10.63, allocations: 219.1 kB / 3.333 GB, free: 17.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/10.63, allocations: 0.5893 MB / 3.334 GB, free: 17.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001607/10.63, allocations: 37.61 kB / 3.334 GB, free: 17.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/10.63, allocations: 0.5264 MB / 3.334 GB, free: 16.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/10.63, allocations: 231.7 kB / 3.335 GB, free: 16.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/10.63, allocations: 22.19 kB / 3.335 GB, free: 16.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/10.63, allocations: 394 kB / 3.335 GB, free: 16.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006802/10.63, allocations: 262.7 kB / 3.335 GB, free: 16.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008732/10.63, allocations: 0.6561 MB / 3.336 GB, free: 15.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000799/10.63, allocations: 361.2 kB / 3.336 GB, free: 15.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/10.63, allocations: 3.469 kB / 3.336 GB, free: 15.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002525/10.63, allocations: 0.9577 MB / 3.337 GB, free: 15.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001046/10.64, allocations: 5.058 MB / 3.342 GB, free: 9.715 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/10.64, allocations: 13.31 kB / 3.342 GB, free: 9.715 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.082e-05/10.64, allocations: 18.53 kB / 3.342 GB, free: 9.715 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/10.64, allocations: 301 kB / 3.342 GB, free: 9.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.944e-05/10.64, allocations: 29.94 kB / 3.342 GB, free: 9.672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/10.64, allocations: 185.5 kB / 3.343 GB, free: 9.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/10.64, allocations: 59.88 kB / 3.343 GB, free: 9.578 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/10.64, allocations: 3.844 kB / 3.343 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002153/10.64, allocations: 0.8394 MB / 3.344 GB, free: 9.273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/10.64, allocations: 16.56 kB / 3.344 GB, free: 9.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/10.64, allocations: 23.09 kB / 3.344 GB, free: 9.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/10.64, allocations: 301 kB / 3.344 GB, free: 9.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.173e-05/10.64, allocations: 29.75 kB / 3.344 GB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/10.65, allocations: 158 kB / 3.344 GB, free: 9.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/10.65, allocations: 64.03 kB / 3.344 GB, free: 9.148 MB / 442.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.0003275/10.65, allocations: 184.2 kB / 3.344 GB, free: 8.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/10.65, allocations: 92.03 kB / 3.344 GB, free: 8.934 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006372/10.65, allocations: 4.437 MB / 3.349 GB, free: 6.828 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.553e-05/10.65, allocations: 63.78 kB / 3.349 GB, free: 6.809 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/10.65, allocations: 0 / 3.349 GB, free: 6.809 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/10.65, allocations: 10.94 kB / 3.349 GB, free: 6.805 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/10.66, allocations: 2.157 MB / 3.351 GB, free: 5.727 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/10.66, allocations: 0 / 3.351 GB, free: 5.727 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/10.66, allocations: 224.5 kB / 3.351 GB, free: 5.703 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.444e-05/10.66, allocations: 3.875 kB / 3.351 GB, free: 5.703 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.481e-05/10.66, allocations: 22.78 kB / 3.351 GB, free: 5.691 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/10.66, allocations: 3.75 kB / 3.351 GB, free: 5.691 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/10.66, allocations: 0 / 3.351 GB, free: 5.691 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003077/10.66, allocations: 2.046 MB / 3.353 GB, free: 3.934 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007694/10.66, allocations: 456.4 kB / 3.354 GB, free: 3.523 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/10.66, allocations: 16 kB / 3.354 GB, free: 3.508 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/10.66, allocations: 102.4 kB / 3.354 GB, free: 3.426 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/10.66, allocations: 68.44 kB / 3.354 GB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.046e-05/10.66, allocations: 32 kB / 3.354 GB, free: 3.355 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001004/10.67, allocations: 0.5612 MB / 3.354 GB, free: 2.836 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.82e-07/10.67, allocations: 0 / 3.354 GB, free: 2.836 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007388/10.67, allocations: 1.541 MB / 3.356 GB, free: 1.32 MB / 442.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: 42 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.01592/10.69, allocations: 4.351 MB / 3.36 GB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004175/10.69, allocations: 1.686 MB / 3.362 GB, free: 12.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/10.69, allocations: 0 / 3.362 GB, free: 12.14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001829/10.69, allocations: 1.019 MB / 3.363 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004095/10.7, allocations: 463.5 kB / 3.363 GB, free: 10.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7695/11.47, allocations: 122.9 MB / 3.483 GB, free: 38.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/11.47, allocations: 1.434 MB / 3.485 GB, free: 37.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006846/11.48, allocations: 1.512 MB / 3.486 GB, free: 37.72 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001903/11.48, allocations: 0.6565 MB / 3.487 GB, free: 37.71 MB / 458.7 MB Notification: Performance of SimCode: time 3.176e-06/11.48, allocations: 0 / 3.487 GB, free: 37.71 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5614/12.04, allocations: 69.17 MB / 3.554 GB, free: 60.12 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/12.04, allocations: 215.3 kB / 3.554 GB, free: 59.89 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.905/17.95, allocations: 0 / 3.554 GB, free: 59.89 MB / 474.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