Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.135/2.135, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.054e-05, allocations: 0 / 269.4 MB, free: 6.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 47.57 MB / 317 MB, free: 6.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4274/0.5422, allocations: 77.94 MB / 394.9 MB, free: 9.789 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.5426, allocations: 65.59 kB / 395 MB, free: 9.758 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03335/0.576, allocations: 6.081 MB / 401.1 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.576, allocations: 0 / 401.1 MB, free: 4.812 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.5761, allocations: 0 / 401.1 MB, free: 4.812 MB / 314.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.0007052/0.5768, allocations: 441.8 kB / 401.5 MB, free: 4.344 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.5768, allocations: 12.03 kB / 401.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.5769, allocations: 105.8 kB / 401.6 MB, free: 4.219 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.496e-05/0.577, allocations: 75.28 kB / 401.7 MB, free: 4.145 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.5772, allocations: 250.2 kB / 402 MB, free: 3.859 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/0.5773, allocations: 150.6 kB / 402.1 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.5774, allocations: 162.2 kB / 402.3 MB, free: 3.555 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.903e-05/0.5774, allocations: 108.9 kB / 402.4 MB, free: 3.441 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.5775, allocations: 75.28 kB / 402.4 MB, free: 3.367 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/0.5776, allocations: 154.5 kB / 402.6 MB, free: 3.215 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.199e-05/0.5776, allocations: 154.6 kB / 402.7 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.508e-05/0.5777, allocations: 150.6 kB / 402.9 MB, free: 2.914 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.5781, allocations: 449.9 kB / 403.3 MB, free: 2.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.599e-05/0.5782, allocations: 169.1 kB / 403.5 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.5782, allocations: 84.19 kB / 403.6 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.5783, allocations: 75.28 kB / 403.7 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.5784, allocations: 59.05 kB / 403.7 MB, free: 2.027 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 2.916e-06/0.5784, allocations: 0 / 403.7 MB, free: 2.027 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001308/0.5785, allocations: 29.7 kB / 403.7 MB, free: 1.992 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.5786, allocations: 51.41 kB / 403.8 MB, free: 1.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.5787, allocations: 100.9 kB / 403.9 MB, free: 1.828 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.5787, allocations: 25.7 kB / 403.9 MB, free: 1.797 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.5788, allocations: 80.14 kB / 404 MB, free: 1.715 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.5788, allocations: 4.031 kB / 404 MB, free: 1.711 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.5788, allocations: 0 / 404 MB, free: 1.711 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5789, allocations: 310.8 kB / 404.3 MB, free: 1.398 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.579, allocations: 4 kB / 404.3 MB, free: 1.395 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-06/0.579, allocations: 3.938 kB / 404.3 MB, free: 1.391 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.53e-05/0.579, allocations: 0 / 404.3 MB, free: 1.391 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.579, allocations: 0 / 404.3 MB, free: 1.391 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.089e-05/0.5791, allocations: 41.25 kB / 404.3 MB, free: 1.348 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.5791, allocations: 12.05 kB / 404.4 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.5792, allocations: 0 / 404.4 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5792, allocations: 0 / 404.4 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.131e-05/0.5792, allocations: 0 / 404.4 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.5792, allocations: 0 / 404.4 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.5793, allocations: 0 / 404.4 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.5793, allocations: 4 kB / 404.4 MB, free: 1.332 MB / 314.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 7.7e-05/0.5794, allocations: 101 kB / 404.5 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.5794, allocations: 0 / 404.5 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.5794, allocations: 19.02 kB / 404.5 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5795, allocations: 4 kB / 404.5 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5795, allocations: 3.938 kB / 404.5 MB, free: 1.199 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.5795, allocations: 3.938 kB / 404.5 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.5796, allocations: 153.5 kB / 404.6 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5797, allocations: 0 / 404.6 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-06/0.5797, allocations: 3.938 kB / 404.6 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5797, allocations: 0 / 404.6 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.5797, allocations: 0 / 404.6 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.5797, allocations: 3.953 kB / 404.6 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5797, allocations: 0 / 404.6 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.694e-05/0.5798, allocations: 65.11 kB / 404.7 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.5799, allocations: 81.09 kB / 404.8 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.5799, allocations: 3.984 kB / 404.8 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.5799, allocations: 0 / 404.8 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.58, allocations: 7.953 kB / 404.8 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.58, allocations: 0 / 404.8 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.035e-05/0.58, allocations: 79.28 kB / 404.9 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5801, allocations: 4.031 kB / 404.9 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008007/0.5809, allocations: 151.4 kB / 405 MB, free: 0.5859 MB / 314.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.001674/0.5826, allocations: 1.006 MB / 406 MB, free: 15.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.151e-05/0.5826, allocations: 4 kB / 406 MB, free: 15.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.5827, allocations: 3.938 kB / 406 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.466e-06/0.5827, allocations: 3.938 kB / 406.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.5828, allocations: 23.31 kB / 406.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005183/0.5834, allocations: 166.4 kB / 406.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.5837, allocations: 0.6811 MB / 406.9 MB, free: 14.67 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.475e-05/0.5837, allocations: 15.92 kB / 406.9 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.5838, allocations: 11.44 kB / 406.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of SimCode: time 8.31e-07/0.5838, allocations: 0 / 406.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.6157, allocations: 3.644 MB / 410.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003432/0.6162, allocations: 198.9 kB / 410.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.541/3.157, allocations: 3.938 kB / 410.8 MB, free: 10.82 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.mat does not exist to compare? outputFormat=mat