Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.062/2.062, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.345e-05/4.354e-05, allocations: 4 kB / 273.1 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 48.7 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.008/2.123, allocations: 0.6024 GB / 0.9167 GB, free: 59.17 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/2.123, allocations: 94.19 kB / 0.9168 GB, free: 59.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.562/3.685, allocations: 269.2 MB / 1.18 GB, free: 62.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/3.685, allocations: 3.938 kB / 1.18 GB, free: 62.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.552e-05/3.685, allocations: 18.52 kB / 1.18 GB, free: 62.86 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003998/3.689, allocations: 1.197 MB / 1.181 GB, free: 62.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/3.689, allocations: 7.844 kB / 1.181 GB, free: 62.22 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/3.69, allocations: 82.86 kB / 1.181 GB, free: 62.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/3.691, allocations: 150.3 kB / 1.181 GB, free: 62.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/3.693, allocations: 0.5284 MB / 1.182 GB, free: 61.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/3.693, allocations: 31.25 kB / 1.182 GB, free: 61.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/3.693, allocations: 44.53 kB / 1.182 GB, free: 61.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/3.695, allocations: 0.6293 MB / 1.182 GB, free: 61.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/3.695, allocations: 1.125 kB / 1.182 GB, free: 61.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/3.695, allocations: 20.56 kB / 1.182 GB, free: 61.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/3.695, allocations: 13.75 kB / 1.182 GB, free: 61.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/3.696, allocations: 483.9 kB / 1.183 GB, free: 61.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.004005/3.7, allocations: 2.578 MB / 1.185 GB, free: 60.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009203/3.701, allocations: 290.7 kB / 1.186 GB, free: 60.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003949/3.701, allocations: 159.7 kB / 1.186 GB, free: 60.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004545/3.702, allocations: 334.8 kB / 1.186 GB, free: 59.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/3.702, allocations: 36.61 kB / 1.186 GB, free: 59.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.477e-06/3.702, allocations: 0 / 1.186 GB, free: 59.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001595/3.704, allocations: 448.1 kB / 1.187 GB, free: 59.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/3.704, allocations: 166.2 kB / 1.187 GB, free: 59.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006597/3.704, allocations: 393.3 kB / 1.187 GB, free: 59.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.489e-05/3.704, allocations: 30.89 kB / 1.187 GB, free: 59.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/3.705, allocations: 370.6 kB / 1.188 GB, free: 59.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/3.705, allocations: 133.4 kB / 1.188 GB, free: 59.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/3.705, allocations: 10.56 kB / 1.188 GB, free: 59.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.073e-05/3.705, allocations: 333.6 kB / 1.188 GB, free: 58.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/3.705, allocations: 137 kB / 1.188 GB, free: 58.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004957/3.706, allocations: 356.5 kB / 1.188 GB, free: 58.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/3.706, allocations: 184.5 kB / 1.189 GB, free: 58.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/3.706, allocations: 6.531 kB / 1.189 GB, free: 58.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001416/3.708, allocations: 0.547 MB / 1.189 GB, free: 58.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/3.708, allocations: 11.41 kB / 1.189 GB, free: 58.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/3.708, allocations: 7.719 kB / 1.189 GB, free: 58.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002257/3.71, allocations: 241.2 kB / 1.189 GB, free: 58.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007368/3.711, allocations: 132.5 kB / 1.19 GB, free: 58.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005278/3.711, allocations: 0.5895 MB / 1.19 GB, free: 57.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007075/3.712, allocations: 61.44 kB / 1.19 GB, free: 57.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/3.712, allocations: 64.17 kB / 1.19 GB, free: 57.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001818/3.712, allocations: 140.7 kB / 1.19 GB, free: 57.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/3.713, allocations: 51.91 kB / 1.19 GB, free: 57.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/3.715, allocations: 0.6577 MB / 1.191 GB, free: 57.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/3.715, allocations: 3.438 kB / 1.191 GB, free: 57.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/3.715, allocations: 3.953 kB / 1.191 GB, free: 57.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/3.715, allocations: 7.438 kB / 1.191 GB, free: 57.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/3.718, allocations: 1.49 MB / 1.193 GB, free: 56.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/3.718, allocations: 3.562 kB / 1.193 GB, free: 56.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/3.718, allocations: 81.03 kB / 1.193 GB, free: 56.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002036/3.72, allocations: 228.6 kB / 1.193 GB, free: 56.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/3.72, allocations: 21.34 kB / 1.193 GB, free: 56.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004388/3.721, allocations: 0.5832 MB / 1.193 GB, free: 56.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/3.721, allocations: 0 / 1.193 GB, free: 56.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/3.722, allocations: 0.6797 MB / 1.194 GB, free: 55.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/3.722, allocations: 194 kB / 1.194 GB, free: 55.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/3.722, allocations: 15.19 kB / 1.194 GB, free: 55.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/3.723, allocations: 23.2 kB / 1.194 GB, free: 55.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.379e-05/3.723, allocations: 43.42 kB / 1.194 GB, free: 55.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.657e-05/3.723, allocations: 33.52 kB / 1.194 GB, free: 55.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004937/3.724, allocations: 310.2 kB / 1.195 GB, free: 55.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.724, allocations: 1.375 kB / 1.195 GB, free: 55.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001975/3.726, allocations: 440.3 kB / 1.195 GB, free: 55.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00423/3.73, allocations: 3.104 MB / 1.198 GB, free: 53.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/3.731, allocations: 401.2 kB / 1.198 GB, free: 53.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/3.731, allocations: 0 / 1.198 GB, free: 53.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004655/3.732, allocations: 189.8 kB / 1.199 GB, free: 53.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/3.734, allocations: 288.8 kB / 1.199 GB, free: 53.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/3.745, allocations: 2.325 MB / 1.201 GB, free: 53.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/3.745, allocations: 0.8819 MB / 1.202 GB, free: 52.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000767/3.746, allocations: 244.3 kB / 1.202 GB, free: 52.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.392e-06/3.746, allocations: 2.688 kB / 1.202 GB, free: 52.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.991/6.737, allocations: 21.01 MB / 1.223 GB, free: 51.25 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat