Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.512/2.512, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.646e-05/4.655e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4184, allocations: 54.85 MB / 359.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.5726, allocations: 79.46 MB / 439.3 MB, free: 1.367 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.5729, allocations: 63.97 kB / 439.4 MB, free: 1.305 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008318/0.5813, allocations: 1.779 MB / 441.2 MB, free: 15.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5813, allocations: 0 / 441.2 MB, free: 15.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.5813, allocations: 0 / 441.2 MB, free: 15.54 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.000425/0.5818, allocations: 366.3 kB / 441.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.5818, allocations: 12.03 kB / 441.5 MB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.5819, allocations: 30.56 kB / 441.6 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.5819, allocations: 7.906 kB / 441.6 MB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.5821, allocations: 164.5 kB / 441.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.5821, allocations: 8 kB / 441.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.5822, allocations: 8 kB / 441.8 MB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.5823, allocations: 57.58 kB / 441.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.5824, allocations: 0 / 441.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.5824, allocations: 0 / 441.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.5824, allocations: 0 / 441.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.5825, allocations: 28.83 kB / 441.8 MB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.5827, allocations: 176.7 kB / 442 MB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.5831, allocations: 58.59 kB / 442.1 MB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/0.5832, allocations: 24.86 kB / 442.1 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003302/0.5835, allocations: 109.1 kB / 442.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.5835, allocations: 34.56 kB / 442.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.5836, allocations: 0 / 442.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.07112/0.6547, allocations: 2.055 MB / 444.3 MB, free: 12.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.6548, allocations: 55.41 kB / 444.4 MB, free: 12.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.6549, allocations: 97.55 kB / 444.4 MB, free: 12.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.263e-05/0.655, allocations: 29.7 kB / 444.5 MB, free: 12.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.6551, allocations: 84.14 kB / 444.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.6552, allocations: 59.11 kB / 444.6 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.6552, allocations: 4 kB / 444.6 MB, free: 11.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6554, allocations: 318.8 kB / 444.9 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.6558, allocations: 144 kB / 445.1 MB, free: 11.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.6562, allocations: 141.1 kB / 445.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005928/0.6568, allocations: 170.5 kB / 445.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.6568, allocations: 7.891 kB / 445.4 MB, free: 11.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00123/0.658, allocations: 386.4 kB / 445.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.6581, allocations: 7.953 kB / 445.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.6581, allocations: 0 / 445.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.6581, allocations: 4 kB / 445.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007766/0.6589, allocations: 71.94 kB / 445.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.659, allocations: 12.64 kB / 445.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004051/0.6594, allocations: 23.98 kB / 445.9 MB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.888e-05/0.6595, allocations: 15.98 kB / 445.9 MB, free: 10.58 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.0001576/0.6596, allocations: 109 kB / 446 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.6597, allocations: 11.89 kB / 446 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.6615, allocations: 484.5 kB / 446.5 MB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.6615, allocations: 8 kB / 446.5 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.6616, allocations: 3.953 kB / 446.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6616, allocations: 0 / 446.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/0.6651, allocations: 0.8518 MB / 447.3 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.6651, allocations: 4 kB / 447.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006192/0.6658, allocations: 76.08 kB / 447.4 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-05/0.6658, allocations: 4 kB / 447.4 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-05/0.6659, allocations: 15.98 kB / 447.4 MB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.6659, allocations: 4 kB / 447.4 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6659, allocations: 0 / 447.4 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.6671, allocations: 473.7 kB / 447.9 MB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.6672, allocations: 89.19 kB / 448 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.6672, allocations: 4 kB / 448 MB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004092/0.6677, allocations: 31.92 kB / 448 MB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.6677, allocations: 19.92 kB / 448.1 MB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.485e-05/0.6678, allocations: 17.17 kB / 448.1 MB, free: 8.227 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.679e-05/0.6679, allocations: 83.28 kB / 448.2 MB, free: 8.145 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.895e-06/0.6679, allocations: 0 / 448.2 MB, free: 8.145 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001534/0.6694, allocations: 355.5 kB / 448.5 MB, free: 7.797 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.003755/0.6732, allocations: 1.566 MB / 450.1 MB, free: 6.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009182/0.6742, allocations: 267.9 kB / 450.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.6742, allocations: 0 / 450.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.6746, allocations: 119.8 kB / 450.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.6749, allocations: 9.922 kB / 450.5 MB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.6778, allocations: 495 kB / 450.9 MB, free: 5.246 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.6782, allocations: 0.7006 MB / 451.6 MB, free: 4.516 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006276/0.6788, allocations: 96 kB / 451.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/0.6792, allocations: 59.39 kB / 451.8 MB, free: 4.363 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6792, allocations: 0 / 451.8 MB, free: 4.363 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04452/0.7237, allocations: 8.826 MB / 460.6 MB, free: 11.61 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003044/0.7241, allocations: 168.5 kB / 460.8 MB, free: 11.38 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/3.098, allocations: 0 / 460.8 MB, free: 11.38 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat does not exist to compare? outputFormat=mat