Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_2_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.161/2.161, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.025e-05/3.064e-05, allocations: 0 / 255.5 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 44.5 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4285/0.5314, allocations: 73.21 MB / 373.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.5317, allocations: 66.8 kB / 373.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02652/0.5583, allocations: 5.76 MB / 379 MB, free: 12.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.937e-06/0.5583, allocations: 1.125 kB / 379 MB, free: 12.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.403e-06/0.5584, allocations: 3.938 kB / 379 MB, free: 12.02 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.0007409/0.5591, allocations: 418.4 kB / 379.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.5592, allocations: 9.531 kB / 379.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.5592, allocations: 107.3 kB / 379.5 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.5593, allocations: 80.56 kB / 379.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.5595, allocations: 247.6 kB / 379.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.5595, allocations: 150.6 kB / 380 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.5596, allocations: 155.8 kB / 380.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.838e-05/0.5596, allocations: 102.3 kB / 380.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.5596, allocations: 75.28 kB / 380.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.5597, allocations: 155.6 kB / 380.5 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.5597, allocations: 150.6 kB / 380.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.894e-05/0.5598, allocations: 151.8 kB / 380.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.56, allocations: 454.7 kB / 381.2 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.948e-05/0.5601, allocations: 170.5 kB / 381.4 MB, free: 9.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.5601, allocations: 81.64 kB / 381.5 MB, free: 9.488 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.5601, allocations: 75.28 kB / 381.5 MB, free: 9.414 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.5603, allocations: 45.89 kB / 381.6 MB, free: 9.367 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 5.51e-06/0.5603, allocations: 0 / 381.6 MB, free: 9.367 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001443/0.5605, allocations: 47.09 kB / 381.6 MB, free: 9.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.5605, allocations: 55.41 kB / 381.7 MB, free: 9.254 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.607e-05/0.5606, allocations: 100.3 kB / 381.8 MB, free: 9.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.5606, allocations: 30.73 kB / 381.8 MB, free: 9.125 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.5606, allocations: 81.69 kB / 381.9 MB, free: 9.043 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.5607, allocations: 1.156 kB / 381.9 MB, free: 9.043 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.5607, allocations: 0 / 381.9 MB, free: 9.043 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.671e-05/0.5608, allocations: 311.9 kB / 382.2 MB, free: 8.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.5608, allocations: 7.109 kB / 382.2 MB, free: 8.727 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.5608, allocations: 0.9688 kB / 382.2 MB, free: 8.727 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.841e-05/0.5608, allocations: 4.625 kB / 382.2 MB, free: 8.727 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5608, allocations: 3.953 kB / 382.2 MB, free: 8.723 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.176e-05/0.5609, allocations: 36.23 kB / 382.2 MB, free: 8.688 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.5609, allocations: 7.344 kB / 382.2 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.5609, allocations: 0 / 382.2 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.561, allocations: 1.062 kB / 382.2 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.333e-05/0.561, allocations: 1.594 kB / 382.2 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.561, allocations: 5.219 kB / 382.3 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.201e-05/0.5611, allocations: 0 / 382.3 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.5611, allocations: 1.125 kB / 382.3 MB, free: 8.684 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 5.979e-05/0.5611, allocations: 102 kB / 382.4 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.5612, allocations: 4.953 kB / 382.4 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.5612, allocations: 5.359 kB / 382.4 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5612, allocations: 2.516 kB / 382.4 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5612, allocations: 0 / 382.4 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5613, allocations: 1.125 kB / 382.4 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.5614, allocations: 155.5 kB / 382.5 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5614, allocations: 4 kB / 382.5 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-06/0.5614, allocations: 3.953 kB / 382.5 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.5614, allocations: 1.562 kB / 382.5 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.5614, allocations: 0 / 382.5 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5615, allocations: 1.688 kB / 382.5 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5615, allocations: 0 / 382.5 MB, free: 8.375 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.878e-05/0.5615, allocations: 65.81 kB / 382.6 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.5616, allocations: 82.73 kB / 382.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.5616, allocations: 5.047 kB / 382.7 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.5617, allocations: 5.219 kB / 382.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.5617, allocations: 1.547 kB / 382.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.5617, allocations: 1.25 kB / 382.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.947e-05/0.5617, allocations: 83.97 kB / 382.8 MB, free: 8.125 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5617, allocations: 0 / 382.8 MB, free: 8.125 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008626/0.5626, allocations: 151.6 kB / 382.9 MB, free: 8.086 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.002227/0.5649, allocations: 0.9873 MB / 383.9 MB, free: 23.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.565, allocations: 7.5 kB / 383.9 MB, free: 23.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.565, allocations: 0 / 383.9 MB, free: 23.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.5651, allocations: 5.312 kB / 383.9 MB, free: 23.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.5652, allocations: 5.141 kB / 383.9 MB, free: 23.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000746/0.566, allocations: 175.5 kB / 384.1 MB, free: 23.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.5663, allocations: 0.6771 MB / 384.8 MB, free: 22.51 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.122e-05/0.5664, allocations: 8.516 kB / 384.8 MB, free: 22.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.5665, allocations: 21.2 kB / 384.8 MB, free: 22.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.313e-06/0.5665, allocations: 0 / 384.8 MB, free: 22.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03635/0.6028, allocations: 3.584 MB / 388.4 MB, free: 22.01 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/0.6032, allocations: 192.2 kB / 388.6 MB, free: 21.78 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.794/3.397, allocations: 0 / 388.6 MB, free: 21.78 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel_res.mat does not exist to compare? outputFormat=mat