Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_4_0_0_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.124/2.124, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.159e-05/4.167e-05, allocations: 0 / 292.2 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1417, allocations: 50.42 MB / 342.6 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.453/0.5948, allocations: 79.28 MB / 421.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.5951, allocations: 72.27 kB / 422 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02898/0.6241, allocations: 6.153 MB / 428.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6242, allocations: 0 / 428.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.6242, allocations: 2.938 kB / 428.1 MB, free: 9.547 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000735/0.625, allocations: 432.2 kB / 428.6 MB, free: 9.086 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.625, allocations: 16.03 kB / 428.6 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.094e-05/0.6251, allocations: 105.8 kB / 428.7 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.737e-05/0.6252, allocations: 79.23 kB / 428.8 MB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.6254, allocations: 250.3 kB / 429 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.093e-05/0.6255, allocations: 153.6 kB / 429.2 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.6256, allocations: 150.6 kB / 429.3 MB, free: 8.297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.954e-05/0.6257, allocations: 105 kB / 429.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.6257, allocations: 75.28 kB / 429.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.735e-05/0.6258, allocations: 150.6 kB / 429.6 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-05/0.6259, allocations: 154.5 kB / 429.8 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.498e-05/0.6259, allocations: 158.5 kB / 429.9 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.6263, allocations: 453.4 kB / 430.4 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.589e-05/0.6264, allocations: 168.6 kB / 430.5 MB, free: 6.996 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/0.6264, allocations: 80.14 kB / 430.6 MB, free: 6.914 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.6265, allocations: 79.28 kB / 430.7 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.6266, allocations: 47.41 kB / 430.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 4.479e-06/0.6266, allocations: 0 / 430.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001512/0.6268, allocations: 37.55 kB / 430.8 MB, free: 6.734 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.6268, allocations: 55.36 kB / 430.8 MB, free: 6.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.731e-05/0.627, allocations: 96.42 kB / 430.9 MB, free: 6.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.627, allocations: 25.7 kB / 431 MB, free: 6.539 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.627, allocations: 87.77 kB / 431 MB, free: 6.453 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.6271, allocations: 0 / 431 MB, free: 6.453 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.6271, allocations: 4.031 kB / 431 MB, free: 6.449 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6272, allocations: 310.8 kB / 431.3 MB, free: 6.137 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.6272, allocations: 0 / 431.3 MB, free: 6.137 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.057e-05/0.6273, allocations: 4 kB / 431.3 MB, free: 6.133 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.774e-05/0.6273, allocations: 0 / 431.3 MB, free: 6.133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6273, allocations: 0 / 431.3 MB, free: 6.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.585e-05/0.6274, allocations: 33.64 kB / 431.4 MB, free: 6.094 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.6274, allocations: 11.98 kB / 431.4 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.6274, allocations: 4.094 kB / 431.4 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.6275, allocations: 7.938 kB / 431.4 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.18e-05/0.6275, allocations: 3.938 kB / 431.4 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.6275, allocations: 0 / 431.4 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.6276, allocations: 3.953 kB / 431.4 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.6276, allocations: 0 / 431.4 MB, free: 6.062 MB / 346.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.555e-05/0.6277, allocations: 108.1 kB / 431.5 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.6277, allocations: 0 / 431.5 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.6277, allocations: 3.125 kB / 431.5 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.6278, allocations: 0 / 431.5 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6278, allocations: 8 kB / 431.5 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.6278, allocations: 3.984 kB / 431.5 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.6279, allocations: 148.6 kB / 431.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.628, allocations: 0 / 431.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-06/0.628, allocations: 4 kB / 431.7 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.628, allocations: 3.984 kB / 431.7 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.628, allocations: 0 / 431.7 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.628, allocations: 0 / 431.7 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.628, allocations: 0 / 431.7 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.6281, allocations: 72 kB / 431.8 MB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.6282, allocations: 81.09 kB / 431.8 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.6282, allocations: 0 / 431.8 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.952e-05/0.6283, allocations: 0 / 431.8 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/0.6283, allocations: 0 / 431.8 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.6283, allocations: 4 kB / 431.8 MB, free: 5.551 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.433e-05/0.6284, allocations: 82.28 kB / 431.9 MB, free: 5.473 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6284, allocations: 0 / 431.9 MB, free: 5.473 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008055/0.6292, allocations: 154 kB / 432.1 MB, free: 5.332 MB / 346.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.002024/0.6313, allocations: 1.029 MB / 433.1 MB, free: 4.355 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.497e-05/0.6314, allocations: 4 kB / 433.1 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.6314, allocations: 7.562 kB / 433.1 MB, free: 4.348 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.259e-05/0.6314, allocations: 4 kB / 433.1 MB, free: 4.344 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.6316, allocations: 0 / 433.1 MB, free: 4.344 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007643/0.6324, allocations: 174 kB / 433.3 MB, free: 4.141 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.6327, allocations: 0.677 MB / 434 MB, free: 3.438 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.476e-05/0.6327, allocations: 7.984 kB / 434 MB, free: 3.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.6328, allocations: 11.44 kB / 434 MB, free: 3.418 MB / 346.7 MB Notification: Performance of SimCode: time 1.914e-06/0.6328, allocations: 8 kB / 434 MB, free: 3.41 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/0.6657, allocations: 3.654 MB / 437.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/0.6661, allocations: 195.3 kB / 437.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.762/3.428, allocations: 3.938 kB / 437.8 MB, free: 15.61 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_res.mat does not exist to compare? outputFormat=mat