Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.603/2.603, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.882e-05/4.889e-05, allocations: 4 kB / 305 MB, free: 5.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4946/0.4947, allocations: 54.86 MB / 359.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.859/2.354, allocations: 0.6092 GB / 0.9606 GB, free: 120.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/2.354, allocations: 91.84 kB / 0.9607 GB, free: 120.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.244/3.599, allocations: 269.4 MB / 1.224 GB, free: 53.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.284e-06/3.599, allocations: 4 kB / 1.224 GB, free: 53.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.583e-05/3.599, allocations: 16 kB / 1.224 GB, free: 53.35 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00394/3.603, allocations: 1.203 MB / 1.225 GB, free: 52.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/3.603, allocations: 11.97 kB / 1.225 GB, free: 52.09 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001843/3.603, allocations: 90.52 kB / 1.225 GB, free: 52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/3.605, allocations: 147.2 kB / 1.225 GB, free: 51.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/3.606, allocations: 0.5326 MB / 1.226 GB, free: 51.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/3.606, allocations: 33 kB / 1.226 GB, free: 51.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/3.607, allocations: 40 kB / 1.226 GB, free: 51.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/3.608, allocations: 0.6125 MB / 1.226 GB, free: 50.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/3.608, allocations: 7.938 kB / 1.226 GB, free: 50.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.701e-05/3.608, allocations: 20 kB / 1.226 GB, free: 50.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/3.608, allocations: 16 kB / 1.226 GB, free: 50.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/3.609, allocations: 477.7 kB / 1.227 GB, free: 50.03 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.003926/3.613, allocations: 2.571 MB / 1.229 GB, free: 47.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008758/3.614, allocations: 282.9 kB / 1.23 GB, free: 46.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/3.615, allocations: 164.1 kB / 1.23 GB, free: 46.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004474/3.615, allocations: 325.6 kB / 1.23 GB, free: 46.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/3.615, allocations: 42.55 kB / 1.23 GB, free: 46.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.246e-06/3.615, allocations: 0 / 1.23 GB, free: 46.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.001557/3.617, allocations: 450 kB / 1.231 GB, free: 45.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/3.617, allocations: 166.1 kB / 1.231 GB, free: 45.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/3.618, allocations: 387.8 kB / 1.231 GB, free: 45.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.035e-05/3.618, allocations: 33.7 kB / 1.231 GB, free: 45.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/3.618, allocations: 357.7 kB / 1.231 GB, free: 44.97 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/3.618, allocations: 134.1 kB / 1.232 GB, free: 44.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/3.618, allocations: 11.94 kB / 1.232 GB, free: 44.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.936e-05/3.618, allocations: 334.8 kB / 1.232 GB, free: 44.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/3.618, allocations: 129.1 kB / 1.232 GB, free: 44.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/3.619, allocations: 353.6 kB / 1.232 GB, free: 43.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/3.619, allocations: 192 kB / 1.233 GB, free: 43.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/3.619, allocations: 4 kB / 1.233 GB, free: 43.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001336/3.621, allocations: 0.5294 MB / 1.233 GB, free: 43.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/3.621, allocations: 16.17 kB / 1.233 GB, free: 43.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/3.621, allocations: 4 kB / 1.233 GB, free: 43.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002268/3.623, allocations: 236.6 kB / 1.233 GB, free: 42.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007545/3.624, allocations: 127.8 kB / 1.233 GB, free: 42.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005327/3.624, allocations: 0.5874 MB / 1.234 GB, free: 42.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007412/3.625, allocations: 75.53 kB / 1.234 GB, free: 42.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/3.625, allocations: 59.98 kB / 1.234 GB, free: 42.06 MB / 490.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.0001774/3.626, allocations: 132.8 kB / 1.234 GB, free: 41.92 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/3.626, allocations: 59.28 kB / 1.234 GB, free: 41.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/3.628, allocations: 0.6556 MB / 1.235 GB, free: 41.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/3.628, allocations: 4 kB / 1.235 GB, free: 41.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/3.628, allocations: 0 / 1.235 GB, free: 41.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/3.628, allocations: 7.938 kB / 1.235 GB, free: 41.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/3.631, allocations: 1.496 MB / 1.236 GB, free: 39.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/3.631, allocations: 320 / 1.236 GB, free: 39.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/3.631, allocations: 87.89 kB / 1.237 GB, free: 39.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00209/3.634, allocations: 224.6 kB / 1.237 GB, free: 39.24 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-05/3.634, allocations: 23.98 kB / 1.237 GB, free: 39.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004645/3.634, allocations: 0.5797 MB / 1.237 GB, free: 38.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/3.634, allocations: 0 / 1.237 GB, free: 38.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/3.635, allocations: 0.6732 MB / 1.238 GB, free: 37.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/3.636, allocations: 144.4 kB / 1.238 GB, free: 37.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/3.636, allocations: 8 kB / 1.238 GB, free: 37.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005274/3.636, allocations: 27.98 kB / 1.238 GB, free: 37.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/3.636, allocations: 35.91 kB / 1.238 GB, free: 37.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.721e-05/3.636, allocations: 31.98 kB / 1.238 GB, free: 37.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000491/3.637, allocations: 309.6 kB / 1.239 GB, free: 37.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.794e-06/3.637, allocations: 0 / 1.239 GB, free: 37.26 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002112/3.639, allocations: 459.3 kB / 1.239 GB, free: 36.81 MB / 490.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.004422/3.644, allocations: 3.111 MB / 1.242 GB, free: 33.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001245/3.645, allocations: 381.3 kB / 1.242 GB, free: 33.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/3.645, allocations: 7.938 kB / 1.242 GB, free: 33.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004377/3.645, allocations: 179.8 kB / 1.243 GB, free: 33.06 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/3.648, allocations: 285.9 kB / 1.243 GB, free: 32.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/3.658, allocations: 2.342 MB / 1.245 GB, free: 30.37 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/3.659, allocations: 0.8829 MB / 1.246 GB, free: 29.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000718/3.66, allocations: 243.3 kB / 1.246 GB, free: 29.22 MB / 490.7 MB Notification: Performance of SimCode: time 1.362e-06/3.66, allocations: 0 / 1.246 GB, free: 29.22 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.158/6.818, allocations: 21.09 MB / 1.267 GB, free: 8.133 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat