Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.571/2.571, allocations: 235 MB / 247.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.556e-05/4.574e-05, allocations: 4 kB / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4022, allocations: 54.85 MB / 359.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.789/2.191, allocations: 0.6092 GB / 0.9606 GB, free: 120.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004205/2.192, allocations: 91.5 kB / 0.9607 GB, free: 120.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.243/3.434, allocations: 269.3 MB / 1.224 GB, free: 53.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.543e-06/3.434, allocations: 4 kB / 1.224 GB, free: 53.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.136e-05/3.435, allocations: 19.92 kB / 1.224 GB, free: 53.94 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.003349/3.438, allocations: 1.2 MB / 1.225 GB, free: 52.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/3.438, allocations: 8.031 kB / 1.225 GB, free: 52.69 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/3.438, allocations: 86.52 kB / 1.225 GB, free: 52.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/3.44, allocations: 151.2 kB / 1.225 GB, free: 52.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/3.441, allocations: 0.5325 MB / 1.226 GB, free: 51.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/3.441, allocations: 33 kB / 1.226 GB, free: 51.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-05/3.441, allocations: 40 kB / 1.226 GB, free: 51.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/3.442, allocations: 0.6261 MB / 1.226 GB, free: 51.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/3.443, allocations: 0 / 1.226 GB, free: 51.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.505e-05/3.443, allocations: 24 kB / 1.226 GB, free: 51.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/3.443, allocations: 16 kB / 1.226 GB, free: 51.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/3.444, allocations: 483.7 kB / 1.227 GB, free: 50.61 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.003493/3.447, allocations: 2.575 MB / 1.229 GB, free: 47.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008221/3.448, allocations: 290.9 kB / 1.23 GB, free: 47.55 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/3.449, allocations: 156.8 kB / 1.23 GB, free: 47.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004124/3.449, allocations: 329.5 kB / 1.23 GB, free: 47.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/3.449, allocations: 39.16 kB / 1.23 GB, free: 46.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 4.158e-06/3.449, allocations: 4 kB / 1.23 GB, free: 46.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.0016/3.451, allocations: 441.4 kB / 1.231 GB, free: 46.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/3.451, allocations: 162.2 kB / 1.231 GB, free: 46.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005903/3.451, allocations: 391.8 kB / 1.231 GB, free: 45.94 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/3.451, allocations: 33.7 kB / 1.231 GB, free: 45.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/3.452, allocations: 327.2 kB / 1.231 GB, free: 45.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/3.452, allocations: 138.1 kB / 1.232 GB, free: 45.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/3.452, allocations: 8 kB / 1.232 GB, free: 45.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.813e-05/3.452, allocations: 358.8 kB / 1.232 GB, free: 45.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/3.452, allocations: 129.1 kB / 1.232 GB, free: 44.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/3.453, allocations: 358.7 kB / 1.232 GB, free: 44.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/3.453, allocations: 192 kB / 1.233 GB, free: 44.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/3.453, allocations: 4 kB / 1.233 GB, free: 44.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001291/3.454, allocations: 0.5798 MB / 1.233 GB, free: 43.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/3.454, allocations: 5.406 kB / 1.233 GB, free: 43.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/3.454, allocations: 11.98 kB / 1.233 GB, free: 43.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/3.457, allocations: 244.7 kB / 1.233 GB, free: 43.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006796/3.457, allocations: 127.8 kB / 1.234 GB, free: 43.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004771/3.458, allocations: 0.5874 MB / 1.234 GB, free: 42.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006742/3.459, allocations: 75.47 kB / 1.234 GB, free: 42.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/3.459, allocations: 55.98 kB / 1.234 GB, free: 42.59 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.000163/3.459, allocations: 140.8 kB / 1.234 GB, free: 42.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/3.459, allocations: 51.34 kB / 1.234 GB, free: 42.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/3.461, allocations: 0.6557 MB / 1.235 GB, free: 41.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/3.461, allocations: 4 kB / 1.235 GB, free: 41.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/3.461, allocations: 3.938 kB / 1.235 GB, free: 41.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/3.461, allocations: 7.938 kB / 1.235 GB, free: 41.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/3.464, allocations: 1.504 MB / 1.237 GB, free: 40.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/3.464, allocations: 8 kB / 1.237 GB, free: 40.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/3.464, allocations: 71.89 kB / 1.237 GB, free: 39.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00199/3.466, allocations: 232.6 kB / 1.237 GB, free: 39.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/3.466, allocations: 15.98 kB / 1.237 GB, free: 39.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004021/3.467, allocations: 0.5797 MB / 1.237 GB, free: 39.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/3.467, allocations: 4 kB / 1.237 GB, free: 39.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/3.468, allocations: 0.6771 MB / 1.238 GB, free: 38.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/3.468, allocations: 148.3 kB / 1.238 GB, free: 38.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/3.468, allocations: 12 kB / 1.238 GB, free: 38.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004909/3.469, allocations: 19.98 kB / 1.238 GB, free: 38.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/3.469, allocations: 47.84 kB / 1.238 GB, free: 38.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/3.469, allocations: 35.92 kB / 1.238 GB, free: 38.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004577/3.469, allocations: 305.6 kB / 1.239 GB, free: 37.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.9e-07/3.469, allocations: 0 / 1.239 GB, free: 37.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001819/3.471, allocations: 447.4 kB / 1.239 GB, free: 37.32 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.003983/3.475, allocations: 3.086 MB / 1.242 GB, free: 34.15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/3.476, allocations: 399.9 kB / 1.242 GB, free: 33.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/3.476, allocations: 0 / 1.242 GB, free: 33.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004392/3.477, allocations: 185.2 kB / 1.243 GB, free: 33.58 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/3.479, allocations: 279.6 kB / 1.243 GB, free: 33.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009893/3.489, allocations: 2.309 MB / 1.245 GB, free: 30.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/3.489, allocations: 0.883 MB / 1.246 GB, free: 30.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001325/3.491, allocations: 196.5 kB / 1.246 GB, free: 29.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006211/3.491, allocations: 231.3 kB / 1.246 GB, free: 29.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.152e-06/3.491, allocations: 0 / 1.246 GB, free: 29.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4299/3.921, allocations: 36.25 MB / 1.282 GB, free: 84.13 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/3.922, allocations: 233.7 kB / 1.282 GB, free: 83.82 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.177/8.099, allocations: 0 / 1.282 GB, free: 83.82 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat