Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.067/2.067, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.625e-05, allocations: 4 kB / 292.2 MB, free: 8.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 50.41 MB / 342.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.575/1.686, allocations: 443.5 MB / 0.7677 GB, free: 108.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/1.687, allocations: 66.47 kB / 0.7678 GB, free: 108.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08882/1.776, allocations: 25.38 MB / 0.7926 GB, free: 87.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.543e-06/1.776, allocations: 0 / 0.7926 GB, free: 87.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/1.776, allocations: 4 kB / 0.7926 GB, free: 87.01 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001118/1.777, allocations: 436.9 kB / 0.793 GB, free: 86.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.777, allocations: 8.031 kB / 0.793 GB, free: 86.54 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.612e-05/1.777, allocations: 45.98 kB / 0.793 GB, free: 86.49 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/1.787, allocations: 455.4 kB / 0.7935 GB, free: 86.08 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/1.787, allocations: 171 kB / 0.7936 GB, free: 85.87 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/1.787, allocations: 3.875 kB / 0.7936 GB, free: 85.87 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/1.788, allocations: 11.94 kB / 0.7936 GB, free: 85.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007712/1.788, allocations: 267.9 kB / 0.7939 GB, free: 85.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/1.788, allocations: 0 / 0.7939 GB, free: 85.66 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-05/1.789, allocations: 7.938 kB / 0.7939 GB, free: 85.65 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/1.789, allocations: 4 kB / 0.7939 GB, free: 85.65 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007327/1.789, allocations: 225.9 kB / 0.7941 GB, free: 85.51 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/1.791, allocations: 419.2 kB / 0.7945 GB, free: 85.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/1.792, allocations: 190.2 kB / 0.7947 GB, free: 84.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/1.792, allocations: 62.05 kB / 0.7948 GB, free: 84.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/1.792, allocations: 7.984 kB / 0.7948 GB, free: 84.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/1.792, allocations: 38.52 kB / 0.7948 GB, free: 84.85 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 3.096e-06/1.792, allocations: 0 / 0.7948 GB, free: 84.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=17): time 0.001855/1.794, allocations: 305.4 kB / 0.7951 GB, free: 84.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/1.794, allocations: 55.41 kB / 0.7951 GB, free: 84.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/1.794, allocations: 92.98 kB / 0.7952 GB, free: 84.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/1.794, allocations: 28.83 kB / 0.7953 GB, free: 84.42 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/1.795, allocations: 173.9 kB / 0.7954 GB, free: 84.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/1.795, allocations: 54.06 kB / 0.7955 GB, free: 84.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/1.795, allocations: 7.688 kB / 0.7955 GB, free: 84.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.738e-05/1.795, allocations: 314.8 kB / 0.7958 GB, free: 83.88 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/1.795, allocations: 60.81 kB / 0.7958 GB, free: 83.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/1.795, allocations: 93.91 kB / 0.7959 GB, free: 83.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/1.795, allocations: 72.53 kB / 0.796 GB, free: 83.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.795, allocations: 0 / 0.796 GB, free: 83.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005542/1.796, allocations: 203.4 kB / 0.7962 GB, free: 83.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.796, allocations: 8 kB / 0.7962 GB, free: 83.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/1.796, allocations: 3.984 kB / 0.7962 GB, free: 83.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/1.796, allocations: 7.938 kB / 0.7962 GB, free: 83.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006875/1.797, allocations: 59.39 kB / 0.7963 GB, free: 83.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.797, allocations: 4 kB / 0.7963 GB, free: 83.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/1.797, allocations: 11.98 kB / 0.7963 GB, free: 83.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/1.797, allocations: 15.36 kB / 0.7963 GB, free: 83.45 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.000105/1.797, allocations: 108.8 kB / 0.7964 GB, free: 83.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/1.797, allocations: 11.86 kB / 0.7964 GB, free: 83.33 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008121/1.798, allocations: 246.2 kB / 0.7967 GB, free: 83.15 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.798, allocations: 4 kB / 0.7967 GB, free: 83.14 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/1.798, allocations: 0 / 0.7967 GB, free: 83.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.798, allocations: 0 / 0.7967 GB, free: 83.14 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/1.8, allocations: 0.5293 MB / 0.7972 GB, free: 82.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/1.8, allocations: 4 kB / 0.7972 GB, free: 82.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005892/1.8, allocations: 43.89 kB / 0.7972 GB, free: 82.58 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/1.8, allocations: 4 kB / 0.7972 GB, free: 82.58 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/1.8, allocations: 7.625 kB / 0.7972 GB, free: 82.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/1.8, allocations: 4.062 kB / 0.7972 GB, free: 82.57 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.8, allocations: 0 / 0.7972 GB, free: 82.57 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005332/1.801, allocations: 309.9 kB / 0.7975 GB, free: 82.28 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/1.801, allocations: 85.02 kB / 0.7976 GB, free: 82.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/1.801, allocations: 4 kB / 0.7976 GB, free: 82.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004458/1.801, allocations: 19.5 kB / 0.7976 GB, free: 82.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/1.801, allocations: 19.36 kB / 0.7977 GB, free: 82.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/1.802, allocations: 15.92 kB / 0.7977 GB, free: 82.13 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.459e-05/1.802, allocations: 79.28 kB / 0.7977 GB, free: 82.05 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.802, allocations: 0 / 0.7977 GB, free: 82.05 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005942/1.802, allocations: 77.86 kB / 0.7978 GB, free: 82 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001499/1.804, allocations: 1.41 MB / 0.7992 GB, free: 80.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00051/1.804, allocations: 154.5 kB / 0.7993 GB, free: 80.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.804, allocations: 0 / 0.7993 GB, free: 80.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/1.805, allocations: 81.55 kB / 0.7994 GB, free: 80.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/1.805, allocations: 35.59 kB / 0.7995 GB, free: 80.42 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/1.806, allocations: 244.3 kB / 0.7997 GB, free: 80.15 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/1.806, allocations: 0.6974 MB / 0.8004 GB, free: 79.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/1.807, allocations: 45.83 kB / 0.8004 GB, free: 79.39 MB / 458.7 MB Notification: Performance of SimCode: time 1.273e-06/1.807, allocations: 0 / 0.8004 GB, free: 79.39 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.58/4.386, allocations: 5.205 MB / 0.8055 GB, free: 74.2 MB / 458.7 MB