Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_1_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.912/1.912, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.228e-05/2.232e-05, allocations: 0 / 219.6 MB, free: 6.953 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3349, allocations: 38.75 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1733/0.5083, allocations: 66.83 MB / 325.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003469/0.5087, allocations: 63.97 kB / 325.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06467/0.5734, allocations: 5.751 MB / 331 MB, free: 5.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5735, allocations: 0 / 331 MB, free: 5.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.5735, allocations: 4 kB / 331 MB, free: 5.148 MB / 282.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.0008777/0.5744, allocations: 414.3 kB / 331.4 MB, free: 4.699 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.724e-05/0.5745, allocations: 12.03 kB / 331.4 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.949e-05/0.5746, allocations: 75.28 kB / 331.5 MB, free: 4.613 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.5749, allocations: 242.3 kB / 331.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.815e-05/0.575, allocations: 150.6 kB / 331.8 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.168e-05/0.5751, allocations: 150.6 kB / 332 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.1e-05/0.5752, allocations: 158.6 kB / 332.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.132e-05/0.5754, allocations: 114.3 kB / 332.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/0.5754, allocations: 75.28 kB / 332.3 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.765e-05/0.5755, allocations: 154.6 kB / 332.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.567e-05/0.5756, allocations: 150.6 kB / 332.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.5761, allocations: 430.5 kB / 333 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.5762, allocations: 169.1 kB / 333.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.5763, allocations: 83.39 kB / 333.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.933e-05/0.5764, allocations: 75.28 kB / 333.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.51e-05/0.5765, allocations: 113.8 kB / 333.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 3.997e-06/0.5765, allocations: 0 / 333.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001273/0.5766, allocations: 29.66 kB / 333.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.5767, allocations: 51.41 kB / 333.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.5769, allocations: 101 kB / 333.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.5769, allocations: 25.7 kB / 333.7 MB, free: 2.246 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.577, allocations: 80.14 kB / 333.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.577, allocations: 0 / 333.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.51e-07/0.577, allocations: 0 / 333.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.5772, allocations: 318.8 kB / 334.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.17e-06/0.5772, allocations: 0 / 334.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.5772, allocations: 4 kB / 334.1 MB, free: 1.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.799e-05/0.5773, allocations: 75.28 kB / 334.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.934e-05/0.5774, allocations: 79.22 kB / 334.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.000111/0.5775, allocations: 37.67 kB / 334.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.048e-05/0.5776, allocations: 83.28 kB / 334.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.984e-05/0.5776, allocations: 75.28 kB / 334.4 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.894e-05/0.5777, allocations: 154.6 kB / 334.6 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.017e-05/0.5778, allocations: 79.22 kB / 334.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.148e-05/0.5779, allocations: 154.6 kB / 334.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.578, allocations: 83.23 kB / 334.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/0.5781, allocations: 83.2 kB / 335 MB, free: 0.9414 MB / 282.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 (0): * Single equations (assignments): 0 * 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.0001705/0.5783, allocations: 255.5 kB / 335.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001336/0.5784, allocations: 138.7 kB / 335.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.847e-05/0.5786, allocations: 108.8 kB / 335.5 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.432e-05/0.5787, allocations: 108.9 kB / 335.6 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001246/0.5788, allocations: 184.2 kB / 335.7 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001294/0.5789, allocations: 184.2 kB / 335.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.817e-05/0.5791, allocations: 184.2 kB / 336.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.5795, allocations: 385.8 kB / 336.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.205e-05/0.5795, allocations: 104.9 kB / 336.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.5796, allocations: 101 kB / 336.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.5797, allocations: 184.3 kB / 336.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.5798, allocations: 184.2 kB / 337 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.564e-05/0.58, allocations: 176.3 kB / 337.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.597e-05/0.5801, allocations: 180.2 kB / 337.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.5803, allocations: 307.7 kB / 337.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.5805, allocations: 186.5 kB / 337.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.5806, allocations: 184.2 kB / 338 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.5808, allocations: 101 kB / 338.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.5809, allocations: 176.3 kB / 338.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.07e-05/0.581, allocations: 116.9 kB / 338.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.874e-05/0.5811, allocations: 83.27 kB / 338.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5811, allocations: 0 / 338.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00106/0.5822, allocations: 155.8 kB / 338.7 MB, free: 13.01 MB / 298.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 (0): * Single equations (assignments): 0 * 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.002202/0.5844, allocations: 1.17 MB / 339.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.99e-05/0.5845, allocations: 0 / 339.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.5845, allocations: 4 kB / 339.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.429e-06/0.5845, allocations: 7.938 kB / 339.8 MB, free: 11.83 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.5849, allocations: 0.5224 MB / 340.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.5877, allocations: 0.6725 MB / 341 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.5881, allocations: 0.6768 MB / 341.7 MB, free: 9.887 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.672e-05/0.5881, allocations: 0 / 341.7 MB, free: 9.887 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.5882, allocations: 15.42 kB / 341.7 MB, free: 9.871 MB / 298.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5882, allocations: 0 / 341.7 MB, free: 9.871 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09516/0.6834, allocations: 3.158 MB / 344.9 MB, free: 6.711 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003128/0.6837, allocations: 175.4 kB / 345.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.614/3.298, allocations: 3.969 kB / 345.1 MB, free: 6.508 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel_res.mat does not exist to compare? outputFormat=mat