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.08/2.08, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.111e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3695, allocations: 44.48 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.5259, allocations: 72.55 MB / 366.8 MB, free: 9.301 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.5262, allocations: 63.97 kB / 366.8 MB, free: 9.238 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02493/0.5511, allocations: 5.595 MB / 372.4 MB, free: 3.637 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5512, allocations: 0 / 372.4 MB, free: 3.637 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.5512, allocations: 4 kB / 372.4 MB, free: 3.633 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.0006117/0.5518, allocations: 422.4 kB / 372.8 MB, free: 3.176 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.5519, allocations: 15.97 kB / 372.8 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.59e-05/0.552, allocations: 79.28 kB / 372.9 MB, free: 3.082 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.5522, allocations: 246.2 kB / 373.2 MB, free: 2.801 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.217e-05/0.5523, allocations: 154.6 kB / 373.3 MB, free: 2.648 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.765e-05/0.5523, allocations: 150.6 kB / 373.5 MB, free: 2.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.491e-05/0.5524, allocations: 154.6 kB / 373.6 MB, free: 2.348 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.429e-05/0.5525, allocations: 109.8 kB / 373.7 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.5525, allocations: 75.28 kB / 373.8 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-05/0.5526, allocations: 150.6 kB / 373.9 MB, free: 2.016 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.598e-05/0.5527, allocations: 154.5 kB / 374.1 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.553, allocations: 430.5 kB / 374.5 MB, free: 1.406 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.471e-05/0.5531, allocations: 169.1 kB / 374.7 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.5532, allocations: 80.14 kB / 374.8 MB, free: 1.148 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.5532, allocations: 83.27 kB / 374.8 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/0.5533, allocations: 43.42 kB / 374.9 MB, free: 1.012 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 2.855e-06/0.5533, allocations: 7.875 kB / 374.9 MB, free: 1.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001369/0.5535, allocations: 41.59 kB / 374.9 MB, free: 0.957 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.5535, allocations: 51.41 kB / 375 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.5536, allocations: 89 kB / 375.1 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.5537, allocations: 25.7 kB / 375.1 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.5537, allocations: 84.14 kB / 375.2 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.5538, allocations: 8.031 kB / 375.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/0.5538, allocations: 0 / 375.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5539, allocations: 310.8 kB / 375.5 MB, free: 372 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-06/0.5539, allocations: 0 / 375.5 MB, free: 372 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-06/0.5539, allocations: 0 / 375.5 MB, free: 372 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.888e-05/0.554, allocations: 7.984 kB / 375.5 MB, free: 364 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.554, allocations: 0 / 375.5 MB, free: 364 kB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.038e-05/0.5541, allocations: 37.59 kB / 375.5 MB, free: 320 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.5541, allocations: 4 kB / 375.5 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5541, allocations: 4.094 kB / 375.5 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5541, allocations: 0 / 375.5 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.934e-05/0.5542, allocations: 0 / 375.5 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.5542, allocations: 4 kB / 375.5 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.656e-05/0.5542, allocations: 0 / 375.5 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.5542, allocations: 0 / 375.5 MB, free: 308 kB / 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 8.367e-05/0.5543, allocations: 108.8 kB / 375.6 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.408e-05/0.5544, allocations: 37.64 kB / 375.7 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.5544, allocations: 8.094 kB / 375.7 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.5544, allocations: 8.5 kB / 375.7 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.5545, allocations: 3.984 kB / 375.7 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.5545, allocations: 0 / 375.7 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5545, allocations: 0 / 375.7 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.5546, allocations: 130.3 kB / 375.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5547, allocations: 3.938 kB / 375.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-06/0.5547, allocations: 3.938 kB / 375.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.5547, allocations: 3.953 kB / 375.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.5547, allocations: 0 / 375.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.5548, allocations: 4 kB / 375.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5548, allocations: 0 / 375.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.663e-05/0.5549, allocations: 61.06 kB / 375.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.5549, allocations: 81.05 kB / 376 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.555, allocations: 11.95 kB / 376 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.555, allocations: 0 / 376 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.555, allocations: 3.984 kB / 376 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.555, allocations: 0 / 376 MB, free: 15.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.049e-05/0.5551, allocations: 87.31 kB / 376.1 MB, free: 15.67 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5551, allocations: 0 / 376.1 MB, free: 15.67 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007767/0.5559, allocations: 147.9 kB / 376.2 MB, free: 15.53 MB / 330.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.001685/0.5576, allocations: 0.9807 MB / 377.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.76e-05/0.5577, allocations: 4 kB / 377.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5577, allocations: 8 kB / 377.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.793e-06/0.5577, allocations: 0 / 377.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.5579, allocations: 12 kB / 377.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.5584, allocations: 175 kB / 377.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.5588, allocations: 0.6768 MB / 378.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.914e-05/0.5588, allocations: 11.92 kB / 378.1 MB, free: 13.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.5589, allocations: 11.44 kB / 378.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of SimCode: time 9.51e-07/0.5589, allocations: 12 kB / 378.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04725/0.6062, allocations: 3.207 MB / 381.3 MB, free: 10.37 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003362/0.6066, allocations: 171.8 kB / 381.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/3.344, allocations: 0 / 381.5 MB, free: 10.18 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