Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.346/2.346, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.875e-05/3.876e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.135, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.145/9.28, allocations: 2.777 GB / 3.178 GB, free: 69.76 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/9.281, allocations: 86.62 kB / 3.178 GB, free: 69.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.302/10.58, allocations: 239.4 MB / 3.411 GB, free: 47.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.773e-06/10.58, allocations: 0 / 3.411 GB, free: 47.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.247e-05/10.58, allocations: 11.94 kB / 3.411 GB, free: 47.1 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005932/10.59, allocations: 1.285 MB / 3.413 GB, free: 45.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/10.59, allocations: 8.031 kB / 3.413 GB, free: 45.76 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/10.59, allocations: 74.53 kB / 3.413 GB, free: 45.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002808/10.59, allocations: 252 kB / 3.413 GB, free: 45.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009996/10.59, allocations: 420.1 kB / 3.413 GB, free: 44.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/10.59, allocations: 24.78 kB / 3.413 GB, free: 44.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.897e-05/10.59, allocations: 36 kB / 3.413 GB, free: 44.92 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/10.6, allocations: 0.6188 MB / 3.414 GB, free: 44.26 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/10.6, allocations: 3.938 kB / 3.414 GB, free: 44.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.527e-05/10.6, allocations: 20 kB / 3.414 GB, free: 44.23 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/10.6, allocations: 8 kB / 3.414 GB, free: 44.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/10.6, allocations: 0.5206 MB / 3.415 GB, free: 43.71 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004297/10.6, allocations: 2.727 MB / 3.417 GB, free: 40.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/10.6, allocations: 0.4946 MB / 3.418 GB, free: 40.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/10.6, allocations: 144.8 kB / 3.418 GB, free: 40.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07484/10.68, allocations: 24.15 MB / 3.441 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/10.68, allocations: 34.56 kB / 3.441 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.046e-06/10.68, allocations: 0 / 3.441 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.002908/10.68, allocations: 0.6657 MB / 3.442 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/10.68, allocations: 106.8 kB / 3.442 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/10.68, allocations: 335.1 kB / 3.443 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/10.68, allocations: 37.64 kB / 3.443 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/10.68, allocations: 232.1 kB / 3.443 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.115e-05/10.68, allocations: 90.66 kB / 3.443 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/10.68, allocations: 12 kB / 3.443 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.626e-05/10.68, allocations: 346.8 kB / 3.443 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/10.68, allocations: 107.9 kB / 3.443 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/10.68, allocations: 231.5 kB / 3.444 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/10.68, allocations: 139.4 kB / 3.444 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/10.68, allocations: 8 kB / 3.444 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000976/10.68, allocations: 392.8 kB / 3.444 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002929/10.69, allocations: 1.404 MB / 3.445 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/10.69, allocations: 4 kB / 3.445 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/10.69, allocations: 11.94 kB / 3.445 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007644/10.69, allocations: 99.88 kB / 3.446 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/10.69, allocations: 4 kB / 3.446 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007598/10.69, allocations: 83.48 kB / 3.446 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/10.69, allocations: 20 kB / 3.446 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/10.69, allocations: 7.938 kB / 3.446 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008131/10.69, allocations: 319.6 kB / 3.446 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/10.69, allocations: 4 kB / 3.446 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/10.69, allocations: 4 kB / 3.446 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/10.69, allocations: 116.3 kB / 3.446 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/10.69, allocations: 11.98 kB / 3.446 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/10.69, allocations: 63.56 kB / 3.446 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/10.69, allocations: 23.98 kB / 3.446 GB, free: 7.965 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001501/10.69, allocations: 136.8 kB / 3.446 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/10.69, allocations: 39.53 kB / 3.446 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/10.69, allocations: 1.911 MB / 3.448 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.443e-05/10.69, allocations: 27.95 kB / 3.448 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/10.69, allocations: 0 / 3.448 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/10.69, allocations: 7.984 kB / 3.448 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/10.69, allocations: 1.051 MB / 3.449 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/10.69, allocations: 0 / 3.449 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006591/10.69, allocations: 87.88 kB / 3.449 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/10.69, allocations: 0 / 3.449 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/10.69, allocations: 11.94 kB / 3.449 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/10.69, allocations: 8 kB / 3.449 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/10.69, allocations: 4 kB / 3.449 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/10.7, allocations: 1.034 MB / 3.45 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003854/10.7, allocations: 271.2 kB / 3.451 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/10.7, allocations: 8 kB / 3.451 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000604/10.7, allocations: 43.95 kB / 3.451 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/10.7, allocations: 35.89 kB / 3.451 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/10.7, allocations: 15.98 kB / 3.451 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005728/10.7, allocations: 365.6 kB / 3.451 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.81e-07/10.7, allocations: 0 / 3.451 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006077/10.7, allocations: 1.171 MB / 3.452 GB, free: 1.648 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.4233/11.13, allocations: 2.906 MB / 3.455 GB, free: 82.67 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002094/11.13, allocations: 0.7298 MB / 3.456 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/11.13, allocations: 0.5312 kB / 3.456 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009353/11.13, allocations: 491.1 kB / 3.456 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/11.13, allocations: 222.2 kB / 3.456 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007566/11.14, allocations: 1.708 MB / 3.458 GB, free: 82.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/11.14, allocations: 1.007 MB / 3.459 GB, free: 81.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00193/11.14, allocations: 0.5591 MB / 3.46 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005539/11.14, allocations: 284.8 kB / 3.46 GB, free: 81.61 MB / 0.5261 GB Notification: Performance of SimCode: time 1.332e-06/11.14, allocations: 0 / 3.46 GB, free: 81.61 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/11.26, allocations: 43.71 MB / 3.503 GB, free: 80.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/11.26, allocations: 219.8 kB / 3.503 GB, free: 80.42 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.871/16.13, allocations: 0 / 3.503 GB, free: 80.42 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat