Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Utilities_Examples_readRealParameterModel",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.444/2.444, allocations: 195 MB / 202.9 MB, free: 6.711 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.065e-05, allocations: 2.344 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1348, allocations: 44.52 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6026/0.7374, allocations: 72.53 MB / 366.8 MB, free: 7.238 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/0.7379, allocations: 61.5 kB / 366.9 MB, free: 7.238 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03367/0.7716, allocations: 5.801 MB / 372.7 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.7716, allocations: 0 / 372.7 MB, free: 22.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.7716, allocations: 3.875 kB / 372.7 MB, free: 22.75 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.0006811/0.7723, allocations: 419.3 kB / 373.1 MB, free: 22.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.7724, allocations: 11.53 kB / 373.1 MB, free: 22.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.7725, allocations: 75.28 kB / 373.2 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.7726, allocations: 244.8 kB / 373.4 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.7727, allocations: 154.6 kB / 373.6 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.7727, allocations: 160.9 kB / 373.7 MB, free: 21.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.228e-05/0.7728, allocations: 154.4 kB / 373.9 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.692e-05/0.7729, allocations: 102.5 kB / 374 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.7729, allocations: 75.28 kB / 374 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.922e-05/0.773, allocations: 150.6 kB / 374.2 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-05/0.7731, allocations: 154.6 kB / 374.3 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.7735, allocations: 435.9 kB / 374.8 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.7736, allocations: 173 kB / 374.9 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/0.7736, allocations: 83.39 kB / 375 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.39e-05/0.7737, allocations: 79.28 kB / 375.1 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.7738, allocations: 46.52 kB / 375.1 MB, free: 20.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 3.777e-06/0.7739, allocations: 0 / 375.1 MB, free: 20.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001629/0.774, allocations: 37.33 kB / 375.2 MB, free: 20.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.7741, allocations: 55.25 kB / 375.2 MB, free: 20.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.7742, allocations: 102.8 kB / 375.3 MB, free: 20.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.7743, allocations: 25.7 kB / 375.4 MB, free: 19.99 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.7744, allocations: 82.95 kB / 375.4 MB, free: 19.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.7744, allocations: 0 / 375.4 MB, free: 19.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.7744, allocations: 0 / 375.4 MB, free: 19.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.7746, allocations: 314.8 kB / 375.7 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.7746, allocations: 0 / 375.7 MB, free: 19.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-06/0.7746, allocations: 0 / 375.7 MB, free: 19.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.655e-05/0.7746, allocations: 0 / 375.7 MB, free: 19.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7747, allocations: 8.031 kB / 375.8 MB, free: 19.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.34e-05/0.7748, allocations: 39.72 kB / 375.8 MB, free: 19.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.7748, allocations: 3.875 kB / 375.8 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.7748, allocations: 0 / 375.8 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.7748, allocations: 0 / 375.8 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.245e-05/0.7749, allocations: 0 / 375.8 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.7749, allocations: 11.8 kB / 375.8 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.23e-05/0.7749, allocations: 0 / 375.8 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.7749, allocations: 0 / 375.8 MB, free: 19.55 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 0.0001092/0.7751, allocations: 118.3 kB / 375.9 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.084e-05/0.7751, allocations: 40.08 kB / 376 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.7752, allocations: 3.906 kB / 376 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.7752, allocations: 3.75 kB / 376 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.7752, allocations: 0 / 376 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7753, allocations: 0 / 376 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.7753, allocations: 0 / 376 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.7754, allocations: 132.1 kB / 376.1 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.7755, allocations: 2.391 kB / 376.1 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-06/0.7755, allocations: 0 / 376.1 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.505e-06/0.7755, allocations: 7.984 kB / 376.1 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.7756, allocations: 3.875 kB / 376.1 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.7756, allocations: 0 / 376.1 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.7756, allocations: 0 / 376.1 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.7758, allocations: 59.36 kB / 376.2 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-05/0.7759, allocations: 80.95 kB / 376.2 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.7759, allocations: 7.891 kB / 376.3 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.652e-05/0.776, allocations: 3.141 kB / 376.3 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.776, allocations: 4.031 kB / 376.3 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.776, allocations: 0 / 376.3 MB, free: 19.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.946e-05/0.7761, allocations: 82.31 kB / 376.3 MB, free: 18.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.7761, allocations: 0 / 376.3 MB, free: 18.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001277/0.7774, allocations: 158 kB / 376.5 MB, free: 18.94 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.00261/0.7801, allocations: 0.998 MB / 377.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.77e-05/0.7802, allocations: 2.688 kB / 377.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.7802, allocations: 0 / 377.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.188e-05/0.7803, allocations: 3.875 kB / 377.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.7805, allocations: 3.953 kB / 377.5 MB, free: 18.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/0.7836, allocations: 0.5973 MB / 378.1 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.7841, allocations: 0.6756 MB / 378.8 MB, free: 17.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.282e-05/0.7842, allocations: 18.44 kB / 378.8 MB, free: 17.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.055e-05/0.7843, allocations: 16.88 kB / 378.8 MB, free: 17.36 MB / 314.7 MB Notification: Performance of SimCode: time 1.643e-06/0.7843, allocations: 0 / 378.8 MB, free: 17.36 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2133/0.9976, allocations: 3.255 MB / 382.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002942/0.998, allocations: 180.2 kB / 382.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.084/4.082, allocations: 3.938 kB / 382.2 MB, free: 16.3 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Utilities.Examples.readRealParameterModel_res.mat does not exist to compare? outputFormat=mat