Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.453/2.453, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.956e-05/3.975e-05, allocations: 4 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4103, allocations: 54.85 MB / 359.9 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1535/0.5638, allocations: 79.72 MB / 439.6 MB, free: 1.176 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.5642, allocations: 65.14 kB / 439.6 MB, free: 1.113 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02161/0.5858, allocations: 3.088 MB / 442.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5859, allocations: 4 kB / 442.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.5859, allocations: 0 / 442.7 MB, free: 14.04 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005141/0.5864, allocations: 354.4 kB / 443.1 MB, free: 13.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.5865, allocations: 8.031 kB / 443.1 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.608e-05/0.5865, allocations: 42.55 kB / 443.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.5866, allocations: 4.719 kB / 443.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.5868, allocations: 171 kB / 443.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.5868, allocations: 4 kB / 443.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.5868, allocations: 8 kB / 443.3 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.587, allocations: 69.62 kB / 443.4 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.5871, allocations: 0 / 443.4 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.5871, allocations: 4 kB / 443.4 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.5871, allocations: 4 kB / 443.4 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.5872, allocations: 39.97 kB / 443.4 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.5875, allocations: 175.2 kB / 443.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.5877, allocations: 86.48 kB / 443.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.017e-05/0.5878, allocations: 28.86 kB / 443.7 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003842/0.5882, allocations: 109.1 kB / 443.8 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.5883, allocations: 34.56 kB / 443.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 4.569e-06/0.5883, allocations: 4 kB / 443.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.2789/0.8672, allocations: 4.968 MB / 448.8 MB, free: 7.738 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.8673, allocations: 55.39 kB / 448.9 MB, free: 7.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.8674, allocations: 89 kB / 449 MB, free: 7.578 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.8675, allocations: 29.7 kB / 449 MB, free: 7.543 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.8676, allocations: 151.1 kB / 449.1 MB, free: 7.391 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.8677, allocations: 74.91 kB / 449.2 MB, free: 7.316 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.8677, allocations: 8 kB / 449.2 MB, free: 7.309 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.8679, allocations: 318.8 kB / 449.5 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.8681, allocations: 67.98 kB / 449.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.8684, allocations: 63.98 kB / 449.7 MB, free: 6.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009543/0.8693, allocations: 111.8 kB / 449.8 MB, free: 6.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.8694, allocations: 3.953 kB / 449.8 MB, free: 6.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00136/0.8707, allocations: 263.8 kB / 450 MB, free: 6.484 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.8708, allocations: 8 kB / 450 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.8708, allocations: 7.984 kB / 450 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.8708, allocations: 0 / 450 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007479/0.8716, allocations: 83.92 kB / 450.1 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.8716, allocations: 4 kB / 450.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.872, allocations: 35.97 kB / 450.2 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/0.8721, allocations: 23.97 kB / 450.2 MB, free: 6.324 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.8723, allocations: 112.9 kB / 450.3 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.8723, allocations: 11.86 kB / 450.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.8741, allocations: 343.6 kB / 450.6 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.8742, allocations: 4 kB / 450.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.8742, allocations: 0 / 450.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.8742, allocations: 3.938 kB / 450.6 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/0.8775, allocations: 0.7325 MB / 451.4 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.8776, allocations: 0 / 451.4 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006032/0.8782, allocations: 94.42 kB / 451.5 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.8782, allocations: 0 / 451.5 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/0.8783, allocations: 15.98 kB / 451.5 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.587e-06/0.8783, allocations: 3.953 kB / 451.5 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8783, allocations: 4 kB / 451.5 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.8796, allocations: 365.1 kB / 451.9 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.8798, allocations: 88.97 kB / 451.9 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.8798, allocations: 8 kB / 451.9 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.8802, allocations: 35.97 kB / 452 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.8803, allocations: 19.95 kB / 452 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.8803, allocations: 12 kB / 452 MB, free: 4.367 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.576e-05/0.8804, allocations: 75.28 kB / 452.1 MB, free: 4.293 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.8804, allocations: 4 kB / 452.1 MB, free: 4.289 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002445/0.8829, allocations: 0.609 MB / 452.7 MB, free: 3.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006233/0.8891, allocations: 1.257 MB / 454 MB, free: 2.383 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.8898, allocations: 167.8 kB / 454.1 MB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.8899, allocations: 4 kB / 454.1 MB, free: 2.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.8901, allocations: 91.84 kB / 454.2 MB, free: 2.125 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.8904, allocations: 4 kB / 454.2 MB, free: 2.121 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.893, allocations: 424.1 kB / 454.6 MB, free: 1.656 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.8934, allocations: 0.7056 MB / 455.3 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.8937, allocations: 59.39 kB / 455.4 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of SimCode: time 1.303e-06/0.8937, allocations: 0 / 455.4 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.078/3.971, allocations: 15.2 MB / 470.6 MB, free: 1.691 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat