Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.549/2.549, allocations: 235 MB / 247.6 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.55e-05/4.572e-05, allocations: 6.5 kB / 305 MB, free: 5.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4211, allocations: 54.84 MB / 359.9 MB, free: 2.609 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.901/2.322, allocations: 0.6423 GB / 0.9937 GB, free: 85.93 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/2.323, allocations: 82.3 kB / 0.9938 GB, free: 85.89 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6498/2.973, allocations: 111.2 MB / 1.102 GB, free: 146.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.843e-06/2.973, allocations: 0 / 1.102 GB, free: 146.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/2.973, allocations: 4.219 kB / 1.102 GB, free: 146.8 MB / 490.7 MB 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.003993/2.977, allocations: 1.051 MB / 1.103 GB, free: 146.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/2.977, allocations: 9.625 kB / 1.103 GB, free: 146.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.563e-05/2.977, allocations: 66.22 kB / 1.103 GB, free: 146.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007528/2.978, allocations: 76.64 kB / 1.103 GB, free: 146 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/2.978, allocations: 243.7 kB / 1.104 GB, free: 145.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/2.978, allocations: 18.44 kB / 1.104 GB, free: 145.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/2.978, allocations: 27.06 kB / 1.104 GB, free: 145.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/2.979, allocations: 488.6 kB / 1.104 GB, free: 145.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/2.98, allocations: 0 / 1.104 GB, free: 145.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.267e-05/2.98, allocations: 20.17 kB / 1.104 GB, free: 145.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/2.98, allocations: 8.25 kB / 1.104 GB, free: 145.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/2.981, allocations: 0.6816 MB / 1.105 GB, free: 145.7 MB / 490.7 MB 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.01373/2.995, allocations: 4.21 MB / 1.109 GB, free: 144.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008535/2.996, allocations: 223.2 kB / 1.109 GB, free: 144.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/2.996, allocations: 73.95 kB / 1.109 GB, free: 144.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1352/3.131, allocations: 40.35 MB / 1.149 GB, free: 123.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008101/3.132, allocations: 322.1 kB / 1.149 GB, free: 123.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 4.959e-06/3.132, allocations: 0 / 1.149 GB, free: 123.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.003197/3.135, allocations: 0.7434 MB / 1.15 GB, free: 123.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/3.135, allocations: 430.7 kB / 1.15 GB, free: 122.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/3.136, allocations: 144.3 kB / 1.15 GB, free: 122.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/3.136, allocations: 37.55 kB / 1.15 GB, free: 122.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/3.136, allocations: 237.8 kB / 1.151 GB, free: 122.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/3.136, allocations: 123.9 kB / 1.151 GB, free: 122.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/3.136, allocations: 12.06 kB / 1.151 GB, free: 122.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.75e-05/3.136, allocations: 323.6 kB / 1.151 GB, free: 121.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/3.136, allocations: 61.39 kB / 1.151 GB, free: 121.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/3.136, allocations: 303.3 kB / 1.151 GB, free: 121.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/3.137, allocations: 110.5 kB / 1.151 GB, free: 121.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/3.137, allocations: 3.312 kB / 1.151 GB, free: 121.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009495/3.138, allocations: 369.5 kB / 1.152 GB, free: 121.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/3.138, allocations: 9 kB / 1.152 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/3.138, allocations: 12.16 kB / 1.152 GB, free: 121.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.704e-05/3.138, allocations: 11.97 kB / 1.152 GB, free: 121.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003263/3.141, allocations: 259.9 kB / 1.152 GB, free: 121.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005565/3.142, allocations: 1.187 MB / 1.153 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/3.142, allocations: 18.09 kB / 1.153 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.248e-05/3.142, allocations: 28.69 kB / 1.153 GB, free: 120.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * 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.0001628/3.142, allocations: 154.5 kB / 1.153 GB, free: 120 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.287e-05/3.143, allocations: 22.38 kB / 1.153 GB, free: 120 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/3.144, allocations: 0.974 MB / 1.154 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/3.145, allocations: 11.27 kB / 1.154 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/3.145, allocations: 5.984 kB / 1.154 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/3.145, allocations: 6.125 kB / 1.154 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04423/3.189, allocations: 12.44 MB / 1.167 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/3.189, allocations: 4 kB / 1.167 GB, free: 110.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/3.19, allocations: 129.3 kB / 1.167 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/3.191, allocations: 7.938 kB / 1.167 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/3.191, allocations: 8 kB / 1.167 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002566/3.191, allocations: 0.5921 MB / 1.167 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/3.191, allocations: 0 / 1.167 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008384/3.192, allocations: 0.6288 MB / 1.168 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/3.192, allocations: 191.8 kB / 1.168 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/3.192, allocations: 4 kB / 1.168 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/3.192, allocations: 23.84 kB / 1.168 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/3.193, allocations: 27.44 kB / 1.168 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/3.193, allocations: 12 kB / 1.168 GB, free: 108.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000284/3.193, allocations: 207.8 kB / 1.168 GB, free: 108.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.4e-07/3.193, allocations: 0 / 1.168 GB, free: 108.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00259/3.195, allocations: 477.5 kB / 1.169 GB, free: 108.3 MB / 490.7 MB 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004475/3.2, allocations: 2.43 MB / 1.171 GB, free: 106 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002083/3.202, allocations: 384.9 kB / 1.172 GB, free: 105.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/3.202, allocations: 0 / 1.172 GB, free: 105.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/3.203, allocations: 244 kB / 1.172 GB, free: 105.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009319/3.204, allocations: 78.02 kB / 1.172 GB, free: 105.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.804/6.008, allocations: 0.6793 GB / 1.851 GB, free: 124.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/6.008, allocations: 0.8253 MB / 1.852 GB, free: 123.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/6.008, allocations: 149.3 kB / 1.852 GB, free: 123.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.255e-06/6.008, allocations: 0 / 1.852 GB, free: 123.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.98/8.988, allocations: 14.48 MB / 1.866 GB, free: 122.2 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat