Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.294e-05/4.31e-05, allocations: 4 kB / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1459, allocations: 50.4 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.35/19.49, allocations: 6.137 GB / 6.472 GB, free: 106.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/19.49, allocations: 76.27 kB / 6.472 GB, free: 106.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.178/20.67, allocations: 192.4 MB / 6.66 GB, free: 89.39 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.783e-06/20.67, allocations: 3.781 kB / 6.66 GB, free: 89.39 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.929e-06/20.67, allocations: 0 / 6.66 GB, free: 89.39 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.006047/20.68, allocations: 1.102 MB / 6.661 GB, free: 88.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/20.68, allocations: 15.03 kB / 6.661 GB, free: 88.68 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.019e-05/20.68, allocations: 34.36 kB / 6.661 GB, free: 88.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.302e-05/20.68, allocations: 3.688 kB / 6.661 GB, free: 88.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/20.68, allocations: 188.5 kB / 6.661 GB, free: 88.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/20.68, allocations: 3.953 kB / 6.661 GB, free: 88.44 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/20.68, allocations: 3.938 kB / 6.661 GB, free: 88.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/20.68, allocations: 76.25 kB / 6.661 GB, free: 88.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/20.68, allocations: 0 / 6.661 GB, free: 88.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/20.68, allocations: 0 / 6.661 GB, free: 88.38 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/20.68, allocations: 0 / 6.661 GB, free: 88.38 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/20.68, allocations: 37.19 kB / 6.661 GB, free: 88.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/20.68, allocations: 183.7 kB / 6.662 GB, free: 88.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/20.68, allocations: 106.5 kB / 6.662 GB, free: 88.12 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/20.68, allocations: 31.83 kB / 6.662 GB, free: 88.11 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.786e-05/20.68, allocations: 7.719 kB / 6.662 GB, free: 88.11 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/20.68, allocations: 37.45 kB / 6.662 GB, free: 88.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 2.635e-06/20.68, allocations: 0 / 6.662 GB, free: 88.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003439/20.68, allocations: 77.34 kB / 6.662 GB, free: 88.03 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/20.68, allocations: 81.11 kB / 6.662 GB, free: 87.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/20.68, allocations: 125.5 kB / 6.662 GB, free: 87.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/20.68, allocations: 29.52 kB / 6.662 GB, free: 87.81 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/20.68, allocations: 154.1 kB / 6.662 GB, free: 87.66 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/20.68, allocations: 15.28 kB / 6.662 GB, free: 87.65 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/20.68, allocations: 0 / 6.662 GB, free: 87.65 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.475e-05/20.68, allocations: 314.7 kB / 6.662 GB, free: 87.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.297e-05/20.68, allocations: 14.62 kB / 6.662 GB, free: 87.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.457e-05/20.68, allocations: 35.97 kB / 6.663 GB, free: 87.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.988e-05/20.68, allocations: 11.53 kB / 6.663 GB, free: 87.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/20.68, allocations: 3.875 kB / 6.663 GB, free: 87.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002863/20.68, allocations: 75.16 kB / 6.663 GB, free: 87.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/20.68, allocations: 7.562 kB / 6.663 GB, free: 87.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/20.68, allocations: 0 / 6.663 GB, free: 87.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/20.68, allocations: 0 / 6.663 GB, free: 87.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/20.68, allocations: 22.69 kB / 6.663 GB, free: 87.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/20.68, allocations: 0 / 6.663 GB, free: 87.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/20.68, allocations: 16.16 kB / 6.663 GB, free: 87.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/20.68, allocations: 0 / 6.663 GB, free: 87.27 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 8.078e-05/20.68, allocations: 114.8 kB / 6.663 GB, free: 87.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/20.68, allocations: 7.672 kB / 6.663 GB, free: 87.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004439/20.68, allocations: 108.1 kB / 6.663 GB, free: 87.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/20.68, allocations: 0 / 6.663 GB, free: 87.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/20.68, allocations: 5.859 kB / 6.663 GB, free: 87.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/20.68, allocations: 3.938 kB / 6.663 GB, free: 87.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/20.68, allocations: 178.1 kB / 6.663 GB, free: 86.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/20.68, allocations: 4 kB / 6.663 GB, free: 86.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/20.68, allocations: 14.88 kB / 6.663 GB, free: 86.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/20.68, allocations: 0 / 6.663 GB, free: 86.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/20.68, allocations: 3.953 kB / 6.663 GB, free: 86.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/20.68, allocations: 3 kB / 6.663 GB, free: 86.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/20.68, allocations: 3.797 kB / 6.663 GB, free: 86.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/20.68, allocations: 115.7 kB / 6.663 GB, free: 86.81 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/20.68, allocations: 99.83 kB / 6.663 GB, free: 86.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/20.68, allocations: 7.328 kB / 6.663 GB, free: 86.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/20.68, allocations: 3.938 kB / 6.663 GB, free: 86.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/20.68, allocations: 3.844 kB / 6.663 GB, free: 86.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/20.68, allocations: 11.09 kB / 6.663 GB, free: 86.71 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001175/20.68, allocations: 105.3 kB / 6.663 GB, free: 86.63 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.32e-07/20.68, allocations: 0 / 6.663 GB, free: 86.63 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0061/20.69, allocations: 0.9941 MB / 6.664 GB, free: 86.46 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.01297/20.7, allocations: 2.087 MB / 6.666 GB, free: 85.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002778/20.7, allocations: 39.8 kB / 6.666 GB, free: 85.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/20.7, allocations: 0 / 6.666 GB, free: 85.39 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.533e-05/20.7, allocations: 29.92 kB / 6.666 GB, free: 85.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/20.7, allocations: 15.8 kB / 6.666 GB, free: 85.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004352/20.71, allocations: 0.5615 MB / 6.667 GB, free: 84.85 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/20.71, allocations: 0.6883 MB / 6.668 GB, free: 84.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/20.71, allocations: 26.55 kB / 6.668 GB, free: 84.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.413e-06/20.71, allocations: 0 / 6.668 GB, free: 84.12 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.689/24.4, allocations: 21.75 MB / 6.689 GB, free: 71.06 MB / 458.7 MB