Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.597/2.597, allocations: 235 MB / 247.2 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.594e-05/4.6e-05, allocations: 6.656 kB / 305 MB, free: 5.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4177, allocations: 54.84 MB / 359.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.888/2.305, allocations: 0.6423 GB / 0.9937 GB, free: 85.91 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/2.306, allocations: 79.89 kB / 0.9938 GB, free: 85.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6536/2.959, allocations: 111.2 MB / 1.102 GB, free: 147.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.377e-06/2.959, allocations: 1.312 kB / 1.102 GB, free: 147.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.798e-05/2.959, allocations: 5.844 kB / 1.102 GB, free: 147.4 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.00473/2.964, allocations: 1.047 MB / 1.103 GB, free: 146.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/2.964, allocations: 10.41 kB / 1.103 GB, free: 146.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/2.964, allocations: 65.5 kB / 1.103 GB, free: 146.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008857/2.965, allocations: 74.27 kB / 1.104 GB, free: 146.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/2.966, allocations: 249.8 kB / 1.104 GB, free: 146.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/2.966, allocations: 17.16 kB / 1.104 GB, free: 146.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.179e-05/2.966, allocations: 24.72 kB / 1.104 GB, free: 146.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/2.967, allocations: 489.3 kB / 1.104 GB, free: 146.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/2.967, allocations: 3.719 kB / 1.104 GB, free: 146.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-05/2.968, allocations: 18.77 kB / 1.104 GB, free: 146.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/2.968, allocations: 6.406 kB / 1.104 GB, free: 146.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/2.969, allocations: 0.6875 MB / 1.105 GB, free: 146.3 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.01437/2.984, allocations: 4.201 MB / 1.109 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009401/2.985, allocations: 223.6 kB / 1.109 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/2.985, allocations: 73.67 kB / 1.109 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1353/3.12, allocations: 40.35 MB / 1.149 GB, free: 124.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000819/3.121, allocations: 317.2 kB / 1.149 GB, free: 124 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.526e-06/3.121, allocations: 0 / 1.149 GB, free: 124 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.003126/3.124, allocations: 0.7475 MB / 1.15 GB, free: 123.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/3.124, allocations: 427.1 kB / 1.15 GB, free: 123.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/3.125, allocations: 148.4 kB / 1.15 GB, free: 123.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/3.125, allocations: 33.17 kB / 1.15 GB, free: 123 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.424e-05/3.125, allocations: 172.8 kB / 1.151 GB, free: 122.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.269e-05/3.125, allocations: 118.5 kB / 1.151 GB, free: 122.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/3.125, allocations: 4 kB / 1.151 GB, free: 122.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/3.125, allocations: 331.8 kB / 1.151 GB, free: 122.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/3.125, allocations: 62.42 kB / 1.151 GB, free: 122.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/3.125, allocations: 302.5 kB / 1.151 GB, free: 122.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/3.126, allocations: 116.6 kB / 1.151 GB, free: 122.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/3.126, allocations: 0 / 1.151 GB, free: 122.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009309/3.127, allocations: 372.9 kB / 1.152 GB, free: 121.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/3.127, allocations: 8.781 kB / 1.152 GB, free: 121.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/3.127, allocations: 7.812 kB / 1.152 GB, free: 121.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.224e-05/3.127, allocations: 11.66 kB / 1.152 GB, free: 121.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003191/3.13, allocations: 268.8 kB / 1.152 GB, free: 121.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005234/3.13, allocations: 1.18 MB / 1.153 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/3.131, allocations: 23.03 kB / 1.153 GB, free: 120.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.429e-05/3.131, allocations: 35.78 kB / 1.153 GB, free: 120.7 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.0001516/3.131, allocations: 147.1 kB / 1.153 GB, free: 120.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.172e-05/3.131, allocations: 22.53 kB / 1.153 GB, free: 120.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/3.133, allocations: 0.9751 MB / 1.154 GB, free: 120 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/3.133, allocations: 17.11 kB / 1.154 GB, free: 120 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/3.133, allocations: 3.953 kB / 1.154 GB, free: 120 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/3.133, allocations: 6.219 kB / 1.154 GB, free: 120 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04333/3.177, allocations: 12.44 MB / 1.167 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/3.177, allocations: 0 / 1.167 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/3.178, allocations: 138.5 kB / 1.167 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/3.178, allocations: 0 / 1.167 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/3.178, allocations: 12 kB / 1.167 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002533/3.179, allocations: 0.5898 MB / 1.167 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/3.179, allocations: 4 kB / 1.167 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008291/3.179, allocations: 0.626 MB / 1.168 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/3.18, allocations: 201.6 kB / 1.168 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.962e-05/3.18, allocations: 4 kB / 1.168 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/3.18, allocations: 15.89 kB / 1.168 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/3.18, allocations: 23.64 kB / 1.168 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/3.18, allocations: 19.7 kB / 1.168 GB, free: 109.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002904/3.181, allocations: 201.5 kB / 1.168 GB, free: 109 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/3.181, allocations: 0 / 1.168 GB, free: 109 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002627/3.183, allocations: 477 kB / 1.169 GB, free: 108.6 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.004017/3.187, allocations: 2.443 MB / 1.171 GB, free: 106.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001933/3.189, allocations: 377.9 kB / 1.172 GB, free: 105.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/3.189, allocations: 4 kB / 1.172 GB, free: 105.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009862/3.19, allocations: 232.2 kB / 1.172 GB, free: 105.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008645/3.191, allocations: 91.28 kB / 1.172 GB, free: 105.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.789/5.98, allocations: 0.6793 GB / 1.851 GB, free: 124.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/5.981, allocations: 0.8158 MB / 1.852 GB, free: 124.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007126/5.981, allocations: 165.9 kB / 1.852 GB, free: 124 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/5.982, allocations: 138.4 kB / 1.852 GB, free: 124 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/5.982, allocations: 0 / 1.852 GB, free: 124 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08024/6.062, allocations: 19.13 MB / 1.871 GB, free: 121.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/6.062, allocations: 205.1 kB / 1.871 GB, free: 120.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.607/9.669, allocations: 4 kB / 1.871 GB, free: 120.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat