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.022/2.022, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.582e-05/2.595e-05, allocations: 4 kB / 267.6 MB, free: 5.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 48.69 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.913/2.019, allocations: 0.602 GB / 0.9109 GB, free: 55.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/2.02, allocations: 93.17 kB / 0.911 GB, free: 55.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463/3.483, allocations: 266.2 MB / 1.171 GB, free: 65.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/3.483, allocations: 0 / 1.171 GB, free: 65.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.747e-05/3.483, allocations: 13.5 kB / 1.171 GB, free: 65.82 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.004129/3.487, allocations: 1.196 MB / 1.172 GB, free: 65.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.356e-05/3.487, allocations: 9.781 kB / 1.172 GB, free: 65.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/3.489, allocations: 159 kB / 1.172 GB, free: 65.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/3.49, allocations: 0.5214 MB / 1.173 GB, free: 64.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/3.49, allocations: 13.91 kB / 1.173 GB, free: 64.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/3.49, allocations: 29.02 kB / 1.173 GB, free: 64.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001051/3.491, allocations: 427.5 kB / 1.173 GB, free: 64.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/3.493, allocations: 0.5382 MB / 1.174 GB, free: 64.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/3.493, allocations: 4.469 kB / 1.174 GB, free: 64.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-05/3.493, allocations: 0 / 1.174 GB, free: 64.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/3.493, allocations: 15.23 kB / 1.174 GB, free: 64.78 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.004066/3.497, allocations: 2.572 MB / 1.176 GB, free: 63.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/3.497, allocations: 227.7 kB / 1.177 GB, free: 63.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/3.498, allocations: 130.3 kB / 1.177 GB, free: 63.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004289/3.498, allocations: 324.7 kB / 1.177 GB, free: 62.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/3.498, allocations: 42.12 kB / 1.177 GB, free: 62.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 3.136e-06/3.498, allocations: 0 / 1.177 GB, free: 62.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.003982/3.502, allocations: 0.7608 MB / 1.178 GB, free: 62.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/3.502, allocations: 164.1 kB / 1.178 GB, free: 62.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006604/3.503, allocations: 385.9 kB / 1.178 GB, free: 62.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/3.503, allocations: 29.64 kB / 1.178 GB, free: 62.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/3.503, allocations: 367.9 kB / 1.179 GB, free: 62.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/3.503, allocations: 110.9 kB / 1.179 GB, free: 62.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/3.503, allocations: 0 / 1.179 GB, free: 62.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.818e-05/3.503, allocations: 337.7 kB / 1.179 GB, free: 61.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/3.504, allocations: 128.7 kB / 1.179 GB, free: 61.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/3.504, allocations: 346 kB / 1.18 GB, free: 61.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003353/3.508, allocations: 0.6035 MB / 1.18 GB, free: 61.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/3.508, allocations: 0 / 1.18 GB, free: 61.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004203/3.512, allocations: 0.9234 MB / 1.181 GB, free: 61.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/3.512, allocations: 9.344 kB / 1.181 GB, free: 61.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/3.512, allocations: 7.281 kB / 1.181 GB, free: 61.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002951/3.512, allocations: 47.72 kB / 1.181 GB, free: 61.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/3.513, allocations: 130.8 kB / 1.181 GB, free: 61.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007204/3.514, allocations: 0.6165 MB / 1.182 GB, free: 60.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007753/3.514, allocations: 58.41 kB / 1.182 GB, free: 60.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/3.515, allocations: 56.41 kB / 1.182 GB, free: 60.92 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.0001755/3.515, allocations: 128 kB / 1.182 GB, free: 60.81 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003885/3.519, allocations: 0.765 MB / 1.183 GB, free: 60.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/3.519, allocations: 58.94 kB / 1.183 GB, free: 60.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/3.521, allocations: 0.6032 MB / 1.183 GB, free: 60.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/3.522, allocations: 3.75 kB / 1.183 GB, free: 60.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/3.522, allocations: 3.812 kB / 1.183 GB, free: 60.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/3.522, allocations: 0 / 1.183 GB, free: 60.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/3.524, allocations: 1.108 MB / 1.185 GB, free: 60.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/3.524, allocations: 3.25 kB / 1.185 GB, free: 60.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/3.525, allocations: 50.89 kB / 1.185 GB, free: 60.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002112/3.525, allocations: 44.27 kB / 1.185 GB, free: 60.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/3.525, allocations: 6.875 kB / 1.185 GB, free: 60.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006279/3.526, allocations: 0.6081 MB / 1.185 GB, free: 59.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/3.526, allocations: 3.953 kB / 1.185 GB, free: 59.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/3.527, allocations: 0.626 MB / 1.186 GB, free: 59.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/3.528, allocations: 191.5 kB / 1.186 GB, free: 59.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/3.528, allocations: 3.75 kB / 1.186 GB, free: 59.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005095/3.529, allocations: 21.89 kB / 1.186 GB, free: 59.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.568e-05/3.529, allocations: 22.08 kB / 1.186 GB, free: 59.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/3.529, allocations: 16.3 kB / 1.186 GB, free: 59.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004993/3.529, allocations: 318.4 kB / 1.186 GB, free: 58.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/3.529, allocations: 0 / 1.186 GB, free: 58.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002136/3.531, allocations: 401.8 kB / 1.187 GB, free: 58.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.005259/3.537, allocations: 3.072 MB / 1.19 GB, free: 57.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001094/3.538, allocations: 335.9 kB / 1.19 GB, free: 57.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/3.538, allocations: 3.844 kB / 1.19 GB, free: 57.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003189/3.538, allocations: 127.3 kB / 1.19 GB, free: 57.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/3.541, allocations: 246.7 kB / 1.19 GB, free: 57.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/3.552, allocations: 2.612 MB / 1.193 GB, free: 56.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/3.552, allocations: 0.8727 MB / 1.194 GB, free: 56.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000739/3.553, allocations: 240.8 kB / 1.194 GB, free: 56.15 MB / 426.7 MB Notification: Performance of SimCode: time 1.233e-06/3.553, allocations: 7.281 kB / 1.194 GB, free: 56.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.003/6.556, allocations: 21.09 MB / 1.215 GB, free: 54.84 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