Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.619/2.619, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.185e-05/2.194e-05, allocations: 0 / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3769, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.5316, allocations: 79.05 MB / 433.5 MB, free: 48 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.5319, allocations: 63.91 kB / 433.5 MB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01746/0.5494, allocations: 3.077 MB / 436.6 MB, free: 12.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5494, allocations: 0 / 436.6 MB, free: 12.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.5495, allocations: 0 / 436.6 MB, free: 12.9 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.0005268/0.55, allocations: 359.2 kB / 437 MB, free: 12.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.5501, allocations: 8.031 kB / 437 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.5501, allocations: 8 kB / 437 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.5503, allocations: 174.8 kB / 437.2 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.5503, allocations: 4 kB / 437.2 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.5504, allocations: 8 kB / 437.2 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001492/0.5505, allocations: 39.91 kB / 437.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.5507, allocations: 57.64 kB / 437.3 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.5507, allocations: 7.984 kB / 437.3 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.5507, allocations: 0 / 437.3 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5507, allocations: 0 / 437.3 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.551, allocations: 154.1 kB / 437.4 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.5512, allocations: 70.5 kB / 437.5 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.629e-05/0.5513, allocations: 24.86 kB / 437.5 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003696/0.5517, allocations: 109.1 kB / 437.6 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.5517, allocations: 46.55 kB / 437.7 MB, free: 11.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.525e-06/0.5517, allocations: 0 / 437.7 MB, free: 11.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.2632/0.8149, allocations: 5.078 MB / 442.7 MB, free: 6.566 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.815, allocations: 51.41 kB / 442.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.8151, allocations: 89 kB / 442.9 MB, free: 6.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.8152, allocations: 33.83 kB / 442.9 MB, free: 6.371 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.8153, allocations: 80.52 kB / 443 MB, free: 6.285 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.8154, allocations: 70.91 kB / 443.1 MB, free: 6.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.8154, allocations: 0 / 443.1 MB, free: 6.215 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.8156, allocations: 314.8 kB / 443.4 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.8158, allocations: 67.97 kB / 443.4 MB, free: 5.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.816, allocations: 63.98 kB / 443.5 MB, free: 5.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/0.818, allocations: 183.7 kB / 443.7 MB, free: 5.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.818, allocations: 3.938 kB / 443.7 MB, free: 5.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002308/0.8203, allocations: 329.3 kB / 444 MB, free: 5.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.8204, allocations: 11.23 kB / 444 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.8204, allocations: 3.984 kB / 444 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.8204, allocations: 0 / 444 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008474/0.8213, allocations: 99.84 kB / 444.1 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.8213, allocations: 0 / 444.1 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/0.8217, allocations: 31.97 kB / 444.2 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/0.8218, allocations: 15.97 kB / 444.2 MB, free: 5.102 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.0001465/0.822, allocations: 112.9 kB / 444.3 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002317/0.8243, allocations: 333.9 kB / 444.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.8244, allocations: 11.86 kB / 444.6 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.8271, allocations: 398 kB / 445 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.8271, allocations: 3.938 kB / 445 MB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8272, allocations: 0 / 445 MB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.8272, allocations: 3.984 kB / 445 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004386/0.8316, allocations: 0.762 MB / 445.8 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.8316, allocations: 7.938 kB / 445.8 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006665/0.8323, allocations: 83.94 kB / 445.9 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.8323, allocations: 4 kB / 445.9 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.8324, allocations: 11.98 kB / 445.9 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.8324, allocations: 0 / 445.9 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.8324, allocations: 3.953 kB / 445.9 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.8348, allocations: 433.2 kB / 446.3 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.8349, allocations: 85.02 kB / 446.4 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.835, allocations: 7.953 kB / 446.4 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.8354, allocations: 31.97 kB / 446.4 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.8355, allocations: 11.98 kB / 446.4 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/0.8355, allocations: 19.98 kB / 446.5 MB, free: 2.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.089e-05/0.8356, allocations: 75.28 kB / 446.5 MB, free: 2.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8356, allocations: 3.938 kB / 446.5 MB, free: 2.605 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002557/0.8382, allocations: 0.6052 MB / 447.1 MB, free: 2 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.008142/0.8464, allocations: 1.316 MB / 448.5 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006207/0.847, allocations: 163.8 kB / 448.6 MB, free: 492 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.8471, allocations: 0 / 448.6 MB, free: 492 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.8473, allocations: 87.84 kB / 448.7 MB, free: 404 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.8476, allocations: 2.062 kB / 448.7 MB, free: 404 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.8505, allocations: 383.6 kB / 449.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.8509, allocations: 0.6975 MB / 449.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006152/0.8515, allocations: 81.2 kB / 449.9 MB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.8518, allocations: 55.39 kB / 449.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.8519, allocations: 0 / 449.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7141/1.566, allocations: 18.1 MB / 468 MB, free: 92 MB / 394.8 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003575/1.566, allocations: 156.9 kB / 468.2 MB, free: 91.81 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.835/4.402, allocations: 3.562 kB / 468.2 MB, free: 91.81 MB / 394.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat