Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.768e-05, allocations: 0 / 292.2 MB, free: 8.773 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 50.41 MB / 342.6 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.997/2.111, allocations: 0.5426 GB / 0.8772 GB, free: 128 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/2.111, allocations: 73.09 kB / 0.8772 GB, free: 128 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3192/2.43, allocations: 117.4 MB / 0.9919 GB, free: 65.97 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.623e-06/2.43, allocations: 0 / 0.9919 GB, free: 65.97 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.185e-06/2.43, allocations: 4 kB / 0.9919 GB, free: 65.97 MB / 458.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.001399/2.432, allocations: 0.5641 MB / 0.9925 GB, free: 65.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/2.432, allocations: 8.031 kB / 0.9925 GB, free: 65.35 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.178e-05/2.432, allocations: 42.5 kB / 0.9925 GB, free: 65.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/2.432, allocations: 7.984 kB / 0.9925 GB, free: 65.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/2.432, allocations: 179 kB / 0.9927 GB, free: 65.08 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/2.432, allocations: 0 / 0.9927 GB, free: 65.08 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/2.432, allocations: 4 kB / 0.9927 GB, free: 65.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/2.432, allocations: 63.41 kB / 0.9928 GB, free: 65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/2.432, allocations: 0 / 0.9928 GB, free: 65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/2.432, allocations: 3.953 kB / 0.9928 GB, free: 65 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/2.432, allocations: 0 / 0.9928 GB, free: 65 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.654e-05/2.433, allocations: 19.92 kB / 0.9928 GB, free: 64.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/2.433, allocations: 174.5 kB / 0.993 GB, free: 64.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/2.433, allocations: 85.31 kB / 0.993 GB, free: 64.65 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/2.433, allocations: 29.7 kB / 0.9931 GB, free: 64.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1404/2.573, allocations: 35.88 MB / 1.028 GB, free: 25.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/2.574, allocations: 34.56 kB / 1.028 GB, free: 25.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 2.906e-06/2.574, allocations: 0 / 1.028 GB, free: 25.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002871/2.574, allocations: 65.61 kB / 1.028 GB, free: 25.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/2.574, allocations: 81.06 kB / 1.028 GB, free: 25.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.993e-05/2.574, allocations: 105 kB / 1.028 GB, free: 24.97 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/2.574, allocations: 29.69 kB / 1.028 GB, free: 24.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/2.574, allocations: 150.6 kB / 1.029 GB, free: 24.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/2.574, allocations: 19.72 kB / 1.029 GB, free: 24.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/2.574, allocations: 0 / 1.029 GB, free: 24.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.287e-05/2.574, allocations: 314.8 kB / 1.029 GB, free: 24.45 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/2.574, allocations: 12 kB / 1.029 GB, free: 24.44 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-05/2.574, allocations: 25.7 kB / 1.029 GB, free: 24.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.647e-05/2.574, allocations: 8 kB / 1.029 GB, free: 24.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/2.574, allocations: 0 / 1.029 GB, free: 24.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001541/2.575, allocations: 65.55 kB / 1.029 GB, free: 24.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/2.575, allocations: 4 kB / 1.029 GB, free: 24.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/2.575, allocations: 0 / 1.029 GB, free: 24.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/2.575, allocations: 8 kB / 1.029 GB, free: 24.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/2.575, allocations: 8 kB / 1.029 GB, free: 24.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/2.575, allocations: 3.984 kB / 1.029 GB, free: 24.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/2.575, allocations: 15.89 kB / 1.029 GB, free: 24.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/2.575, allocations: 0 / 1.029 GB, free: 24.29 MB / 458.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 6.656e-05/2.575, allocations: 108.9 kB / 1.029 GB, free: 24.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/2.575, allocations: 8.094 kB / 1.029 GB, free: 24.17 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/2.575, allocations: 105.6 kB / 1.029 GB, free: 24.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/2.575, allocations: 0 / 1.029 GB, free: 24.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/2.575, allocations: 128 / 1.029 GB, free: 24.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/2.575, allocations: 0 / 1.029 GB, free: 24.05 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/2.576, allocations: 173.6 kB / 1.029 GB, free: 23.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/2.576, allocations: 0 / 1.029 GB, free: 23.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/2.576, allocations: 8 kB / 1.029 GB, free: 23.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/2.576, allocations: 0 / 1.029 GB, free: 23.83 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/2.576, allocations: 11.98 kB / 1.029 GB, free: 23.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/2.576, allocations: 3.938 kB / 1.029 GB, free: 23.81 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/2.576, allocations: 0 / 1.029 GB, free: 23.81 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/2.576, allocations: 111.5 kB / 1.03 GB, free: 23.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/2.576, allocations: 93 kB / 1.03 GB, free: 23.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/2.576, allocations: 3.984 kB / 1.03 GB, free: 23.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/2.576, allocations: 8 kB / 1.03 GB, free: 23.55 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/2.576, allocations: 7.984 kB / 1.03 GB, free: 23.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/2.576, allocations: 11.95 kB / 1.03 GB, free: 23.54 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.621e-05/2.576, allocations: 91.58 kB / 1.03 GB, free: 23.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.2e-07/2.576, allocations: 0 / 1.03 GB, free: 23.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001589/2.578, allocations: 339.5 kB / 1.03 GB, free: 23.11 MB / 458.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.003535/2.582, allocations: 1.323 MB / 1.031 GB, free: 21.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002118/2.582, allocations: 27.98 kB / 1.031 GB, free: 21.73 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/2.582, allocations: 4 kB / 1.031 GB, free: 21.72 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.778e-05/2.582, allocations: 19.94 kB / 1.031 GB, free: 21.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/2.582, allocations: 7.953 kB / 1.031 GB, free: 21.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/2.584, allocations: 324.5 kB / 1.032 GB, free: 21.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/2.584, allocations: 0.6887 MB / 1.032 GB, free: 20.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/2.584, allocations: 27.36 kB / 1.032 GB, free: 20.59 MB / 458.7 MB Notification: Performance of SimCode: time 1.042e-06/2.584, allocations: 3.938 kB / 1.032 GB, free: 20.59 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.642/5.225, allocations: 6.98 MB / 1.039 GB, free: 13.6 MB / 458.7 MB