Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.114/2.114, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.85e-05/2.853e-05, allocations: 0 / 267.6 MB, free: 5.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 48.69 MB / 316.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.05/2.167, allocations: 0.6009 GB / 0.9098 GB, free: 59.92 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/2.168, allocations: 93.06 kB / 0.9099 GB, free: 59.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.205/3.373, allocations: 227.9 MB / 1.132 GB, free: 3.871 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.274e-06/3.373, allocations: 4 kB / 1.132 GB, free: 3.867 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.054e-05/3.373, allocations: 15.98 kB / 1.133 GB, free: 3.852 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002944/3.376, allocations: 0.9163 MB / 1.133 GB, free: 2.891 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/3.376, allocations: 12.03 kB / 1.133 GB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/3.377, allocations: 143.2 kB / 1.134 GB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/3.379, allocations: 0.539 MB / 1.134 GB, free: 2.156 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/3.379, allocations: 12 kB / 1.134 GB, free: 2.145 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.671e-05/3.379, allocations: 24 kB / 1.134 GB, free: 2.121 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009902/3.38, allocations: 398.5 kB / 1.134 GB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/3.381, allocations: 497.3 kB / 1.135 GB, free: 1.207 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/3.381, allocations: 7.938 kB / 1.135 GB, free: 1.199 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.892e-05/3.382, allocations: 0 / 1.135 GB, free: 1.199 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/3.382, allocations: 12 kB / 1.135 GB, free: 1.188 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.3477/3.729, allocations: 2.565 MB / 1.137 GB, free: 68.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005725/3.73, allocations: 233.8 kB / 1.138 GB, free: 68.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/3.73, allocations: 133.2 kB / 1.138 GB, free: 68.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000465/3.731, allocations: 319.2 kB / 1.138 GB, free: 67.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/3.731, allocations: 40.59 kB / 1.138 GB, free: 67.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.707e-06/3.731, allocations: 0 / 1.138 GB, free: 67.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.004489/3.735, allocations: 0.7644 MB / 1.139 GB, free: 67.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/3.735, allocations: 135.5 kB / 1.139 GB, free: 67.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007838/3.736, allocations: 390.6 kB / 1.139 GB, free: 67.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/3.736, allocations: 25.7 kB / 1.139 GB, free: 67.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/3.736, allocations: 344.8 kB / 1.14 GB, free: 67.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/3.737, allocations: 104.6 kB / 1.14 GB, free: 67.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/3.737, allocations: 2.688 kB / 1.14 GB, free: 67.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.178e-05/3.737, allocations: 337.2 kB / 1.14 GB, free: 67.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/3.737, allocations: 153 kB / 1.14 GB, free: 67.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004986/3.738, allocations: 327.4 kB / 1.141 GB, free: 66.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00385/3.742, allocations: 0.6374 MB / 1.141 GB, free: 66.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/3.742, allocations: 1.375 kB / 1.141 GB, free: 66.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.004782/3.746, allocations: 0.9891 MB / 1.142 GB, free: 66.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/3.746, allocations: 9.422 kB / 1.142 GB, free: 66.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/3.746, allocations: 3.875 kB / 1.142 GB, free: 66.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003162/3.747, allocations: 54.83 kB / 1.142 GB, free: 66.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/3.748, allocations: 159.8 kB / 1.142 GB, free: 66.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008647/3.756, allocations: 28.21 MB / 1.17 GB, free: 37.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009004/3.757, allocations: 61.56 kB / 1.17 GB, free: 37.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/3.758, allocations: 54.41 kB / 1.17 GB, free: 37.8 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.venaLength:VARIABLE(unit = "m" ) = fitting1.geometry.venaLength "Length of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.venaPerimeter:VARIABLE(unit = "m" ) = fitting1.geometry.venaPerimeter "Perimeter of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.venaCrossArea:VARIABLE(unit = "m2" ) = fitting1.geometry.venaCrossArea "Cross sectional area of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.perimeter:VARIABLE(unit = "m" ) = fitting1.geometry.perimeter "Inner perimeter" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.geometry.crossArea:VARIABLE(unit = "m2" ) = fitting1.geometry.crossArea "Inner cross sectional area" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.venaLength:VARIABLE(unit = "m" ) = fitting2.geometry.venaLength "Length of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.venaPerimeter:VARIABLE(unit = "m" ) = fitting2.geometry.venaPerimeter "Perimeter of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.venaCrossArea:VARIABLE(unit = "m2" ) = fitting2.geometry.venaCrossArea "Cross sectional area of vena contraction" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.perimeter:VARIABLE(unit = "m" ) = fitting2.geometry.perimeter "Inner perimeter" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.geometry.crossArea:VARIABLE(unit = "m2" ) = fitting2.geometry.crossArea "Inner cross sectional area" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.0003483/3.758, allocations: 163.4 kB / 1.17 GB, free: 37.69 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004015/3.762, allocations: 0.7713 MB / 1.171 GB, free: 37.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/3.762, allocations: 48.08 kB / 1.171 GB, free: 37.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/3.765, allocations: 0.6062 MB / 1.172 GB, free: 37.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/3.765, allocations: 3.281 kB / 1.172 GB, free: 37.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/3.765, allocations: 3.953 kB / 1.172 GB, free: 37.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/3.765, allocations: 4.562 kB / 1.172 GB, free: 37.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/3.768, allocations: 1.078 MB / 1.173 GB, free: 36.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/3.768, allocations: 5.922 kB / 1.173 GB, free: 36.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/3.768, allocations: 57.64 kB / 1.173 GB, free: 36.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002352/3.768, allocations: 48.02 kB / 1.173 GB, free: 36.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/3.768, allocations: 10.52 kB / 1.173 GB, free: 36.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006187/3.769, allocations: 0.606 MB / 1.173 GB, free: 36.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/3.769, allocations: 5.141 kB / 1.173 GB, free: 36.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/3.771, allocations: 0.6071 MB / 1.174 GB, free: 36.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/3.771, allocations: 155 kB / 1.174 GB, free: 35.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/3.771, allocations: 8.391 kB / 1.174 GB, free: 35.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005128/3.772, allocations: 24.38 kB / 1.174 GB, free: 35.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/3.772, allocations: 34.03 kB / 1.174 GB, free: 35.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/3.772, allocations: 12.91 kB / 1.174 GB, free: 35.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005412/3.772, allocations: 309.7 kB / 1.175 GB, free: 35.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.01e-07/3.772, allocations: 0 / 1.175 GB, free: 35.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002475/3.775, allocations: 382.3 kB / 1.175 GB, free: 35.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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.005284/3.78, allocations: 2.852 MB / 1.178 GB, free: 34.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/3.781, allocations: 351.2 kB / 1.178 GB, free: 34.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/3.782, allocations: 3.281 kB / 1.178 GB, free: 34.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003827/3.782, allocations: 113.6 kB / 1.178 GB, free: 34.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/3.784, allocations: 222.6 kB / 1.178 GB, free: 34.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/3.795, allocations: 2.469 MB / 1.181 GB, free: 34.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/3.796, allocations: 0.8636 MB / 1.182 GB, free: 33.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007288/3.796, allocations: 236.5 kB / 1.182 GB, free: 33.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.393e-06/3.796, allocations: 0 / 1.182 GB, free: 33.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.546/7.342, allocations: 30.21 MB / 1.211 GB, free: 32.54 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat