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.393/2.393, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.679e-05/2.677e-05, allocations: 4 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3756, allocations: 54.86 MB / 354.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.827/8.202, allocations: 2.606 GB / 2.952 GB, free: 106.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/8.203, allocations: 83.11 kB / 2.952 GB, free: 106.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.299/9.502, allocations: 232.7 MB / 3.18 GB, free: 82.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.794e-06/9.502, allocations: 0 / 3.18 GB, free: 82.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.583e-05/9.502, allocations: 14.53 kB / 3.18 GB, free: 82.13 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.006155/9.508, allocations: 1.285 MB / 3.181 GB, free: 81.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/9.508, allocations: 11.56 kB / 3.181 GB, free: 81.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002984/9.511, allocations: 255.5 kB / 3.181 GB, free: 81.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/9.512, allocations: 431.7 kB / 3.182 GB, free: 81.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/9.513, allocations: 22.48 kB / 3.182 GB, free: 81.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.002e-05/9.513, allocations: 18.81 kB / 3.182 GB, free: 81.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000912/9.514, allocations: 340.4 kB / 3.182 GB, free: 81.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008448/9.514, allocations: 424.2 kB / 3.182 GB, free: 81.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/9.514, allocations: 0 / 3.182 GB, free: 81.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/9.515, allocations: 3.531 kB / 3.182 GB, free: 81.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/9.515, allocations: 7.594 kB / 3.182 GB, free: 81.02 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.008284/9.523, allocations: 3.981 MB / 3.186 GB, free: 78.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/9.524, allocations: 294.5 kB / 3.187 GB, free: 78.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/9.524, allocations: 129.4 kB / 3.187 GB, free: 78.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1913/9.716, allocations: 53.74 MB / 3.239 GB, free: 48.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/9.716, allocations: 39.92 kB / 3.239 GB, free: 48.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.867e-06/9.716, allocations: 0 / 3.239 GB, free: 48.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.003031/9.719, allocations: 0.565 MB / 3.24 GB, free: 48.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/9.719, allocations: 106.1 kB / 3.24 GB, free: 47.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/9.719, allocations: 291.4 kB / 3.24 GB, free: 47.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.802e-05/9.719, allocations: 29.64 kB / 3.24 GB, free: 47.78 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/9.72, allocations: 248.5 kB / 3.24 GB, free: 47.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/9.72, allocations: 89.73 kB / 3.241 GB, free: 47.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/9.72, allocations: 0 / 3.241 GB, free: 47.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.6e-05/9.72, allocations: 345.9 kB / 3.241 GB, free: 47.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/9.72, allocations: 102.1 kB / 3.241 GB, free: 47.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/9.721, allocations: 256.6 kB / 3.241 GB, free: 47.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/9.722, allocations: 225.3 kB / 3.241 GB, free: 47.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/9.722, allocations: 0 / 3.241 GB, free: 47.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001985/9.724, allocations: 478.3 kB / 3.242 GB, free: 46.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004254/9.724, allocations: 1.828 MB / 3.244 GB, free: 45.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/9.724, allocations: 7.688 kB / 3.244 GB, free: 45.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/9.724, allocations: 7.594 kB / 3.244 GB, free: 45.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/9.725, allocations: 113.8 kB / 3.244 GB, free: 45.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/9.725, allocations: 11.72 kB / 3.244 GB, free: 45.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007637/9.726, allocations: 75.78 kB / 3.244 GB, free: 45.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.741e-05/9.726, allocations: 26.28 kB / 3.244 GB, free: 45.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/9.726, allocations: 7.734 kB / 3.244 GB, free: 45 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001572/9.728, allocations: 376.2 kB / 3.244 GB, free: 44.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/9.728, allocations: 7.906 kB / 3.244 GB, free: 44.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/9.728, allocations: 7.875 kB / 3.244 GB, free: 44.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007729/9.729, allocations: 114.8 kB / 3.244 GB, free: 44.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/9.729, allocations: 7.875 kB / 3.244 GB, free: 44.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006904/9.729, allocations: 59.86 kB / 3.244 GB, free: 44.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/9.73, allocations: 19.62 kB / 3.244 GB, free: 44.94 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.0002008/9.73, allocations: 120.6 kB / 3.245 GB, free: 44.82 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001761/9.732, allocations: 357.1 kB / 3.245 GB, free: 44.76 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.623e-05/9.732, allocations: 39.12 kB / 3.245 GB, free: 44.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/9.735, allocations: 1.705 MB / 3.247 GB, free: 44.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.834e-05/9.735, allocations: 28.39 kB / 3.247 GB, free: 44.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/9.735, allocations: 0 / 3.247 GB, free: 44.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/9.735, allocations: 3.797 kB / 3.247 GB, free: 44.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/9.736, allocations: 0.8599 MB / 3.248 GB, free: 44.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/9.736, allocations: 3.375 kB / 3.248 GB, free: 44.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006421/9.737, allocations: 84.81 kB / 3.248 GB, free: 44.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/9.737, allocations: 11.7 kB / 3.248 GB, free: 44.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/9.737, allocations: 3.75 kB / 3.248 GB, free: 44.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/9.737, allocations: 3.938 kB / 3.248 GB, free: 44.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/9.737, allocations: 0 / 3.248 GB, free: 44.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/9.739, allocations: 0.98 MB / 3.249 GB, free: 44.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/9.74, allocations: 246.8 kB / 3.249 GB, free: 43.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/9.74, allocations: 3.953 kB / 3.249 GB, free: 43.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005667/9.74, allocations: 30.11 kB / 3.249 GB, free: 43.87 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/9.741, allocations: 37.73 kB / 3.249 GB, free: 43.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/9.741, allocations: 18.44 kB / 3.249 GB, free: 43.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004784/9.741, allocations: 293.1 kB / 3.249 GB, free: 43.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/9.741, allocations: 0 / 3.249 GB, free: 43.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006069/9.747, allocations: 1.123 MB / 3.25 GB, free: 43.59 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: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01262/9.76, allocations: 2.923 MB / 3.253 GB, free: 42.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/9.761, allocations: 0.6848 MB / 3.254 GB, free: 42.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/9.761, allocations: 0 / 3.254 GB, free: 42.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005785/9.762, allocations: 427.7 kB / 3.254 GB, free: 41.83 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/9.764, allocations: 192.8 kB / 3.254 GB, free: 41.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.204/9.968, allocations: 54.9 MB / 3.308 GB, free: 4.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/9.968, allocations: 0.9881 MB / 3.309 GB, free: 3.551 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001535/9.97, allocations: 0.5523 MB / 3.31 GB, free: 3.012 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/9.97, allocations: 259.3 kB / 3.31 GB, free: 2.758 MB / 490.7 MB Notification: Performance of SimCode: time 1.503e-06/9.97, allocations: 0 / 3.31 GB, free: 2.758 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4825/10.45, allocations: 37.25 MB / 3.346 GB, free: 73.96 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003073/10.45, allocations: 186.9 kB / 3.346 GB, free: 73.77 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.251/14.7, allocations: 0 / 3.346 GB, free: 73.77 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