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 1.952/1.952, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.373e-05/5.401e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1323, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.273/8.405, allocations: 2.496 GB / 2.811 GB, free: 66.76 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/8.405, allocations: 82.52 kB / 2.811 GB, free: 66.72 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.146/9.552, allocations: 231.2 MB / 3.037 GB, free: 4.809 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/9.552, allocations: 0 / 3.037 GB, free: 4.809 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.321e-05/9.552, allocations: 8 kB / 3.037 GB, free: 4.801 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.005976/9.558, allocations: 1.274 MB / 3.038 GB, free: 3.477 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/9.558, allocations: 8.031 kB / 3.038 GB, free: 3.469 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/9.558, allocations: 70.53 kB / 3.038 GB, free: 3.391 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/9.561, allocations: 239.2 kB / 3.038 GB, free: 3.156 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/9.562, allocations: 420.2 kB / 3.038 GB, free: 2.707 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.572e-05/9.562, allocations: 36.77 kB / 3.039 GB, free: 2.668 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.602e-05/9.562, allocations: 28 kB / 3.039 GB, free: 2.641 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/9.564, allocations: 0.6284 MB / 3.039 GB, free: 1.973 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/9.564, allocations: 3.953 kB / 3.039 GB, free: 1.969 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.931e-05/9.564, allocations: 16 kB / 3.039 GB, free: 1.953 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/9.564, allocations: 11.98 kB / 3.039 GB, free: 1.941 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/9.566, allocations: 0.5299 MB / 3.04 GB, free: 1.41 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.3262/9.893, allocations: 2.644 MB / 3.042 GB, free: 46.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/9.895, allocations: 494.5 kB / 3.043 GB, free: 46.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/9.896, allocations: 144 kB / 3.043 GB, free: 46.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2096/10.11, allocations: 55.09 MB / 3.097 GB, free: 32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/10.11, allocations: 44 kB / 3.097 GB, free: 31.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 2.845e-06/10.11, allocations: 0 / 3.097 GB, free: 31.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.002871/10.11, allocations: 0.6488 MB / 3.097 GB, free: 31.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.861e-05/10.11, allocations: 106.8 kB / 3.097 GB, free: 31.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/10.11, allocations: 314.6 kB / 3.098 GB, free: 31.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/10.11, allocations: 38.23 kB / 3.098 GB, free: 31.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/10.11, allocations: 244.2 kB / 3.098 GB, free: 31.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.937e-05/10.11, allocations: 93.53 kB / 3.098 GB, free: 31.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/10.11, allocations: 7.312 kB / 3.098 GB, free: 31.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002098/10.11, allocations: 354 kB / 3.098 GB, free: 31.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/10.11, allocations: 106.9 kB / 3.099 GB, free: 31.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/10.11, allocations: 266.7 kB / 3.099 GB, free: 30.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/10.11, allocations: 141.6 kB / 3.099 GB, free: 30.96 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/10.11, allocations: 0 / 3.099 GB, free: 30.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001107/10.11, allocations: 430 kB / 3.099 GB, free: 30.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008486/10.11, allocations: 1.834 MB / 3.101 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/10.11, allocations: 7.156 kB / 3.101 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.094e-05/10.11, allocations: 7.812 kB / 3.101 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009375/10.11, allocations: 116.1 kB / 3.101 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/10.11, allocations: 15.19 kB / 3.101 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008131/10.11, allocations: 76.73 kB / 3.101 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/10.11, allocations: 27.42 kB / 3.101 GB, free: 28.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/10.11, allocations: 3.938 kB / 3.101 GB, free: 28.96 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009714/10.12, allocations: 359.3 kB / 3.102 GB, free: 28.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/10.12, allocations: 8.438 kB / 3.102 GB, free: 28.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/10.12, allocations: 8.281 kB / 3.102 GB, free: 28.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007633/10.12, allocations: 103.5 kB / 3.102 GB, free: 28.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/10.12, allocations: 19.12 kB / 3.102 GB, free: 28.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007292/10.12, allocations: 75.8 kB / 3.102 GB, free: 28.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/10.12, allocations: 21.44 kB / 3.102 GB, free: 28.93 MB / 442.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.0002978/10.12, allocations: 137.6 kB / 3.102 GB, free: 28.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/10.12, allocations: 39.5 kB / 3.102 GB, free: 28.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/10.12, allocations: 1.901 MB / 3.104 GB, free: 28.58 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.189e-05/10.12, allocations: 29.98 kB / 3.104 GB, free: 28.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/10.12, allocations: 4.719 kB / 3.104 GB, free: 28.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/10.12, allocations: 3.844 kB / 3.104 GB, free: 28.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/10.12, allocations: 1.024 MB / 3.105 GB, free: 28.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/10.12, allocations: 0 / 3.105 GB, free: 28.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/10.12, allocations: 91.59 kB / 3.105 GB, free: 28.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/10.12, allocations: 0 / 3.105 GB, free: 28.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/10.12, allocations: 10.91 kB / 3.105 GB, free: 28.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/10.12, allocations: 4 kB / 3.105 GB, free: 28.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/10.12, allocations: 1.969 kB / 3.105 GB, free: 28.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/10.12, allocations: 1.037 MB / 3.106 GB, free: 28.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/10.12, allocations: 253.2 kB / 3.106 GB, free: 27.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/10.12, allocations: 6.688 kB / 3.106 GB, free: 27.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/10.13, allocations: 43.47 kB / 3.106 GB, free: 27.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/10.13, allocations: 35.41 kB / 3.106 GB, free: 27.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/10.13, allocations: 17.48 kB / 3.106 GB, free: 27.94 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004971/10.13, allocations: 307.8 kB / 3.107 GB, free: 27.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.91e-07/10.13, allocations: 0 / 3.107 GB, free: 27.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006025/10.13, allocations: 1.156 MB / 3.108 GB, free: 27.84 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: 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.01208/10.14, allocations: 2.904 MB / 3.111 GB, free: 27.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/10.15, allocations: 0.7525 MB / 3.111 GB, free: 26.99 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/10.15, allocations: 0 / 3.111 GB, free: 26.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006715/10.15, allocations: 498.3 kB / 3.112 GB, free: 26.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/10.15, allocations: 195.8 kB / 3.112 GB, free: 26.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2546/10.4, allocations: 80.48 MB / 3.191 GB, free: 5.777 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007149/10.4, allocations: 1.006 MB / 3.192 GB, free: 4.852 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001638/10.41, allocations: 0.5419 MB / 3.192 GB, free: 4.543 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004558/10.41, allocations: 281.2 kB / 3.193 GB, free: 4.508 MB / 442.7 MB Notification: Performance of SimCode: time 1.002e-06/10.41, allocations: 0 / 3.193 GB, free: 4.508 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4559/10.86, allocations: 42.98 MB / 3.234 GB, free: 57.25 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003008/10.86, allocations: 209.5 kB / 3.235 GB, free: 57.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.383/15.25, allocations: 7.875 kB / 3.235 GB, free: 57.02 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