Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.044e-05/5.055e-05, allocations: 7.922 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1605, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.814/1.974, allocations: 0.5451 GB / 0.9459 GB, free: 70.41 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/1.974, allocations: 87.8 kB / 0.9459 GB, free: 70.36 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7254/2.7, allocations: 108.4 MB / 1.052 GB, free: 172.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.352e-06/2.7, allocations: 3.938 kB / 1.052 GB, free: 172.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.522e-05/2.7, allocations: 7.875 kB / 1.052 GB, free: 172.3 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.003856/2.704, allocations: 1.019 MB / 1.053 GB, free: 171.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/2.704, allocations: 11.88 kB / 1.053 GB, free: 171.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.171e-05/2.704, allocations: 61.91 kB / 1.053 GB, free: 171.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007428/2.705, allocations: 78.02 kB / 1.053 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/2.705, allocations: 244.9 kB / 1.053 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/2.705, allocations: 20.44 kB / 1.053 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.069e-05/2.705, allocations: 31.73 kB / 1.053 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/2.706, allocations: 495.6 kB / 1.054 GB, free: 171.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/2.706, allocations: 0 / 1.054 GB, free: 171.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/2.706, allocations: 15.91 kB / 1.054 GB, free: 171 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/2.706, allocations: 11.8 kB / 1.054 GB, free: 171 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/2.708, allocations: 0.676 MB / 1.054 GB, free: 170.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.01389/2.722, allocations: 5.377 MB / 1.06 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007192/2.722, allocations: 183 kB / 1.06 GB, free: 167.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/2.723, allocations: 60.67 kB / 1.06 GB, free: 167.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07331/2.796, allocations: 25.86 MB / 1.085 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007237/2.797, allocations: 296 kB / 1.085 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 3.367e-06/2.797, allocations: 0 / 1.085 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.00148/2.798, allocations: 353 kB / 1.086 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/2.798, allocations: 427.2 kB / 1.086 GB, free: 147 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/2.799, allocations: 170.1 kB / 1.086 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/2.799, allocations: 33.7 kB / 1.086 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/2.799, allocations: 191.2 kB / 1.087 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.614e-05/2.799, allocations: 90.73 kB / 1.087 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/2.799, allocations: 8 kB / 1.087 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.262e-05/2.799, allocations: 334.8 kB / 1.087 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/2.799, allocations: 56.88 kB / 1.087 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/2.799, allocations: 301.9 kB / 1.087 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/2.8, allocations: 111.8 kB / 1.087 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/2.8, allocations: 4 kB / 1.087 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008579/2.801, allocations: 361.1 kB / 1.088 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/2.801, allocations: 10.5 kB / 1.088 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/2.801, allocations: 8 kB / 1.088 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/2.801, allocations: 15.98 kB / 1.088 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/2.801, allocations: 108.5 kB / 1.088 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/2.801, allocations: 19.92 kB / 1.088 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/2.802, allocations: 51.53 kB / 1.088 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.377e-05/2.802, allocations: 28 kB / 1.088 GB, free: 145 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.0001265/2.802, allocations: 136.8 kB / 1.088 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/2.802, allocations: 31.8 kB / 1.088 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/2.803, allocations: 0.8098 MB / 1.089 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/2.804, allocations: 11.98 kB / 1.089 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/2.804, allocations: 4 kB / 1.089 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/2.804, allocations: 3.938 kB / 1.089 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04268/2.846, allocations: 12.23 MB / 1.101 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/2.846, allocations: 4 kB / 1.101 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/2.846, allocations: 31.92 kB / 1.101 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/2.846, allocations: 4 kB / 1.101 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/2.847, allocations: 4 kB / 1.101 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/2.847, allocations: 0 / 1.101 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/2.847, allocations: 4 kB / 1.101 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005145/2.847, allocations: 497.7 kB / 1.101 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/2.847, allocations: 184.3 kB / 1.102 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.592e-05/2.847, allocations: 12.05 kB / 1.102 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/2.848, allocations: 19.94 kB / 1.102 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/2.848, allocations: 19.91 kB / 1.102 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/2.848, allocations: 12 kB / 1.102 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002955/2.848, allocations: 218.2 kB / 1.102 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/2.848, allocations: 4 kB / 1.102 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002233/2.85, allocations: 427.4 kB / 1.102 GB, free: 129.1 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.003775/2.854, allocations: 2.257 MB / 1.104 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005834/2.855, allocations: 221.2 kB / 1.105 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/2.855, allocations: 0 / 1.105 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/2.855, allocations: 108.8 kB / 1.105 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007835/2.856, allocations: 76.09 kB / 1.105 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.94/5.796, allocations: 0.7314 GB / 1.836 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/5.796, allocations: 0.8013 MB / 1.837 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006711/5.797, allocations: 151.3 kB / 1.837 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/5.797, allocations: 125.7 kB / 1.837 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/5.797, allocations: 0 / 1.837 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05452/5.851, allocations: 17.52 MB / 1.854 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/5.852, allocations: 174.6 kB / 1.855 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.544/9.396, allocations: 0 / 1.855 GB, free: 148.6 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat