Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.76/2.76, allocations: 270 MB / 282.7 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.687e-05, allocations: 4 kB / 347.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4084, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.056/9.465, allocations: 2.755 GB / 3.155 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/9.465, allocations: 77 kB / 3.155 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.341/10.81, allocations: 217.2 MB / 3.367 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.726e-06/10.81, allocations: 0 / 3.367 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.514e-05/10.81, allocations: 5.688 kB / 3.367 GB, free: 97.2 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.008549/10.81, allocations: 1.736 MB / 3.369 GB, free: 96.28 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/10.82, allocations: 15.34 kB / 3.369 GB, free: 96.27 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/10.82, allocations: 66.12 kB / 3.369 GB, free: 96.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/10.82, allocations: 190.1 kB / 3.369 GB, free: 96.22 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/10.82, allocations: 274.9 kB / 3.369 GB, free: 96.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/10.82, allocations: 22.06 kB / 3.369 GB, free: 96.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.528e-05/10.82, allocations: 28.84 kB / 3.369 GB, free: 96.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/10.82, allocations: 0.8065 MB / 3.37 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/10.82, allocations: 2.625 kB / 3.37 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.099e-05/10.82, allocations: 15.03 kB / 3.37 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/10.82, allocations: 15.5 kB / 3.37 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002887/10.82, allocations: 0.851 MB / 3.371 GB, free: 95.86 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.00502/10.83, allocations: 2.904 MB / 3.374 GB, free: 93.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/10.83, allocations: 387.4 kB / 3.374 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/10.83, allocations: 69 kB / 3.374 GB, free: 93.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6386/11.47, allocations: 140.6 MB / 3.511 GB, free: 3.961 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/11.47, allocations: 484.4 kB / 3.512 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=31): time 3.707e-06/11.47, allocations: 0 / 3.512 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.005693/11.48, allocations: 1.127 MB / 3.513 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002011/11.48, allocations: 379.5 kB / 3.513 GB, free: 2.105 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/11.48, allocations: 160.7 kB / 3.513 GB, free: 1.961 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.913e-05/11.48, allocations: 37.2 kB / 3.513 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/11.48, allocations: 256 kB / 3.514 GB, free: 1.684 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/11.48, allocations: 116.2 kB / 3.514 GB, free: 1.59 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/11.48, allocations: 6.312 kB / 3.514 GB, free: 1.59 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001375/11.48, allocations: 330.1 kB / 3.514 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/11.48, allocations: 72.3 kB / 3.514 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000448/11.48, allocations: 343.8 kB / 3.515 GB, free: 0.7891 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/11.48, allocations: 135.7 kB / 3.515 GB, free: 0.6914 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/11.48, allocations: 4 kB / 3.515 GB, free: 0.6875 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001221/11.48, allocations: 417.7 kB / 3.515 GB, free: 368 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/11.48, allocations: 16.02 kB / 3.515 GB, free: 352 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/11.48, allocations: 8 kB / 3.515 GB, free: 344 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.338e-05/11.48, allocations: 16 kB / 3.515 GB, free: 328 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/11.48, allocations: 198.6 kB / 3.515 GB, free: 148 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4111/11.89, allocations: 1.18 MB / 3.516 GB, free: 111.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006887/11.89, allocations: 27.8 kB / 3.517 GB, free: 111.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/11.9, allocations: 42.8 kB / 3.517 GB, free: 111.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002201/11.9, allocations: 145.4 kB / 3.517 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/11.9, allocations: 29.97 kB / 3.517 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003739/11.9, allocations: 1.873 MB / 3.519 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-05/11.9, allocations: 22.47 kB / 3.519 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/11.9, allocations: 4.562 kB / 3.519 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/11.9, allocations: 6.125 kB / 3.519 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/11.9, allocations: 0.8812 MB / 3.519 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/11.9, allocations: 3.219 kB / 3.519 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/11.9, allocations: 116.1 kB / 3.52 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/11.9, allocations: 230.4 kB / 3.52 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.027e-05/11.9, allocations: 24.39 kB / 3.52 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004448/11.9, allocations: 0.6344 MB / 3.52 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/11.9, allocations: 8.062 kB / 3.52 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/11.91, allocations: 1.158 MB / 3.522 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004045/11.91, allocations: 281.5 kB / 3.522 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/11.91, allocations: 6.75 kB / 3.522 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006066/11.91, allocations: 24.31 kB / 3.522 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/11.91, allocations: 38.5 kB / 3.522 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/11.91, allocations: 33.48 kB / 3.522 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000553/11.91, allocations: 332.5 kB / 3.522 GB, free: 110 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.6e-07/11.91, allocations: 0 / 3.522 GB, free: 110 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008293/11.92, allocations: 1.628 MB / 3.524 GB, free: 109.9 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: 11 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01713/11.93, allocations: 4.254 MB / 3.528 GB, free: 108 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002119/11.94, allocations: 0.5058 MB / 3.528 GB, free: 108 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/11.94, allocations: 0 / 3.528 GB, free: 108 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007087/11.94, allocations: 363.6 kB / 3.529 GB, free: 108 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/11.94, allocations: 121.8 kB / 3.529 GB, free: 108 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.18/14.12, allocations: 496.5 MB / 4.014 GB, free: 91.69 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/14.12, allocations: 0.9465 MB / 4.015 GB, free: 90.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005369/14.12, allocations: 268.7 kB / 4.015 GB, free: 90.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.402e-06/14.12, allocations: 0 / 4.015 GB, free: 90.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.019/18.14, allocations: 41.05 MB / 4.055 GB, free: 65.05 MB / 0.5417 GB