Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.372e-05/4.378e-05, allocations: 8 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4157, allocations: 54.85 MB / 359.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.768/8.183, allocations: 2.607 GB / 2.958 GB, free: 112.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/8.184, allocations: 83.84 kB / 2.959 GB, free: 112.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.272/9.456, allocations: 235.6 MB / 3.189 GB, free: 69.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.963e-06/9.456, allocations: 3.406 kB / 3.189 GB, free: 69.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.435e-05/9.456, allocations: 6.438 kB / 3.189 GB, free: 69.97 MB / 490.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.006/9.462, allocations: 1.286 MB / 3.19 GB, free: 69.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/9.462, allocations: 7.875 kB / 3.19 GB, free: 69.18 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/9.462, allocations: 76.84 kB / 3.19 GB, free: 69.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002922/9.465, allocations: 251.9 kB / 3.19 GB, free: 69.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/9.467, allocations: 429.7 kB / 3.191 GB, free: 68.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/9.467, allocations: 27.81 kB / 3.191 GB, free: 68.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.608e-05/9.467, allocations: 38.12 kB / 3.191 GB, free: 68.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/9.469, allocations: 0.6161 MB / 3.191 GB, free: 68.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/9.469, allocations: 3.938 kB / 3.191 GB, free: 68.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/9.469, allocations: 15.91 kB / 3.191 GB, free: 68.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/9.469, allocations: 15.38 kB / 3.191 GB, free: 68.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/9.47, allocations: 0.5147 MB / 3.192 GB, free: 68.29 MB / 490.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.003812/9.474, allocations: 2.657 MB / 3.194 GB, free: 66.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/9.477, allocations: 496.9 kB / 3.195 GB, free: 65.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/9.477, allocations: 140.7 kB / 3.195 GB, free: 65.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1965/9.673, allocations: 55.14 MB / 3.249 GB, free: 33.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/9.673, allocations: 38.25 kB / 3.249 GB, free: 33.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 2.635e-06/9.673, allocations: 0 / 3.249 GB, free: 33.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.002808/9.676, allocations: 0.6554 MB / 3.25 GB, free: 33.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/9.676, allocations: 106.6 kB / 3.25 GB, free: 33.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/9.677, allocations: 320.7 kB / 3.25 GB, free: 33.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/9.677, allocations: 29.7 kB / 3.25 GB, free: 32.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/9.677, allocations: 244.1 kB / 3.25 GB, free: 32.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.306e-05/9.677, allocations: 96.19 kB / 3.25 GB, free: 32.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/9.677, allocations: 8 kB / 3.25 GB, free: 32.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.197e-05/9.677, allocations: 352.5 kB / 3.251 GB, free: 32.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/9.678, allocations: 105.7 kB / 3.251 GB, free: 32.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/9.678, allocations: 259.1 kB / 3.251 GB, free: 32.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/9.678, allocations: 143.4 kB / 3.251 GB, free: 32.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/9.678, allocations: 3.938 kB / 3.251 GB, free: 32.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001025/9.679, allocations: 416 kB / 3.252 GB, free: 31.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004301/9.68, allocations: 1.837 MB / 3.253 GB, free: 29.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/9.68, allocations: 6.688 kB / 3.253 GB, free: 29.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.623e-05/9.68, allocations: 11.3 kB / 3.253 GB, free: 29.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007916/9.681, allocations: 115.7 kB / 3.253 GB, free: 29.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/9.681, allocations: 7.344 kB / 3.253 GB, free: 29.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007304/9.682, allocations: 82.02 kB / 3.254 GB, free: 29.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/9.682, allocations: 24.31 kB / 3.254 GB, free: 29.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/9.682, allocations: 3.406 kB / 3.254 GB, free: 29.85 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008659/9.682, allocations: 341.9 kB / 3.254 GB, free: 29.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/9.682, allocations: 3.906 kB / 3.254 GB, free: 29.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/9.683, allocations: 8.438 kB / 3.254 GB, free: 29.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/9.683, allocations: 115.4 kB / 3.254 GB, free: 29.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/9.683, allocations: 11.56 kB / 3.254 GB, free: 29.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/9.684, allocations: 66.77 kB / 3.254 GB, free: 29.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/9.684, allocations: 25.86 kB / 3.254 GB, free: 29.68 MB / 490.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.000155/9.684, allocations: 136.7 kB / 3.254 GB, free: 29.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/9.684, allocations: 37.31 kB / 3.254 GB, free: 29.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002701/9.687, allocations: 1.904 MB / 3.256 GB, free: 28.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-05/9.687, allocations: 32.05 kB / 3.256 GB, free: 28.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/9.687, allocations: 0 / 3.256 GB, free: 28.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/9.687, allocations: 7.828 kB / 3.256 GB, free: 28.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/9.688, allocations: 1.028 MB / 3.257 GB, free: 28.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/9.688, allocations: 0 / 3.257 GB, free: 28.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/9.689, allocations: 90.52 kB / 3.257 GB, free: 28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-06/9.689, allocations: 0 / 3.257 GB, free: 28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/9.689, allocations: 7.312 kB / 3.257 GB, free: 27.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/9.689, allocations: 7.422 kB / 3.257 GB, free: 27.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/9.689, allocations: 4 kB / 3.257 GB, free: 27.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/9.691, allocations: 1.035 MB / 3.258 GB, free: 27.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/9.691, allocations: 257.5 kB / 3.259 GB, free: 27.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/9.691, allocations: 4 kB / 3.259 GB, free: 27.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005597/9.692, allocations: 36.75 kB / 3.259 GB, free: 27.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/9.692, allocations: 43.52 kB / 3.259 GB, free: 27.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/9.692, allocations: 11.84 kB / 3.259 GB, free: 27.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004692/9.692, allocations: 306.2 kB / 3.259 GB, free: 27.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/9.692, allocations: 0 / 3.259 GB, free: 27.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005741/9.698, allocations: 1.16 MB / 3.26 GB, free: 26.82 MB / 490.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.01143/9.71, allocations: 2.912 MB / 3.263 GB, free: 25.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001645/9.711, allocations: 0.7436 MB / 3.264 GB, free: 25.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/9.711, allocations: 3.938 kB / 3.264 GB, free: 25.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006598/9.712, allocations: 487.9 kB / 3.264 GB, free: 24.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/9.714, allocations: 201.8 kB / 3.264 GB, free: 24.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6226/10.34, allocations: 81.75 MB / 3.344 GB, free: 68.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/10.34, allocations: 1.004 MB / 3.345 GB, free: 67.58 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001511/10.34, allocations: 0.546 MB / 3.346 GB, free: 67.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004645/10.34, allocations: 275.8 kB / 3.346 GB, free: 67.57 MB / 490.7 MB Notification: Performance of SimCode: time 1.563e-06/10.34, allocations: 0 / 3.346 GB, free: 67.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/10.47, allocations: 42.94 MB / 3.388 GB, free: 65.36 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/10.47, allocations: 208.2 kB / 3.388 GB, free: 65.13 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.305/14.78, allocations: 0 / 3.388 GB, free: 65.13 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat