Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.586/2.586, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.611e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3864, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.5457, allocations: 78.51 MB / 432.9 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.5461, allocations: 71.89 kB / 433 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004367/0.5504, allocations: 0.9002 MB / 433.9 MB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5505, allocations: 0 / 433.9 MB, free: 15.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.5505, allocations: 0 / 433.9 MB, free: 15.59 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003431/0.5509, allocations: 342.9 kB / 434.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.5509, allocations: 12.02 kB / 434.3 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.551, allocations: 3.953 kB / 434.3 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.5511, allocations: 171 kB / 434.4 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.5512, allocations: 4 kB / 434.4 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.5512, allocations: 8.047 kB / 434.4 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001689/0.5514, allocations: 47.97 kB / 434.5 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.5515, allocations: 49.67 kB / 434.5 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.5516, allocations: 0 / 434.5 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.5516, allocations: 0 / 434.5 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.5516, allocations: 11.89 kB / 434.6 MB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.5518, allocations: 146.1 kB / 434.7 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.552, allocations: 58.58 kB / 434.8 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.889e-05/0.5521, allocations: 32.86 kB / 434.8 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004509/0.5526, allocations: 251.3 kB / 435 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.5526, allocations: 34.56 kB / 435.1 MB, free: 14.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/0.5526, allocations: 0 / 435.1 MB, free: 14.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004043/0.5531, allocations: 81.89 kB / 435.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.5531, allocations: 51.41 kB / 435.2 MB, free: 14.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.113e-05/0.5532, allocations: 89 kB / 435.3 MB, free: 14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.5532, allocations: 29.7 kB / 435.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.5533, allocations: 80.14 kB / 435.4 MB, free: 13.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.5534, allocations: 35.45 kB / 435.4 MB, free: 13.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.5534, allocations: 0 / 435.4 MB, free: 13.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5535, allocations: 318.8 kB / 435.7 MB, free: 13.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.751e-05/0.5536, allocations: 12.09 kB / 435.7 MB, free: 13.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/0.5537, allocations: 23.88 kB / 435.8 MB, free: 13.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.5538, allocations: 24.09 kB / 435.8 MB, free: 13.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5539, allocations: 4 kB / 435.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002958/0.5542, allocations: 77.69 kB / 435.9 MB, free: 13.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.5542, allocations: 7.984 kB / 435.9 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5542, allocations: 0 / 435.9 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5543, allocations: 3.938 kB / 435.9 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.5544, allocations: 12 kB / 435.9 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.5545, allocations: 4 kB / 435.9 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.203e-05/0.5545, allocations: 0 / 435.9 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.5545, allocations: 0 / 435.9 MB, free: 13.36 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 (10): * Single equations (assignments): 10 * 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.0001013/0.5546, allocations: 112.9 kB / 436 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002843/0.5549, allocations: 85.52 kB / 436.1 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.555, allocations: 4 kB / 436.1 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/0.5554, allocations: 90.38 kB / 436.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.5554, allocations: 4 kB / 436.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.5554, allocations: 3.938 kB / 436.2 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.5554, allocations: 3.984 kB / 436.2 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.5556, allocations: 158.1 kB / 436.4 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5556, allocations: 3.938 kB / 436.4 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.5558, allocations: 24 kB / 436.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5558, allocations: 0 / 436.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.5558, allocations: 0 / 436.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5558, allocations: 0 / 436.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.427e-05/0.5559, allocations: 7.969 kB / 436.4 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.5562, allocations: 109 kB / 436.5 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.5563, allocations: 85.02 kB / 436.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.5563, allocations: 0 / 436.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.001e-05/0.5564, allocations: 4 kB / 436.6 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.5564, allocations: 7.984 kB / 436.6 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.5564, allocations: 0 / 436.6 MB, free: 12.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.567e-05/0.5565, allocations: 83.28 kB / 436.7 MB, free: 12.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5565, allocations: 0 / 436.7 MB, free: 12.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003438/0.5568, allocations: 15.94 kB / 436.7 MB, free: 12.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * 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.0007393/0.5576, allocations: 0.6593 MB / 437.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.5578, allocations: 40 kB / 437.4 MB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5578, allocations: 7.938 kB / 437.4 MB, free: 11.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.293e-05/0.5579, allocations: 24 kB / 437.4 MB, free: 11.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.5581, allocations: 7.234 kB / 437.4 MB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005158/0.5586, allocations: 121.5 kB / 437.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.5589, allocations: 0.6885 MB / 438.2 MB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.944e-05/0.559, allocations: 4 kB / 438.2 MB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.5591, allocations: 19.38 kB / 438.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.966e-06/0.5591, allocations: 0 / 438.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04317/0.6023, allocations: 1.053 MB / 439.3 MB, free: 9.777 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003166/0.6027, allocations: 158.7 kB / 439.5 MB, free: 9.574 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.389/2.991, allocations: 0 / 439.5 MB, free: 9.574 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat