Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.592/2.592, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.415e-05/2.424e-05, allocations: 0 / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3793, allocations: 54.85 MB / 354.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.5292, allocations: 78.94 MB / 433.4 MB, free: 244 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.5295, allocations: 63.95 kB / 433.4 MB, free: 180 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01619/0.5458, allocations: 2.941 MB / 436.4 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5458, allocations: 0 / 436.4 MB, free: 13.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.5458, allocations: 0 / 436.4 MB, free: 13.23 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004556/0.5463, allocations: 375 kB / 436.7 MB, free: 12.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.5464, allocations: 11.97 kB / 436.8 MB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.5464, allocations: 4 kB / 436.8 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.5466, allocations: 163 kB / 436.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.5466, allocations: 4 kB / 436.9 MB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.5467, allocations: 7.922 kB / 436.9 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001226/0.5468, allocations: 23.94 kB / 437 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.5469, allocations: 49.64 kB / 437 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.547, allocations: 4 kB / 437 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.547, allocations: 0 / 437 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.547, allocations: 4 kB / 437 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.5472, allocations: 150.2 kB / 437.2 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.5475, allocations: 50.56 kB / 437.2 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.711e-05/0.5476, allocations: 25.08 kB / 437.2 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003734/0.548, allocations: 109.1 kB / 437.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.548, allocations: 38.56 kB / 437.4 MB, free: 12.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.934e-06/0.5481, allocations: 0 / 437.4 MB, free: 12.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.27/0.8181, allocations: 5.319 MB / 442.7 MB, free: 6.711 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.8182, allocations: 51.41 kB / 442.7 MB, free: 6.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.8183, allocations: 100.9 kB / 442.8 MB, free: 6.543 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/0.8183, allocations: 25.7 kB / 442.9 MB, free: 6.512 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.8184, allocations: 84.14 kB / 443 MB, free: 6.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.8185, allocations: 59.02 kB / 443 MB, free: 6.367 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.8186, allocations: 4 kB / 443 MB, free: 6.363 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.8188, allocations: 322.8 kB / 443.3 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004495/0.8192, allocations: 168 kB / 443.5 MB, free: 5.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.8197, allocations: 164 kB / 443.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/0.8216, allocations: 267.7 kB / 443.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8217, allocations: 0 / 443.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00279/0.8245, allocations: 0.5188 MB / 444.4 MB, free: 4.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.8245, allocations: 7.438 kB / 444.4 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.8246, allocations: 3.938 kB / 444.4 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.8246, allocations: 0 / 444.4 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.8256, allocations: 99.86 kB / 444.5 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.8256, allocations: 0 / 444.5 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000641/0.8263, allocations: 24.16 kB / 444.6 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.69e-05/0.8264, allocations: 19.97 kB / 444.6 MB, free: 4.781 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 (19): * Single equations (assignments): 19 * 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.0001748/0.8266, allocations: 116.9 kB / 444.7 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002772/0.8294, allocations: 0.5148 MB / 445.2 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.8295, allocations: 11.89 kB / 445.2 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003197/0.8327, allocations: 0.6034 MB / 445.8 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.8327, allocations: 0 / 445.8 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.8327, allocations: 4 kB / 445.8 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.8327, allocations: 3.984 kB / 445.8 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005371/0.8381, allocations: 0.9921 MB / 446.8 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.8382, allocations: 4 kB / 446.8 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008325/0.839, allocations: 88.34 kB / 446.9 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.839, allocations: 3.984 kB / 446.9 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/0.8391, allocations: 23.97 kB / 446.9 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.938e-06/0.8391, allocations: 7.938 kB / 447 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.8391, allocations: 0 / 447 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.8417, allocations: 0.5719 MB / 447.5 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.8417, allocations: 85.02 kB / 447.6 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.8418, allocations: 11.94 kB / 447.6 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005829/0.8424, allocations: 19.98 kB / 447.6 MB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.8425, allocations: 19.92 kB / 447.7 MB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.057e-05/0.8426, allocations: 23.97 kB / 447.7 MB, free: 1.508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.321e-05/0.8427, allocations: 79.28 kB / 447.8 MB, free: 1.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8427, allocations: 0 / 447.8 MB, free: 1.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002567/0.8452, allocations: 0.6247 MB / 448.4 MB, free: 0.8047 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.008214/0.8535, allocations: 1.753 MB / 450.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.8545, allocations: 319.8 kB / 450.5 MB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8545, allocations: 0 / 450.5 MB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.855, allocations: 135.8 kB / 450.6 MB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.8552, allocations: 4 kB / 450.6 MB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.8596, allocations: 0.5183 MB / 451.1 MB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.86, allocations: 0.7004 MB / 451.8 MB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007676/0.8608, allocations: 100.9 kB / 451.9 MB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/0.8613, allocations: 79.28 kB / 452 MB, free: 13.05 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.8613, allocations: 0 / 452 MB, free: 13.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7214/1.583, allocations: 19.45 MB / 471.4 MB, free: 92.09 MB / 394.8 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002358/1.583, allocations: 162 kB / 471.6 MB, free: 91.89 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.832/4.416, allocations: 0 / 471.6 MB, free: 91.89 MB / 394.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat