Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.576/2.576, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.646e-05, allocations: 4.312 kB / 249.8 MB, free: 5.27 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.566/2.681, allocations: 0.6408 GB / 0.9281 GB, free: 36.51 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/2.682, allocations: 75.09 kB / 0.9282 GB, free: 36.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.716/3.398, allocations: 113.6 MB / 1.039 GB, free: 102.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/3.398, allocations: 0 / 1.039 GB, free: 102.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.776e-06/3.398, allocations: 0 / 1.039 GB, free: 102.6 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001598/3.399, allocations: 0.5719 MB / 1.04 GB, free: 102 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/3.399, allocations: 8.031 kB / 1.04 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/3.399, allocations: 38.5 kB / 1.04 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/3.4, allocations: 11.98 kB / 1.04 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/3.4, allocations: 174.9 kB / 1.04 GB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/3.4, allocations: 4 kB / 1.04 GB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/3.4, allocations: 0 / 1.04 GB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001127/3.4, allocations: 15.98 kB / 1.04 GB, free: 101.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/3.4, allocations: 55.41 kB / 1.04 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/3.4, allocations: 0 / 1.04 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/3.4, allocations: 4 kB / 1.04 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/3.4, allocations: 3.938 kB / 1.04 GB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/3.4, allocations: 159 kB / 1.04 GB, free: 101.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/3.401, allocations: 75.62 kB / 1.04 GB, free: 101.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.131e-05/3.401, allocations: 17.78 kB / 1.04 GB, free: 101.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.218/3.619, allocations: 35.88 MB / 1.075 GB, free: 62.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/3.619, allocations: 42.55 kB / 1.075 GB, free: 62.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.837e-06/3.619, allocations: 0 / 1.075 GB, free: 62.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.002127/3.621, allocations: 149.5 kB / 1.075 GB, free: 61.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/3.621, allocations: 77.11 kB / 1.075 GB, free: 61.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/3.621, allocations: 105 kB / 1.076 GB, free: 61.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/3.621, allocations: 29.69 kB / 1.076 GB, free: 61.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/3.622, allocations: 80.14 kB / 1.076 GB, free: 61.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/3.622, allocations: 19.72 kB / 1.076 GB, free: 61.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/3.622, allocations: 4 kB / 1.076 GB, free: 61.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.69e-05/3.622, allocations: 314.8 kB / 1.076 GB, free: 61.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.135e-05/3.622, allocations: 12 kB / 1.076 GB, free: 61.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.374e-05/3.622, allocations: 17.72 kB / 1.076 GB, free: 61.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/3.624, allocations: 99.91 kB / 1.076 GB, free: 61.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/3.624, allocations: 0 / 1.076 GB, free: 61.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.001781/3.625, allocations: 157.5 kB / 1.076 GB, free: 60.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/3.625, allocations: 8 kB / 1.076 GB, free: 60.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/3.625, allocations: 4 kB / 1.076 GB, free: 60.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/3.625, allocations: 0 / 1.076 GB, free: 60.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/3.626, allocations: 15.86 kB / 1.076 GB, free: 60.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/3.626, allocations: 7.938 kB / 1.076 GB, free: 60.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/3.626, allocations: 7.844 kB / 1.076 GB, free: 60.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/3.626, allocations: 4 kB / 1.076 GB, free: 60.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.623e-05/3.626, allocations: 104.8 kB / 1.076 GB, free: 60.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/3.626, allocations: 7.953 kB / 1.076 GB, free: 60.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/3.628, allocations: 193.8 kB / 1.077 GB, free: 60.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/3.628, allocations: 288 / 1.077 GB, free: 60.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/3.628, allocations: 0 / 1.077 GB, free: 60.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/3.628, allocations: 0 / 1.077 GB, free: 60.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/3.628, allocations: 154 kB / 1.077 GB, free: 60.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/3.628, allocations: 0 / 1.077 GB, free: 60.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/3.629, allocations: 15.98 kB / 1.077 GB, free: 60.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/3.629, allocations: 4 kB / 1.077 GB, free: 60.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/3.629, allocations: 0 / 1.077 GB, free: 60.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/3.629, allocations: 11.89 kB / 1.077 GB, free: 60.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/3.629, allocations: 0 / 1.077 GB, free: 60.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/3.631, allocations: 195.5 kB / 1.077 GB, free: 60.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/3.631, allocations: 89 kB / 1.077 GB, free: 60.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/3.631, allocations: 11.94 kB / 1.077 GB, free: 60 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/3.631, allocations: 0 / 1.077 GB, free: 60 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/3.631, allocations: 7.984 kB / 1.077 GB, free: 59.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/3.631, allocations: 8 kB / 1.077 GB, free: 59.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.987e-05/3.631, allocations: 91.58 kB / 1.077 GB, free: 59.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.02e-07/3.631, allocations: 0 / 1.077 GB, free: 59.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001912/3.633, allocations: 331.5 kB / 1.078 GB, free: 59.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.00631/3.64, allocations: 1.437 MB / 1.079 GB, free: 58.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000225/3.64, allocations: 27.97 kB / 1.079 GB, free: 58.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/3.64, allocations: 0 / 1.079 GB, free: 58.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.252e-05/3.64, allocations: 19.94 kB / 1.079 GB, free: 58.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/3.64, allocations: 8 kB / 1.079 GB, free: 58.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/3.642, allocations: 281.2 kB / 1.079 GB, free: 57.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/3.642, allocations: 0.6885 MB / 1.08 GB, free: 57.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000229/3.642, allocations: 52.28 kB / 1.08 GB, free: 57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/3.642, allocations: 24.3 kB / 1.08 GB, free: 56.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/3.642, allocations: 0 / 1.08 GB, free: 56.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1238/3.766, allocations: 9.471 MB / 1.089 GB, free: 47.51 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000312/3.766, allocations: 148.9 kB / 1.089 GB, free: 47.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.669/8.436, allocations: 8.031 kB / 1.089 GB, free: 47.3 MB / 410.7 MB