Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.128/2.128, allocations: 209.4 MB / 216.5 MB, free: 6.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.269e-05/2.289e-05, allocations: 0 / 267.6 MB, free: 4.977 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 48.7 MB / 316.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4682/0.5765, allocations: 72.89 MB / 389.2 MB, free: 3.535 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003659/0.577, allocations: 70.39 kB / 389.3 MB, free: 3.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02287/0.5999, allocations: 3.07 MB / 392.3 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5999, allocations: 0 / 392.3 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.5999, allocations: 0 / 392.3 MB, free: 0.9688 MB / 314.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.0006229/0.6006, allocations: 354 kB / 392.7 MB, free: 0.582 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.762e-05/0.6007, allocations: 16.03 kB / 392.7 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.76e-05/0.6008, allocations: 3.906 kB / 392.7 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.601, allocations: 174.9 kB / 392.9 MB, free: 360 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.601, allocations: 0 / 392.9 MB, free: 360 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/0.6011, allocations: 12.06 kB / 392.9 MB, free: 352 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001976/0.6013, allocations: 39.28 kB / 392.9 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.6015, allocations: 63.28 kB / 393 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.6016, allocations: 0 / 393 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.6016, allocations: 0 / 393 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.6016, allocations: 0 / 393 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.6019, allocations: 156.2 kB / 393.1 MB, free: 64 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.6022, allocations: 81.48 kB / 393.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.564e-05/0.6023, allocations: 24.53 kB / 393.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005113/0.6029, allocations: 117 kB / 393.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.6029, allocations: 34.56 kB / 393.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 4.499e-06/0.603, allocations: 0 / 393.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.2972/0.9002, allocations: 5.08 MB / 398.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.9003, allocations: 51.41 kB / 398.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.9004, allocations: 100 kB / 398.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.9005, allocations: 25.7 kB / 398.7 MB, free: 10.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.9005, allocations: 80.52 kB / 398.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.779e-05/0.9006, allocations: 65.55 kB / 398.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.9006, allocations: 0 / 398.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.9008, allocations: 325.7 kB / 399.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.901, allocations: 57.8 kB / 399.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.9012, allocations: 70.92 kB / 399.2 MB, free: 10 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.9028, allocations: 179.6 kB / 399.4 MB, free: 9.844 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.9028, allocations: 8 kB / 399.4 MB, free: 9.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002002/0.9048, allocations: 328.7 kB / 399.7 MB, free: 9.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.9049, allocations: 4 kB / 399.7 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.9049, allocations: 0 / 399.7 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.9049, allocations: 4 kB / 399.8 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007309/0.9057, allocations: 95.48 kB / 399.8 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.9057, allocations: 3.984 kB / 399.9 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.9061, allocations: 35.92 kB / 399.9 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.9062, allocations: 15.98 kB / 399.9 MB, free: 9.398 MB / 330.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.0001292/0.9063, allocations: 108.9 kB / 400 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001999/0.9083, allocations: 327.8 kB / 400.3 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.9084, allocations: 11.89 kB / 400.3 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/0.9107, allocations: 402.4 kB / 400.7 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.9108, allocations: 7.891 kB / 400.7 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.9108, allocations: 0 / 400.7 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.9108, allocations: 4 kB / 400.7 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/0.9146, allocations: 0.7692 MB / 401.5 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.9146, allocations: 3.938 kB / 401.5 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005811/0.9152, allocations: 87.98 kB / 401.6 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.9153, allocations: 0 / 401.6 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.9153, allocations: 15.92 kB / 401.6 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.9153, allocations: 0 / 401.6 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.9153, allocations: 4 kB / 401.6 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.9173, allocations: 427.1 kB / 402 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.9173, allocations: 85 kB / 402.1 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.9174, allocations: 4 kB / 402.1 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.9178, allocations: 39.91 kB / 402.2 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.9178, allocations: 14.69 kB / 402.2 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.9179, allocations: 15.98 kB / 402.2 MB, free: 7.164 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.508e-05/0.918, allocations: 82.72 kB / 402.3 MB, free: 7.086 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.918, allocations: 0 / 402.3 MB, free: 7.086 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002364/0.9203, allocations: 0.6012 MB / 402.9 MB, free: 6.484 MB / 330.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.00718/0.9275, allocations: 1.306 MB / 404.2 MB, free: 5.172 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005235/0.9281, allocations: 162 kB / 404.3 MB, free: 5.051 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9281, allocations: 0 / 404.3 MB, free: 5.051 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.9284, allocations: 87.34 kB / 404.4 MB, free: 4.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.9286, allocations: 0 / 404.4 MB, free: 4.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.931, allocations: 375.8 kB / 404.8 MB, free: 4.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.9313, allocations: 0.7014 MB / 405.5 MB, free: 3.859 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005384/0.9318, allocations: 81.2 kB / 405.6 MB, free: 3.781 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.9321, allocations: 52.89 kB / 405.6 MB, free: 3.738 MB / 330.7 MB Notification: Performance of SimCode: time 9.11e-07/0.9321, allocations: 0 / 405.6 MB, free: 3.738 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09082/1.023, allocations: 18.11 MB / 423.7 MB, free: 1.621 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/1.023, allocations: 161.7 kB / 423.9 MB, free: 1.422 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.673/3.696, allocations: 0 / 423.9 MB, free: 1.422 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat