Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.439/2.439, allocations: 270 MB / 282.6 MB, free: 1.824 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.879e-05, allocations: 8 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4224, allocations: 61.86 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.951/2.373, allocations: 0.5451 GB / 0.9444 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/2.374, allocations: 74.91 kB / 0.9445 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.3301/2.704, allocations: 108.4 MB / 1.05 GB, free: 71.01 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.433e-06/2.704, allocations: 4 kB / 1.05 GB, free: 71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.321e-05/2.704, allocations: 0 / 1.05 GB, free: 71 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003487/2.707, allocations: 1.028 MB / 1.051 GB, free: 69.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/2.707, allocations: 8.031 kB / 1.051 GB, free: 69.92 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.244e-05/2.707, allocations: 66.53 kB / 1.051 GB, free: 69.85 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007329/2.708, allocations: 71.75 kB / 1.052 GB, free: 69.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/2.708, allocations: 242.7 kB / 1.052 GB, free: 69.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/2.708, allocations: 24.56 kB / 1.052 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/2.709, allocations: 27.95 kB / 1.052 GB, free: 69.45 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/2.71, allocations: 492.3 kB / 1.052 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/2.71, allocations: 3.938 kB / 1.052 GB, free: 68.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.813e-05/2.71, allocations: 12 kB / 1.052 GB, free: 68.92 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/2.71, allocations: 8 kB / 1.052 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/2.711, allocations: 0.688 MB / 1.053 GB, free: 68.22 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/2.725, allocations: 5.381 MB / 1.058 GB, free: 62.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/2.725, allocations: 186.8 kB / 1.058 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/2.725, allocations: 50.97 kB / 1.058 GB, free: 62.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07109/2.797, allocations: 25.84 MB / 1.084 GB, free: 33.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007253/2.797, allocations: 300.9 kB / 1.084 GB, free: 32.97 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 3.296e-06/2.797, allocations: 0 / 1.084 GB, free: 32.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.001473/2.799, allocations: 357.3 kB / 1.084 GB, free: 32.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/2.799, allocations: 427.2 kB / 1.085 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/2.799, allocations: 165.7 kB / 1.085 GB, free: 31.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/2.799, allocations: 33.7 kB / 1.085 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/2.799, allocations: 261.7 kB / 1.085 GB, free: 31.63 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.922e-05/2.8, allocations: 94.77 kB / 1.085 GB, free: 31.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/2.8, allocations: 12 kB / 1.085 GB, free: 31.53 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/2.8, allocations: 334.8 kB / 1.086 GB, free: 31.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/2.8, allocations: 52.88 kB / 1.086 GB, free: 31.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/2.8, allocations: 305.9 kB / 1.086 GB, free: 30.72 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/2.8, allocations: 112.3 kB / 1.086 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/2.8, allocations: 4 kB / 1.086 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008949/2.801, allocations: 361.6 kB / 1.086 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/2.801, allocations: 8 kB / 1.086 GB, free: 30.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/2.801, allocations: 12 kB / 1.086 GB, free: 30.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.342e-05/2.801, allocations: 12 kB / 1.086 GB, free: 30.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/2.802, allocations: 107.8 kB / 1.087 GB, free: 30.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/2.802, allocations: 19.92 kB / 1.087 GB, free: 30.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/2.802, allocations: 55.44 kB / 1.087 GB, free: 30.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.709e-05/2.803, allocations: 28 kB / 1.087 GB, free: 30.01 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * 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.0001356/2.803, allocations: 147 kB / 1.087 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/2.803, allocations: 35.73 kB / 1.087 GB, free: 29.83 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/2.804, allocations: 0.7981 MB / 1.088 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/2.804, allocations: 11.98 kB / 1.088 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/2.804, allocations: 0 / 1.088 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/2.804, allocations: 4 kB / 1.088 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04377/2.848, allocations: 12.23 MB / 1.1 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/2.848, allocations: 0 / 1.1 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/2.848, allocations: 31.92 kB / 1.1 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/2.849, allocations: 8.094 kB / 1.1 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/2.849, allocations: 4 kB / 1.1 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/2.849, allocations: 4 kB / 1.1 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/2.849, allocations: 7.984 kB / 1.1 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/2.849, allocations: 493.7 kB / 1.1 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/2.849, allocations: 192.2 kB / 1.1 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/2.849, allocations: 7.953 kB / 1.1 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/2.85, allocations: 12 kB / 1.1 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/2.85, allocations: 19.91 kB / 1.1 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/2.85, allocations: 12 kB / 1.1 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000328/2.85, allocations: 222.2 kB / 1.101 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.81e-07/2.85, allocations: 0 / 1.101 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00225/2.852, allocations: 435.4 kB / 1.101 GB, free: 14.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003878/2.856, allocations: 2.242 MB / 1.103 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006256/2.857, allocations: 223.6 kB / 1.103 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/2.857, allocations: 4 kB / 1.103 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/2.857, allocations: 110.1 kB / 1.103 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008688/2.858, allocations: 69.78 kB / 1.104 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.242/6.1, allocations: 0.7315 GB / 1.835 GB, free: 59.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/6.101, allocations: 0.8001 MB / 1.836 GB, free: 58.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/6.101, allocations: 131.4 kB / 1.836 GB, free: 58.45 MB / 0.5261 GB Notification: Performance of SimCode: time 1.021e-06/6.101, allocations: 0 / 1.836 GB, free: 58.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.875/8.976, allocations: 12.22 MB / 1.848 GB, free: 46.5 MB / 0.5261 GB