Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.066/2.066, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.014e-05/4.018e-05, allocations: 7.375 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.754/7.858, allocations: 2.496 GB / 2.811 GB, free: 82.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/7.859, allocations: 83.64 kB / 2.811 GB, free: 82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.178/9.036, allocations: 231.2 MB / 3.037 GB, free: 17.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/9.037, allocations: 0 / 3.037 GB, free: 17.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.4e-05/9.037, allocations: 8 kB / 3.037 GB, free: 17.66 MB / 426.7 MB 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.006099/9.043, allocations: 1.263 MB / 3.038 GB, free: 16.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/9.043, allocations: 12.03 kB / 3.038 GB, free: 16.34 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/9.043, allocations: 78.41 kB / 3.038 GB, free: 16.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002867/9.046, allocations: 243.2 kB / 3.038 GB, free: 16.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/9.047, allocations: 424 kB / 3.039 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.216e-05/9.047, allocations: 28.78 kB / 3.039 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.017e-05/9.047, allocations: 36 kB / 3.039 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/9.049, allocations: 0.6152 MB / 3.039 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/9.049, allocations: 7.891 kB / 3.039 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.619e-05/9.049, allocations: 16 kB / 3.039 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/9.049, allocations: 8 kB / 3.039 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/9.051, allocations: 0.5128 MB / 3.04 GB, free: 14.3 MB / 426.7 MB 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.00408/9.055, allocations: 2.661 MB / 3.042 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/9.058, allocations: 498.5 kB / 3.043 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/9.058, allocations: 136.8 kB / 3.043 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5324/9.59, allocations: 55.09 MB / 3.097 GB, free: 24.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/9.59, allocations: 34.41 kB / 3.097 GB, free: 24.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.046e-06/9.59, allocations: 0 / 3.097 GB, free: 24.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.002899/9.593, allocations: 0.6485 MB / 3.097 GB, free: 24.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/9.593, allocations: 110 kB / 3.097 GB, free: 24.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005007/9.594, allocations: 318.4 kB / 3.098 GB, free: 24.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/9.594, allocations: 32.33 kB / 3.098 GB, free: 24.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/9.594, allocations: 244.9 kB / 3.098 GB, free: 23.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/9.594, allocations: 97.17 kB / 3.098 GB, free: 23.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/9.594, allocations: 8.016 kB / 3.098 GB, free: 23.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/9.595, allocations: 348.5 kB / 3.098 GB, free: 23.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/9.595, allocations: 104.1 kB / 3.099 GB, free: 23.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/9.595, allocations: 259.2 kB / 3.099 GB, free: 23.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/9.596, allocations: 145.2 kB / 3.099 GB, free: 23.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/9.596, allocations: 7.719 kB / 3.099 GB, free: 23.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001024/9.597, allocations: 412.5 kB / 3.099 GB, free: 23.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004098/9.597, allocations: 1.828 MB / 3.101 GB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/9.597, allocations: 11.47 kB / 3.101 GB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.307e-05/9.597, allocations: 11.8 kB / 3.101 GB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008233/9.598, allocations: 116.1 kB / 3.101 GB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/9.598, allocations: 7.125 kB / 3.101 GB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007451/9.599, allocations: 78.39 kB / 3.101 GB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/9.599, allocations: 24.16 kB / 3.101 GB, free: 21.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/9.599, allocations: 3.969 kB / 3.101 GB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009163/9.6, allocations: 350.2 kB / 3.102 GB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/9.6, allocations: 6.031 kB / 3.102 GB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/9.6, allocations: 8.422 kB / 3.102 GB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/9.601, allocations: 111 kB / 3.102 GB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/9.601, allocations: 13.61 kB / 3.102 GB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/9.601, allocations: 65.23 kB / 3.102 GB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/9.601, allocations: 27.47 kB / 3.102 GB, free: 21.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (49): * Single equations (assignments): 49 * 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.0001792/9.602, allocations: 132.9 kB / 3.102 GB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/9.602, allocations: 39.34 kB / 3.102 GB, free: 21.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002744/9.604, allocations: 1.907 MB / 3.104 GB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.485e-05/9.604, allocations: 33.88 kB / 3.104 GB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/9.604, allocations: 7.453 kB / 3.104 GB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/9.605, allocations: 3.562 kB / 3.104 GB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/9.606, allocations: 1.027 MB / 3.105 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/9.606, allocations: 3.594 kB / 3.105 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006333/9.607, allocations: 84.64 kB / 3.105 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/9.607, allocations: 3.719 kB / 3.105 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/9.607, allocations: 10.44 kB / 3.105 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/9.607, allocations: 0 / 3.105 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/9.607, allocations: 3.375 kB / 3.105 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/9.608, allocations: 1.031 MB / 3.106 GB, free: 20.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/9.609, allocations: 259.9 kB / 3.106 GB, free: 20.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/9.609, allocations: 7.547 kB / 3.106 GB, free: 20.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005845/9.609, allocations: 37.55 kB / 3.106 GB, free: 20.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/9.61, allocations: 30.41 kB / 3.106 GB, free: 20.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/9.61, allocations: 21.47 kB / 3.106 GB, free: 20.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004995/9.61, allocations: 307.5 kB / 3.107 GB, free: 20.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/9.61, allocations: 1.281 kB / 3.107 GB, free: 20.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005923/9.616, allocations: 1.156 MB / 3.108 GB, free: 20.29 MB / 426.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: 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.01166/9.628, allocations: 2.902 MB / 3.111 GB, free: 19.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001626/9.629, allocations: 0.7386 MB / 3.111 GB, free: 19.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/9.629, allocations: 448 / 3.111 GB, free: 19.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007111/9.63, allocations: 495.5 kB / 3.112 GB, free: 19.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/9.632, allocations: 195.1 kB / 3.112 GB, free: 19.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2497/9.882, allocations: 80.48 MB / 3.191 GB, free: 184 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006834/9.883, allocations: 1.005 MB / 3.192 GB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001632/9.884, allocations: 0.5377 MB / 3.192 GB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004656/9.885, allocations: 280.4 kB / 3.192 GB, free: 14.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.543e-06/9.885, allocations: 4 kB / 3.192 GB, free: 14.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4428/10.33, allocations: 42.78 MB / 3.234 GB, free: 50.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/10.33, allocations: 218.8 kB / 3.234 GB, free: 50.07 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.333/14.66, allocations: 3.312 kB / 3.234 GB, free: 50.07 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat