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.685/2.685, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.659e-05/2.675e-05, allocations: 1.406 kB / 249.7 MB, free: 5.262 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1274, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.576/0.7035, allocations: 72.53 MB / 366.8 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.7039, allocations: 68.19 kB / 366.8 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03161/0.7355, allocations: 5.802 MB / 372.7 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.7356, allocations: 4 kB / 372.7 MB, free: 22.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.7356, allocations: 0 / 372.7 MB, free: 22.72 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.0007176/0.7363, allocations: 420.4 kB / 373.1 MB, free: 22.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.7364, allocations: 7.688 kB / 373.1 MB, free: 22.32 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/0.7365, allocations: 109.7 kB / 373.2 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.086e-05/0.7366, allocations: 75.28 kB / 373.3 MB, free: 22.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.7367, allocations: 246.7 kB / 373.5 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.7368, allocations: 154.6 kB / 373.6 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.7369, allocations: 150.6 kB / 373.8 MB, free: 21.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.683e-05/0.7369, allocations: 150.6 kB / 373.9 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.047e-05/0.737, allocations: 108.9 kB / 374 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.737, allocations: 75.28 kB / 374.1 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-05/0.7372, allocations: 150.6 kB / 374.3 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.43e-05/0.7373, allocations: 162.4 kB / 374.4 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.7377, allocations: 427.8 kB / 374.8 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.7378, allocations: 171.4 kB / 375 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.7379, allocations: 84.02 kB / 375.1 MB, free: 20.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.473e-05/0.738, allocations: 83.22 kB / 375.2 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.7381, allocations: 47.5 kB / 375.2 MB, free: 20.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 3.867e-06/0.7381, allocations: 0 / 375.2 MB, free: 20.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001709/0.7383, allocations: 35.62 kB / 375.3 MB, free: 20.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.7384, allocations: 55.41 kB / 375.3 MB, free: 19.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.7385, allocations: 98.45 kB / 375.4 MB, free: 19.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.7386, allocations: 33.67 kB / 375.4 MB, free: 19.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.7386, allocations: 84.02 kB / 375.5 MB, free: 19.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.7387, allocations: 0 / 375.5 MB, free: 19.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.7387, allocations: 0 / 375.5 MB, free: 19.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.7389, allocations: 316.5 kB / 375.8 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.7389, allocations: 0 / 375.8 MB, free: 19.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-06/0.7389, allocations: 0 / 375.8 MB, free: 19.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.123e-05/0.739, allocations: 7.688 kB / 375.8 MB, free: 19.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.739, allocations: 64 / 375.8 MB, free: 19.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001004/0.7391, allocations: 37.53 kB / 375.9 MB, free: 19.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.7391, allocations: 9.922 kB / 375.9 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.7392, allocations: 0 / 375.9 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.7392, allocations: 0 / 375.9 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.332e-05/0.7392, allocations: 0 / 375.9 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.7393, allocations: 3.984 kB / 375.9 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/0.7393, allocations: 0 / 375.9 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.7393, allocations: 0 / 375.9 MB, free: 19.41 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.0001151/0.7395, allocations: 112.5 kB / 376 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.7395, allocations: 7.984 kB / 376 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.7396, allocations: 5.719 kB / 376 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.7396, allocations: 0 / 376 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.7396, allocations: 3.75 kB / 376 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.7396, allocations: 0 / 376 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.7398, allocations: 127.6 kB / 376.1 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.7398, allocations: 0.6562 kB / 376.1 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-06/0.7398, allocations: 0 / 376.1 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.7399, allocations: 5.328 kB / 376.1 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.7399, allocations: 0 / 376.1 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.7399, allocations: 7.953 kB / 376.2 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.7399, allocations: 3.938 kB / 376.2 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.74, allocations: 63.62 kB / 376.2 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.7401, allocations: 80.95 kB / 376.3 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.7402, allocations: 2.672 kB / 376.3 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.089e-05/0.7402, allocations: 0 / 376.3 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.7403, allocations: 3.953 kB / 376.3 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/0.7403, allocations: 4.031 kB / 376.3 MB, free: 18.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.899e-05/0.7404, allocations: 86.25 kB / 376.4 MB, free: 18.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.7404, allocations: 0 / 376.4 MB, free: 18.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001159/0.7415, allocations: 154.2 kB / 376.5 MB, free: 18.84 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.002395/0.744, allocations: 0.9932 MB / 377.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.962e-05/0.7441, allocations: 7.875 kB / 377.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.7441, allocations: 0 / 377.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.246e-05/0.7441, allocations: 3.938 kB / 377.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.7443, allocations: 7.703 kB / 377.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.7472, allocations: 0.5915 MB / 378.1 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.7476, allocations: 0.678 MB / 378.8 MB, free: 17.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.952e-05/0.7477, allocations: 14.23 kB / 378.8 MB, free: 17.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.7477, allocations: 13.89 kB / 378.9 MB, free: 17.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.503e-06/0.7478, allocations: 3.875 kB / 378.9 MB, free: 17.25 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3959/1.144, allocations: 3.282 MB / 382.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003327/1.144, allocations: 180.2 kB / 382.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.604/4.748, allocations: 4 kB / 382.3 MB, free: 16.18 MB / 314.7 MB