Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.513e-05/2.518e-05, allocations: 4 kB / 299.6 MB, free: 188 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3552, allocations: 54.86 MB / 354.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.84/2.195, allocations: 0.6085 GB / 0.9547 GB, free: 66.32 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/2.196, allocations: 90.19 kB / 0.9548 GB, free: 66.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.375/3.571, allocations: 266.3 MB / 1.215 GB, free: 4.707 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.853e-06/3.571, allocations: 0 / 1.215 GB, free: 4.707 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.54e-05/3.571, allocations: 20 kB / 1.215 GB, free: 4.688 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.003505/3.574, allocations: 1.189 MB / 1.216 GB, free: 3.453 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/3.574, allocations: 12.03 kB / 1.216 GB, free: 3.441 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/3.576, allocations: 159 kB / 1.216 GB, free: 3.285 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/3.577, allocations: 0.5234 MB / 1.217 GB, free: 2.715 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/3.577, allocations: 12 kB / 1.217 GB, free: 2.703 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.761e-05/3.578, allocations: 24 kB / 1.217 GB, free: 2.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001077/3.579, allocations: 426.5 kB / 1.217 GB, free: 2.266 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/3.58, allocations: 0.546 MB / 1.218 GB, free: 1.668 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/3.58, allocations: 4 kB / 1.218 GB, free: 1.664 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/3.58, allocations: 3.938 kB / 1.218 GB, free: 1.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/3.58, allocations: 12 kB / 1.218 GB, free: 1.648 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.3554/3.935, allocations: 2.556 MB / 1.22 GB, free: 87.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/3.936, allocations: 218.5 kB / 1.22 GB, free: 87.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/3.937, allocations: 133.3 kB / 1.221 GB, free: 87.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004979/3.937, allocations: 319.1 kB / 1.221 GB, free: 86.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/3.937, allocations: 38.67 kB / 1.221 GB, free: 86.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 3.727e-06/3.937, allocations: 0 / 1.221 GB, free: 86.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=31): time 0.004839/3.942, allocations: 0.774 MB / 1.222 GB, free: 86.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/3.942, allocations: 161.3 kB / 1.222 GB, free: 86.53 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000724/3.943, allocations: 384.7 kB / 1.222 GB, free: 86.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/3.943, allocations: 26.8 kB / 1.222 GB, free: 86.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/3.943, allocations: 342.3 kB / 1.222 GB, free: 86.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/3.943, allocations: 102 kB / 1.223 GB, free: 86.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/3.943, allocations: 3.812 kB / 1.223 GB, free: 86.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/3.943, allocations: 358 kB / 1.223 GB, free: 85.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/3.944, allocations: 122.4 kB / 1.223 GB, free: 85.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/3.944, allocations: 340.2 kB / 1.223 GB, free: 85.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003695/3.948, allocations: 0.6053 MB / 1.224 GB, free: 85.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/3.948, allocations: 5.641 kB / 1.224 GB, free: 85.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004675/3.953, allocations: 0.9557 MB / 1.225 GB, free: 85.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/3.953, allocations: 8.844 kB / 1.225 GB, free: 85.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/3.953, allocations: 6.438 kB / 1.225 GB, free: 85.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/3.953, allocations: 52.86 kB / 1.225 GB, free: 85.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007697/3.954, allocations: 137.2 kB / 1.225 GB, free: 85.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006668/3.955, allocations: 0.6047 MB / 1.226 GB, free: 85.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/3.955, allocations: 64.2 kB / 1.226 GB, free: 85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/3.955, allocations: 56.86 kB / 1.226 GB, free: 85 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.0001652/3.956, allocations: 132.3 kB / 1.226 GB, free: 84.89 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003865/3.959, allocations: 0.7633 MB / 1.227 GB, free: 84.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/3.96, allocations: 54.75 kB / 1.227 GB, free: 84.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/3.962, allocations: 0.6102 MB / 1.227 GB, free: 84.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/3.962, allocations: 3.812 kB / 1.227 GB, free: 84.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/3.962, allocations: 0 / 1.227 GB, free: 84.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/3.962, allocations: 2.156 kB / 1.227 GB, free: 84.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/3.965, allocations: 1.112 MB / 1.228 GB, free: 84.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/3.965, allocations: 3.938 kB / 1.228 GB, free: 84.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/3.965, allocations: 48.56 kB / 1.228 GB, free: 84.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002141/3.965, allocations: 44.72 kB / 1.229 GB, free: 84.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/3.965, allocations: 12 kB / 1.229 GB, free: 84.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005925/3.966, allocations: 0.5904 MB / 1.229 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/3.966, allocations: 11.12 kB / 1.229 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/3.968, allocations: 0.6315 MB / 1.23 GB, free: 83.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/3.968, allocations: 153.1 kB / 1.23 GB, free: 83.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/3.968, allocations: 3.625 kB / 1.23 GB, free: 83.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/3.969, allocations: 17.61 kB / 1.23 GB, free: 83.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/3.969, allocations: 30.14 kB / 1.23 GB, free: 83.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/3.969, allocations: 14.75 kB / 1.23 GB, free: 83.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004568/3.969, allocations: 318.5 kB / 1.23 GB, free: 83.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/3.969, allocations: 0 / 1.23 GB, free: 83.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001787/3.971, allocations: 403.2 kB / 1.231 GB, free: 83.05 MB / 490.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.004862/3.976, allocations: 3.064 MB / 1.234 GB, free: 81.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/3.977, allocations: 330.8 kB / 1.234 GB, free: 81.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/3.977, allocations: 0 / 1.234 GB, free: 81.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003299/3.977, allocations: 117.5 kB / 1.234 GB, free: 81.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/3.98, allocations: 262.1 kB / 1.234 GB, free: 81.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/3.991, allocations: 2.582 MB / 1.237 GB, free: 81.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/3.992, allocations: 0.8822 MB / 1.238 GB, free: 80.51 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001605/3.993, allocations: 203.5 kB / 1.238 GB, free: 80.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/3.994, allocations: 217.2 kB / 1.238 GB, free: 80.49 MB / 490.7 MB Notification: Performance of SimCode: time 1.132e-06/3.994, allocations: 0 / 1.238 GB, free: 80.49 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08476/4.078, allocations: 23.87 MB / 1.261 GB, free: 79.85 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002918/4.079, allocations: 198.2 kB / 1.262 GB, free: 79.63 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.639/7.717, allocations: 0 / 1.262 GB, free: 79.63 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat