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.145/2.145, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.558e-05/2.56e-05, allocations: 0 / 267.6 MB, free: 4.938 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 48.7 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.663/7.781, allocations: 2.496 GB / 2.805 GB, free: 99.14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/7.781, allocations: 83.86 kB / 2.805 GB, free: 99.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.35/9.131, allocations: 228.5 MB / 3.028 GB, free: 42.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.865e-06/9.131, allocations: 0 / 3.028 GB, free: 42.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.656e-05/9.131, allocations: 15.91 kB / 3.028 GB, free: 42.29 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.007852/9.139, allocations: 1.257 MB / 3.029 GB, free: 41.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.302e-05/9.139, allocations: 12.03 kB / 3.029 GB, free: 41.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005235/9.145, allocations: 239.7 kB / 3.029 GB, free: 40.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/9.146, allocations: 430.7 kB / 3.03 GB, free: 40.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.007e-05/9.146, allocations: 20 kB / 3.03 GB, free: 40.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/9.147, allocations: 19.94 kB / 3.03 GB, free: 40.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001443/9.148, allocations: 343.7 kB / 3.03 GB, free: 40.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/9.15, allocations: 416.4 kB / 3.031 GB, free: 39.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/9.15, allocations: 15.73 kB / 3.031 GB, free: 39.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.396e-05/9.15, allocations: 0 / 3.031 GB, free: 39.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/9.15, allocations: 11.66 kB / 3.031 GB, free: 39.75 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.01191/9.162, allocations: 3.957 MB / 3.035 GB, free: 35.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/9.163, allocations: 296.9 kB / 3.035 GB, free: 35.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/9.164, allocations: 132.8 kB / 3.035 GB, free: 35.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5265/9.69, allocations: 53.7 MB / 3.087 GB, free: 45.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/9.69, allocations: 35.97 kB / 3.087 GB, free: 45.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.787e-06/9.69, allocations: 0 / 3.087 GB, free: 45.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.002938/9.693, allocations: 0.5635 MB / 3.088 GB, free: 45.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/9.694, allocations: 107.6 kB / 3.088 GB, free: 45.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000444/9.694, allocations: 287.3 kB / 3.088 GB, free: 45.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/9.694, allocations: 25.7 kB / 3.088 GB, free: 45.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/9.694, allocations: 251.9 kB / 3.089 GB, free: 45.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.073e-05/9.694, allocations: 90.66 kB / 3.089 GB, free: 45.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/9.694, allocations: 0 / 3.089 GB, free: 45.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.016e-05/9.694, allocations: 348.6 kB / 3.089 GB, free: 44.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/9.695, allocations: 104.2 kB / 3.089 GB, free: 44.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/9.695, allocations: 250.1 kB / 3.089 GB, free: 44.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/9.696, allocations: 226.2 kB / 3.09 GB, free: 44.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/9.696, allocations: 1.344 kB / 3.09 GB, free: 44.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002811/9.699, allocations: 481.6 kB / 3.09 GB, free: 44.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005584/9.7, allocations: 1.838 MB / 3.092 GB, free: 42.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/9.7, allocations: 5 kB / 3.092 GB, free: 42.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.136e-05/9.7, allocations: 11.23 kB / 3.092 GB, free: 42.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/9.701, allocations: 117.8 kB / 3.092 GB, free: 42.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/9.701, allocations: 14.88 kB / 3.092 GB, free: 42.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/9.702, allocations: 67.44 kB / 3.092 GB, free: 42.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.166e-05/9.702, allocations: 23.52 kB / 3.092 GB, free: 42.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/9.702, allocations: 3.344 kB / 3.092 GB, free: 42.7 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002289/9.705, allocations: 380.1 kB / 3.092 GB, free: 42.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/9.705, allocations: 4.031 kB / 3.092 GB, free: 42.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/9.705, allocations: 6.938 kB / 3.092 GB, free: 42.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/9.706, allocations: 112.3 kB / 3.093 GB, free: 42.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/9.706, allocations: 11.23 kB / 3.093 GB, free: 42.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009027/9.707, allocations: 60.16 kB / 3.093 GB, free: 42.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.418e-05/9.707, allocations: 20.69 kB / 3.093 GB, free: 42.68 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.0002205/9.707, allocations: 126.4 kB / 3.093 GB, free: 42.57 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002506/9.709, allocations: 356.9 kB / 3.093 GB, free: 42.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/9.71, allocations: 38.78 kB / 3.093 GB, free: 42.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004899/9.715, allocations: 1.702 MB / 3.095 GB, free: 42.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.324e-05/9.715, allocations: 33.5 kB / 3.095 GB, free: 42.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/9.715, allocations: 0 / 3.095 GB, free: 42.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/9.715, allocations: 3.703 kB / 3.095 GB, free: 42.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/9.717, allocations: 0.8651 MB / 3.096 GB, free: 42.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/9.717, allocations: 0 / 3.096 GB, free: 42.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000835/9.717, allocations: 83.39 kB / 3.096 GB, free: 42.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/9.718, allocations: 2.938 kB / 3.096 GB, free: 42.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/9.718, allocations: 4.438 kB / 3.096 GB, free: 42.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/9.718, allocations: 1.625 kB / 3.096 GB, free: 42.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/9.718, allocations: 0 / 3.096 GB, free: 42.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/9.72, allocations: 0.9812 MB / 3.097 GB, free: 41.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/9.721, allocations: 252.5 kB / 3.097 GB, free: 41.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/9.721, allocations: 3.938 kB / 3.097 GB, free: 41.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007749/9.722, allocations: 34.92 kB / 3.097 GB, free: 41.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/9.722, allocations: 29.98 kB / 3.097 GB, free: 41.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/9.722, allocations: 17.16 kB / 3.097 GB, free: 41.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005793/9.723, allocations: 293.4 kB / 3.097 GB, free: 41.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.583e-06/9.723, allocations: 3.844 kB / 3.097 GB, free: 41.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007257/9.73, allocations: 1.129 MB / 3.098 GB, free: 41.65 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: 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.01492/9.745, allocations: 2.904 MB / 3.101 GB, free: 40.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002025/9.747, allocations: 0.6798 MB / 3.102 GB, free: 40.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/9.747, allocations: 3.438 kB / 3.102 GB, free: 40.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008327/9.748, allocations: 436.8 kB / 3.102 GB, free: 40.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/9.75, allocations: 189.5 kB / 3.103 GB, free: 40.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2076/9.958, allocations: 54.9 MB / 3.156 GB, free: 38.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/9.958, allocations: 0.9886 MB / 3.157 GB, free: 37.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001521/9.96, allocations: 0.5458 MB / 3.158 GB, free: 37.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/9.961, allocations: 268.4 kB / 3.158 GB, free: 37.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/9.961, allocations: 0 / 3.158 GB, free: 37.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1092/10.07, allocations: 37.12 MB / 3.194 GB, free: 19.36 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/10.07, allocations: 191.4 kB / 3.194 GB, free: 19.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.083/14.15, allocations: 3.969 kB / 3.194 GB, free: 19.16 MB / 426.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