Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.506/2.506, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.422e-05/5.431e-05, allocations: 4 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4259, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.393/8.819, allocations: 2.772 GB / 3.145 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/8.819, allocations: 83.7 kB / 3.145 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.354/10.17, allocations: 236.9 MB / 3.376 GB, free: 87.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.074e-06/10.17, allocations: 3.625 kB / 3.376 GB, free: 87.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.182e-05/10.17, allocations: 7.25 kB / 3.376 GB, free: 87.79 MB / 0.5105 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.006062/10.18, allocations: 1.285 MB / 3.378 GB, free: 86.97 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/10.18, allocations: 11 kB / 3.378 GB, free: 86.97 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/10.18, allocations: 72.41 kB / 3.378 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/10.18, allocations: 254.9 kB / 3.378 GB, free: 86.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/10.18, allocations: 414.6 kB / 3.378 GB, free: 86.56 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/10.18, allocations: 31.53 kB / 3.378 GB, free: 86.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.208e-05/10.18, allocations: 30.41 kB / 3.378 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/10.19, allocations: 0.6212 MB / 3.379 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/10.19, allocations: 3.938 kB / 3.379 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/10.19, allocations: 19.73 kB / 3.379 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/10.19, allocations: 11.53 kB / 3.379 GB, free: 86.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/10.19, allocations: 0.5218 MB / 3.38 GB, free: 86.08 MB / 0.5105 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.004291/10.19, allocations: 2.726 MB / 3.382 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/10.19, allocations: 0.5046 MB / 3.383 GB, free: 83.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/10.19, allocations: 146.4 kB / 3.383 GB, free: 83.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07576/10.27, allocations: 24.16 MB / 3.406 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/10.27, allocations: 38.22 kB / 3.406 GB, free: 68.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.905e-06/10.27, allocations: 0 / 3.406 GB, free: 68.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28): time 0.002973/10.27, allocations: 0.6652 MB / 3.407 GB, free: 68.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/10.27, allocations: 106.7 kB / 3.407 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005184/10.27, allocations: 340.1 kB / 3.408 GB, free: 67.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/10.27, allocations: 29.7 kB / 3.408 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/10.27, allocations: 226.7 kB / 3.408 GB, free: 67.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.636e-05/10.27, allocations: 96.78 kB / 3.408 GB, free: 67.65 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/10.27, allocations: 7.938 kB / 3.408 GB, free: 67.65 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.486e-05/10.27, allocations: 353.6 kB / 3.408 GB, free: 67.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/10.28, allocations: 102.6 kB / 3.408 GB, free: 67.28 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/10.28, allocations: 235.1 kB / 3.409 GB, free: 67.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/10.28, allocations: 132.3 kB / 3.409 GB, free: 67.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/10.28, allocations: 0 / 3.409 GB, free: 67.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00101/10.28, allocations: 394.7 kB / 3.409 GB, free: 66.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003138/10.28, allocations: 1.4 MB / 3.41 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/10.28, allocations: 7.656 kB / 3.41 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.031e-05/10.28, allocations: 7.75 kB / 3.41 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008226/10.28, allocations: 97.83 kB / 3.411 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/10.28, allocations: 15.16 kB / 3.411 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007692/10.28, allocations: 73.33 kB / 3.411 GB, free: 65.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/10.28, allocations: 26.12 kB / 3.411 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/10.28, allocations: 6.844 kB / 3.411 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008687/10.28, allocations: 323.3 kB / 3.411 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/10.28, allocations: 3.688 kB / 3.411 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/10.28, allocations: 7.75 kB / 3.411 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007178/10.28, allocations: 105.2 kB / 3.411 GB, free: 65.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/10.28, allocations: 10.12 kB / 3.411 GB, free: 65.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006866/10.28, allocations: 65.66 kB / 3.411 GB, free: 65.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/10.28, allocations: 22.59 kB / 3.411 GB, free: 65.18 MB / 0.5105 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.0002142/10.28, allocations: 131.6 kB / 3.411 GB, free: 65.06 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/10.28, allocations: 41.06 kB / 3.411 GB, free: 65.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/10.28, allocations: 1.904 MB / 3.413 GB, free: 64.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.59e-05/10.28, allocations: 34.2 kB / 3.413 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/10.28, allocations: 3.953 kB / 3.413 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/10.28, allocations: 3.562 kB / 3.413 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/10.29, allocations: 1.054 MB / 3.414 GB, free: 63.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/10.29, allocations: 0 / 3.414 GB, free: 63.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006671/10.29, allocations: 86.36 kB / 3.414 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/10.29, allocations: 6.75 kB / 3.414 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/10.29, allocations: 11 kB / 3.414 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/10.29, allocations: 3.5 kB / 3.414 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/10.29, allocations: 0 / 3.414 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/10.29, allocations: 1.047 MB / 3.415 GB, free: 62.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/10.29, allocations: 259.6 kB / 3.416 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/10.29, allocations: 11.88 kB / 3.416 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006818/10.29, allocations: 46.12 kB / 3.416 GB, free: 62.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/10.29, allocations: 33.5 kB / 3.416 GB, free: 62.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/10.29, allocations: 19.39 kB / 3.416 GB, free: 62.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005982/10.29, allocations: 374.3 kB / 3.416 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.91e-07/10.29, allocations: 0 / 3.416 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005685/10.3, allocations: 1.17 MB / 3.417 GB, free: 62.3 MB / 0.5105 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.01158/10.31, allocations: 2.903 MB / 3.42 GB, free: 61.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001671/10.31, allocations: 0.7228 MB / 3.421 GB, free: 60.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/10.31, allocations: 0 / 3.421 GB, free: 60.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007253/10.31, allocations: 498.3 kB / 3.421 GB, free: 60.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/10.31, allocations: 226.8 kB / 3.421 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006395/10.32, allocations: 1.695 MB / 3.423 GB, free: 59.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/10.32, allocations: 1.007 MB / 3.424 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001466/10.32, allocations: 0.56 MB / 3.425 GB, free: 58.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00054/10.32, allocations: 282.2 kB / 3.425 GB, free: 58.67 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/10.32, allocations: 7.938 kB / 3.425 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/10.43, allocations: 43.68 MB / 3.468 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/10.44, allocations: 212.2 kB / 3.468 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.636/15.07, allocations: 8 kB / 3.468 GB, free: 27.33 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat