Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.508/2.508, allocations: 270 MB / 282.6 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.266e-05/4.279e-05, allocations: 4 kB / 347.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4161, allocations: 61.88 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.824/9.24, allocations: 2.757 GB / 3.156 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/9.24, allocations: 76.86 kB / 3.156 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.35/10.59, allocations: 217.7 MB / 3.369 GB, free: 94.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/10.59, allocations: 0 / 3.369 GB, free: 94.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.533e-05/10.59, allocations: 3.469 kB / 3.369 GB, free: 94.22 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.008627/10.6, allocations: 1.76 MB / 3.371 GB, free: 93.31 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/10.6, allocations: 10.62 kB / 3.371 GB, free: 93.31 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.772e-05/10.6, allocations: 68.8 kB / 3.371 GB, free: 93.27 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/10.6, allocations: 221.2 kB / 3.371 GB, free: 93.26 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/10.6, allocations: 277.3 kB / 3.371 GB, free: 93.05 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/10.6, allocations: 31.94 kB / 3.371 GB, free: 93.04 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-05/10.6, allocations: 30.12 kB / 3.371 GB, free: 93.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002947/10.61, allocations: 0.8504 MB / 3.372 GB, free: 92.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/10.61, allocations: 7.031 kB / 3.372 GB, free: 92.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/10.61, allocations: 16.8 kB / 3.372 GB, free: 92.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/10.61, allocations: 7.938 kB / 3.372 GB, free: 92.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003068/10.61, allocations: 0.9475 MB / 3.373 GB, free: 92.9 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.004755/10.61, allocations: 2.779 MB / 3.376 GB, free: 91.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/10.62, allocations: 415.4 kB / 3.376 GB, free: 90.99 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/10.62, allocations: 68.22 kB / 3.376 GB, free: 90.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483/12.1, allocations: 224.9 MB / 3.596 GB, free: 74.96 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003074/12.1, allocations: 0.5024 MB / 3.596 GB, free: 74.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 5.992e-06/12.1, allocations: 0 / 3.596 GB, free: 74.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.006675/12.11, allocations: 0.7777 MB / 3.597 GB, free: 74.77 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/12.11, allocations: 373.4 kB / 3.598 GB, free: 74.33 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/12.11, allocations: 171.7 kB / 3.598 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/12.11, allocations: 35.42 kB / 3.598 GB, free: 74.19 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/12.11, allocations: 251.9 kB / 3.598 GB, free: 73.99 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/12.11, allocations: 111.9 kB / 3.598 GB, free: 73.94 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/12.11, allocations: 15 kB / 3.598 GB, free: 73.94 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/12.11, allocations: 327.2 kB / 3.598 GB, free: 73.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/12.11, allocations: 70.03 kB / 3.599 GB, free: 73.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/12.11, allocations: 330.9 kB / 3.599 GB, free: 73.29 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/12.11, allocations: 128.3 kB / 3.599 GB, free: 73.27 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/12.11, allocations: 3.688 kB / 3.599 GB, free: 73.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001847/12.11, allocations: 422.7 kB / 3.599 GB, free: 73.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/12.11, allocations: 11.44 kB / 3.599 GB, free: 73.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/12.11, allocations: 8.969 kB / 3.599 GB, free: 73.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.771e-05/12.11, allocations: 15.41 kB / 3.599 GB, free: 73.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/12.11, allocations: 137.8 kB / 3.6 GB, free: 73.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.654e-05/12.11, allocations: 19.22 kB / 3.6 GB, free: 73.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009726/12.12, allocations: 53.94 kB / 3.6 GB, free: 73.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/12.12, allocations: 39.28 kB / 3.6 GB, free: 73.21 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state_h_is.phase,state.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0002756/12.12, allocations: 156.9 kB / 3.6 GB, free: 73.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/12.12, allocations: 28.78 kB / 3.6 GB, free: 73.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003644/12.12, allocations: 1.756 MB / 3.602 GB, free: 72.84 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-05/12.12, allocations: 21.5 kB / 3.602 GB, free: 72.83 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/12.12, allocations: 6.719 kB / 3.602 GB, free: 72.83 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/12.12, allocations: 3.719 kB / 3.602 GB, free: 72.83 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/12.12, allocations: 0.8948 MB / 3.602 GB, free: 72.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/12.12, allocations: 3.594 kB / 3.602 GB, free: 72.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008674/12.12, allocations: 78.27 kB / 3.603 GB, free: 72.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.92e-05/12.12, allocations: 6.438 kB / 3.603 GB, free: 72.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.183e-05/12.12, allocations: 20.44 kB / 3.603 GB, free: 72.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-05/12.12, allocations: 9.891 kB / 3.603 GB, free: 72.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/12.12, allocations: 9.344 kB / 3.603 GB, free: 72.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/12.12, allocations: 0.821 MB / 3.603 GB, free: 72.13 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006457/12.13, allocations: 331.3 kB / 3.604 GB, free: 71.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/12.13, allocations: 7.625 kB / 3.604 GB, free: 71.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/12.13, allocations: 29.06 kB / 3.604 GB, free: 71.94 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/12.13, allocations: 42.06 kB / 3.604 GB, free: 71.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.074e-05/12.13, allocations: 25.09 kB / 3.604 GB, free: 71.94 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001058/12.13, allocations: 426.1 kB / 3.604 GB, free: 71.84 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.12e-07/12.13, allocations: 0 / 3.604 GB, free: 71.84 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01034/12.14, allocations: 1.524 MB / 3.606 GB, free: 71.75 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.02149/12.16, allocations: 3.985 MB / 3.61 GB, free: 69.71 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001401/12.16, allocations: 375.6 kB / 3.61 GB, free: 69.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/12.16, allocations: 1.781 kB / 3.61 GB, free: 69.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007649/12.16, allocations: 278.9 kB / 3.61 GB, free: 69.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/12.16, allocations: 113.7 kB / 3.61 GB, free: 69.69 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.523/15.69, allocations: 0.7572 GB / 4.367 GB, free: 98.47 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/15.69, allocations: 0.9662 MB / 4.368 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005653/15.69, allocations: 305.6 kB / 4.369 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of SimCode: time 1.303e-06/15.69, allocations: 1.031 kB / 4.369 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.713/19.4, allocations: 37.22 MB / 4.405 GB, free: 95.39 MB / 0.5417 GB