Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.285/2.285, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.549e-05, allocations: 0 / 305 MB, free: 5.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5012/0.5013, allocations: 54.85 MB / 359.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.818/2.319, allocations: 0.6081 GB / 0.9596 GB, free: 121.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/2.319, allocations: 96.23 kB / 0.9597 GB, free: 121.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.155/3.474, allocations: 230.7 MB / 1.185 GB, free: 93.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.773e-06/3.474, allocations: 0 / 1.185 GB, free: 93.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.624e-05/3.474, allocations: 12 kB / 1.185 GB, free: 93.85 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002459/3.477, allocations: 0.9231 MB / 1.186 GB, free: 92.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/3.477, allocations: 8.031 kB / 1.186 GB, free: 92.88 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/3.477, allocations: 82.52 kB / 1.186 GB, free: 92.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/3.478, allocations: 143.1 kB / 1.186 GB, free: 92.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/3.48, allocations: 0.535 MB / 1.187 GB, free: 92.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/3.48, allocations: 29 kB / 1.187 GB, free: 92.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/3.48, allocations: 40 kB / 1.187 GB, free: 92.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/3.481, allocations: 0.5627 MB / 1.187 GB, free: 91.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/3.481, allocations: 4 kB / 1.187 GB, free: 91.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.643e-05/3.481, allocations: 20 kB / 1.187 GB, free: 91.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/3.481, allocations: 8 kB / 1.187 GB, free: 91.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/3.482, allocations: 449.2 kB / 1.188 GB, free: 90.95 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.003587/3.486, allocations: 2.608 MB / 1.19 GB, free: 88.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008466/3.487, allocations: 294 kB / 1.191 GB, free: 87.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/3.487, allocations: 157.3 kB / 1.191 GB, free: 87.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004456/3.488, allocations: 328.7 kB / 1.191 GB, free: 87.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/3.488, allocations: 42.84 kB / 1.191 GB, free: 87.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.316e-06/3.488, allocations: 0 / 1.191 GB, free: 87.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.001428/3.489, allocations: 424.3 kB / 1.191 GB, free: 86.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.149e-05/3.489, allocations: 132.5 kB / 1.192 GB, free: 86.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006588/3.49, allocations: 391 kB / 1.192 GB, free: 86.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.272e-05/3.49, allocations: 33.7 kB / 1.192 GB, free: 86.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/3.49, allocations: 336.9 kB / 1.192 GB, free: 85.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/3.49, allocations: 117.3 kB / 1.192 GB, free: 85.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/3.49, allocations: 19.94 kB / 1.192 GB, free: 85.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.136e-05/3.491, allocations: 334.8 kB / 1.193 GB, free: 85.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/3.491, allocations: 169 kB / 1.193 GB, free: 85.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004972/3.491, allocations: 330.3 kB / 1.193 GB, free: 84.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005247/3.492, allocations: 213.5 kB / 1.193 GB, free: 84.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/3.492, allocations: 4 kB / 1.193 GB, free: 84.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001493/3.494, allocations: 0.5924 MB / 1.194 GB, free: 84.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/3.494, allocations: 4 kB / 1.194 GB, free: 84.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/3.494, allocations: 8.656 kB / 1.194 GB, free: 84.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002253/3.496, allocations: 236.6 kB / 1.194 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/3.497, allocations: 155.8 kB / 1.194 GB, free: 83.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008839/3.506, allocations: 28.66 MB / 1.222 GB, free: 53.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008568/3.507, allocations: 67.5 kB / 1.222 GB, free: 53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/3.507, allocations: 51.98 kB / 1.222 GB, free: 52.95 MB / 490.7 MB 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.0001902/3.507, allocations: 140.9 kB / 1.223 GB, free: 52.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/3.507, allocations: 55.42 kB / 1.223 GB, free: 52.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/3.509, allocations: 0.6357 MB / 1.223 GB, free: 52.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/3.509, allocations: 4 kB / 1.223 GB, free: 52.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/3.509, allocations: 0 / 1.223 GB, free: 52.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/3.509, allocations: 4 kB / 1.223 GB, free: 52.08 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/3.512, allocations: 1.124 MB / 1.224 GB, free: 50.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/3.512, allocations: 0 / 1.224 GB, free: 50.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/3.512, allocations: 67.89 kB / 1.224 GB, free: 50.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002095/3.514, allocations: 228.8 kB / 1.225 GB, free: 50.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.911e-05/3.515, allocations: 11.98 kB / 1.225 GB, free: 50.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004729/3.515, allocations: 0.5952 MB / 1.225 GB, free: 49.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/3.515, allocations: 0 / 1.225 GB, free: 49.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/3.516, allocations: 0.5568 MB / 1.226 GB, free: 49.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/3.516, allocations: 156.2 kB / 1.226 GB, free: 49.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/3.516, allocations: 8 kB / 1.226 GB, free: 49.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005509/3.517, allocations: 39.91 kB / 1.226 GB, free: 49.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/3.517, allocations: 31.91 kB / 1.226 GB, free: 49.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/3.517, allocations: 12 kB / 1.226 GB, free: 49.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005438/3.518, allocations: 325.6 kB / 1.226 GB, free: 48.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.563e-06/3.518, allocations: 0 / 1.226 GB, free: 48.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002642/3.52, allocations: 425.3 kB / 1.227 GB, free: 48.3 MB / 490.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 (28): * Single equations (assignments): 27 * 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.004056/3.524, allocations: 2.663 MB / 1.229 GB, free: 45.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001292/3.526, allocations: 391.5 kB / 1.23 GB, free: 45.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/3.526, allocations: 0 / 1.23 GB, free: 45.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000391/3.526, allocations: 135.8 kB / 1.23 GB, free: 45.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/3.528, allocations: 235.9 kB / 1.23 GB, free: 44.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/3.541, allocations: 2.401 MB / 1.232 GB, free: 42.67 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/3.542, allocations: 0.8744 MB / 1.233 GB, free: 41.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006304/3.543, allocations: 235.3 kB / 1.234 GB, free: 41.54 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/3.543, allocations: 0 / 1.234 GB, free: 41.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.441/6.984, allocations: 30.27 MB / 1.263 GB, free: 11.25 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat