Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.471/2.471, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.45e-05, allocations: 0 / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4263, allocations: 54.85 MB / 359.9 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.6017, allocations: 79.46 MB / 439.3 MB, free: 1.539 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.602, allocations: 67.95 kB / 439.4 MB, free: 1.473 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00851/0.6105, allocations: 1.768 MB / 441.1 MB, free: 15.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6106, allocations: 0 / 441.1 MB, free: 15.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.6106, allocations: 4 kB / 441.1 MB, free: 15.71 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.0004481/0.611, allocations: 354.4 kB / 441.5 MB, free: 15.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.6111, allocations: 8.031 kB / 441.5 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.383e-05/0.6112, allocations: 43.55 kB / 441.5 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.6112, allocations: 3.906 kB / 441.5 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.6114, allocations: 163.1 kB / 441.7 MB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.6114, allocations: 7.938 kB / 441.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.6114, allocations: 4 kB / 441.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.6116, allocations: 53.64 kB / 441.8 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.6116, allocations: 4 kB / 441.8 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.6116, allocations: 0 / 441.8 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.6117, allocations: 0.875 kB / 441.8 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.508e-05/0.6118, allocations: 23.98 kB / 441.8 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.612, allocations: 185.5 kB / 442 MB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.6123, allocations: 57.77 kB / 442 MB, free: 14.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.351e-05/0.6124, allocations: 27.48 kB / 442.1 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003773/0.6128, allocations: 113.1 kB / 442.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.6128, allocations: 38.55 kB / 442.2 MB, free: 14.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/0.6128, allocations: 0 / 442.2 MB, free: 14.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.07054/0.6834, allocations: 2.057 MB / 444.3 MB, free: 12.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.6835, allocations: 55.34 kB / 444.3 MB, free: 12.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.6836, allocations: 94.56 kB / 444.4 MB, free: 12.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.6837, allocations: 29.7 kB / 444.4 MB, free: 12.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.6838, allocations: 150.6 kB / 444.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.6839, allocations: 63.09 kB / 444.7 MB, free: 11.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.684, allocations: 4 kB / 444.7 MB, free: 11.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.6842, allocations: 322.8 kB / 445 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.6846, allocations: 140 kB / 445.1 MB, free: 11.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.685, allocations: 141.2 kB / 445.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006051/0.6856, allocations: 166.5 kB / 445.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.6857, allocations: 3.953 kB / 445.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001232/0.6869, allocations: 385.4 kB / 445.8 MB, free: 10.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.687, allocations: 7.953 kB / 445.8 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.687, allocations: 4 kB / 445.8 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.687, allocations: 0 / 445.8 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007559/0.6878, allocations: 83.88 kB / 445.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.6878, allocations: 6.031 kB / 445.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/0.6882, allocations: 23.97 kB / 445.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/0.6883, allocations: 20 kB / 445.9 MB, free: 10.69 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.0001642/0.6885, allocations: 109 kB / 446 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.818e-05/0.6886, allocations: 11.89 kB / 446.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.6903, allocations: 475.3 kB / 446.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.6903, allocations: 4 kB / 446.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.6903, allocations: 3.953 kB / 446.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.6903, allocations: 3.984 kB / 446.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/0.6936, allocations: 0.8558 MB / 447.4 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.6937, allocations: 4 kB / 447.4 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.6942, allocations: 67.95 kB / 447.5 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.6943, allocations: 4 kB / 447.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.105e-05/0.6943, allocations: 16.8 kB / 447.5 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.6944, allocations: 12.12 kB / 447.5 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.6944, allocations: 4 kB / 447.5 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.6954, allocations: 469.7 kB / 447.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.6955, allocations: 81.3 kB / 448 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.6956, allocations: 8 kB / 448 MB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.6959, allocations: 28.42 kB / 448.1 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.696, allocations: 23.91 kB / 448.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/0.6961, allocations: 12 kB / 448.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.936e-05/0.6961, allocations: 81.84 kB / 448.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6961, allocations: 0 / 448.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001427/0.6976, allocations: 355.6 kB / 448.5 MB, free: 7.918 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.003735/0.7013, allocations: 1.569 MB / 450.1 MB, free: 6.281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009227/0.7023, allocations: 267.9 kB / 450.4 MB, free: 6.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.7023, allocations: 4 kB / 450.4 MB, free: 6.016 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.7027, allocations: 119.8 kB / 450.5 MB, free: 5.898 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.703, allocations: 12.89 kB / 450.5 MB, free: 5.887 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.706, allocations: 0.5064 MB / 451 MB, free: 5.324 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.7064, allocations: 0.6929 MB / 451.7 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.7068, allocations: 67.39 kB / 451.8 MB, free: 4.535 MB / 378.7 MB Notification: Performance of SimCode: time 1.773e-06/0.7068, allocations: 0 / 451.8 MB, free: 4.535 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.447/3.154, allocations: 7.756 MB / 459.5 MB, free: 12.84 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat does not exist to compare? outputFormat=mat