Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.494/2.494, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.338e-05/2.351e-05, allocations: 0 / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3691, allocations: 54.86 MB / 354.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.5221, allocations: 78.78 MB / 433.2 MB, free: 404 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.5225, allocations: 63.97 kB / 433.3 MB, free: 340 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009228/0.5317, allocations: 1.779 MB / 435.1 MB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5318, allocations: 0 / 435.1 MB, free: 14.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.5318, allocations: 0 / 435.1 MB, free: 14.55 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.0005112/0.5323, allocations: 362.3 kB / 435.4 MB, free: 14.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.5324, allocations: 8.031 kB / 435.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.5324, allocations: 4 kB / 435.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.5326, allocations: 170.9 kB / 435.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.5326, allocations: 4 kB / 435.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.5327, allocations: 4 kB / 435.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001322/0.5328, allocations: 23.98 kB / 435.6 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.5329, allocations: 49.64 kB / 435.7 MB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.533, allocations: 0 / 435.7 MB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.533, allocations: 0 / 435.7 MB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.533, allocations: 4 kB / 435.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/0.5333, allocations: 146.1 kB / 435.8 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.5336, allocations: 54.56 kB / 435.9 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.639e-05/0.5337, allocations: 24.86 kB / 435.9 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003871/0.5341, allocations: 113 kB / 436 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.5341, allocations: 42.56 kB / 436 MB, free: 13.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.144e-06/0.5341, allocations: 0 / 436 MB, free: 13.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.07921/0.6133, allocations: 2.089 MB / 438.1 MB, free: 11.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.6134, allocations: 63.33 kB / 438.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.767e-05/0.6136, allocations: 96.95 kB / 438.3 MB, free: 11.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/0.6136, allocations: 25.7 kB / 438.3 MB, free: 11.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.6137, allocations: 80.14 kB / 438.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.6138, allocations: 63.02 kB / 438.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.6139, allocations: 0 / 438.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.614, allocations: 322.8 kB / 438.8 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.6144, allocations: 136 kB / 438.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.6148, allocations: 140 kB / 439 MB, free: 10.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009581/0.6158, allocations: 194.5 kB / 439.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.6158, allocations: 0 / 439.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001527/0.6174, allocations: 409.4 kB / 439.6 MB, free: 9.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.6174, allocations: 4 kB / 439.6 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6174, allocations: 0 / 439.6 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.6175, allocations: 4 kB / 439.6 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007948/0.6183, allocations: 87.83 kB / 439.7 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.6183, allocations: 4 kB / 439.7 MB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.6187, allocations: 23.97 kB / 439.8 MB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.6188, allocations: 15.98 kB / 439.8 MB, free: 9.598 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.0001737/0.619, allocations: 105 kB / 439.9 MB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001531/0.6205, allocations: 417.3 kB / 440.3 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.6206, allocations: 7.906 kB / 440.3 MB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.6226, allocations: 0.4906 MB / 440.8 MB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.6226, allocations: 4 kB / 440.8 MB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6226, allocations: 256 / 440.8 MB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.6227, allocations: 0 / 440.8 MB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003588/0.6263, allocations: 0.8495 MB / 441.6 MB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.6263, allocations: 8.031 kB / 441.6 MB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006457/0.627, allocations: 83.81 kB / 441.7 MB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/0.627, allocations: 4 kB / 441.7 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.405e-05/0.6271, allocations: 15.98 kB / 441.7 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.6271, allocations: 0 / 441.7 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.6271, allocations: 4 kB / 441.7 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.6285, allocations: 486.6 kB / 442.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.296e-05/0.6286, allocations: 85.02 kB / 442.3 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.6287, allocations: 7.953 kB / 442.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.6291, allocations: 27.97 kB / 442.3 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.6292, allocations: 11.98 kB / 442.3 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.6292, allocations: 19.98 kB / 442.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.583e-05/0.6293, allocations: 79.28 kB / 442.4 MB, free: 6.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6293, allocations: 0 / 442.4 MB, free: 6.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001422/0.6307, allocations: 335.7 kB / 442.8 MB, free: 6.422 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.004185/0.6349, allocations: 1.597 MB / 444.4 MB, free: 4.754 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008428/0.6358, allocations: 259.9 kB / 444.6 MB, free: 4.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.6358, allocations: 4 kB / 444.6 MB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.6362, allocations: 112.1 kB / 444.7 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.6365, allocations: 5.125 kB / 444.7 MB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.6394, allocations: 466.7 kB / 445.2 MB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.6398, allocations: 0.6965 MB / 445.9 MB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007118/0.6406, allocations: 92.88 kB / 446 MB, free: 3.055 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/0.641, allocations: 63.39 kB / 446 MB, free: 2.992 MB / 378.7 MB Notification: Performance of SimCode: time 1.372e-06/0.641, allocations: 0 / 446 MB, free: 2.992 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05743/0.6984, allocations: 8.373 MB / 454.4 MB, free: 10.66 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003094/0.6988, allocations: 169.5 kB / 454.6 MB, free: 10.46 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.615/3.314, allocations: 3.906 kB / 454.6 MB, free: 10.46 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat does not exist to compare? outputFormat=mat