Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.243/2.243, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.072e-05/5.091e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1302, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.738/1.869, allocations: 0.5451 GB / 0.9459 GB, free: 70.36 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/1.869, allocations: 83.55 kB / 0.9459 GB, free: 70.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6563/2.525, allocations: 108.4 MB / 1.052 GB, free: 172.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.703e-06/2.525, allocations: 0 / 1.052 GB, free: 172.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.423e-05/2.525, allocations: 3.719 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.00393/2.529, allocations: 1.02 MB / 1.053 GB, free: 171.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/2.529, allocations: 15.31 kB / 1.053 GB, free: 171.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.987e-05/2.529, allocations: 57.78 kB / 1.053 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000784/2.53, allocations: 73.25 kB / 1.053 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/2.531, allocations: 260 kB / 1.053 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/2.531, allocations: 22.62 kB / 1.053 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.073e-05/2.531, allocations: 26.92 kB / 1.053 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/2.532, allocations: 489.4 kB / 1.054 GB, free: 171 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/2.532, allocations: 4 kB / 1.054 GB, free: 171 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.03e-05/2.532, allocations: 11.94 kB / 1.054 GB, free: 171 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/2.532, allocations: 11.22 kB / 1.054 GB, free: 171 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/2.533, allocations: 0.6845 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.014/2.547, allocations: 5.378 MB / 1.06 GB, free: 167.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007008/2.548, allocations: 176.8 kB / 1.06 GB, free: 167.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/2.548, allocations: 58.22 kB / 1.06 GB, free: 167.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07464/2.623, allocations: 25.84 MB / 1.085 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007131/2.624, allocations: 300 kB / 1.085 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 3.376e-06/2.624, allocations: 0 / 1.085 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.001403/2.625, allocations: 349 kB / 1.086 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.688e-05/2.625, allocations: 427.2 kB / 1.086 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/2.625, allocations: 170 kB / 1.086 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/2.626, allocations: 33.7 kB / 1.086 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/2.626, allocations: 195.2 kB / 1.087 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.134e-05/2.626, allocations: 90.66 kB / 1.087 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/2.626, allocations: 8 kB / 1.087 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.784e-05/2.626, allocations: 330.8 kB / 1.087 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/2.626, allocations: 60.86 kB / 1.087 GB, free: 146 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/2.626, allocations: 305.9 kB / 1.087 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/2.627, allocations: 115.8 kB / 1.087 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/2.627, allocations: 0 / 1.087 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008564/2.627, allocations: 365.2 kB / 1.088 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/2.627, allocations: 12 kB / 1.088 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/2.627, allocations: 8 kB / 1.088 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/2.627, allocations: 12 kB / 1.088 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005537/2.628, allocations: 107.8 kB / 1.088 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.288e-05/2.628, allocations: 19.92 kB / 1.088 GB, free: 145 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004371/2.629, allocations: 52.06 kB / 1.088 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/2.629, allocations: 28 kB / 1.088 GB, free: 144.9 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.000124/2.629, allocations: 136.8 kB / 1.088 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/2.629, allocations: 27.8 kB / 1.088 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/2.63, allocations: 0.8213 MB / 1.089 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/2.63, allocations: 7.984 kB / 1.089 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/2.63, allocations: 0 / 1.089 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/2.63, allocations: 4 kB / 1.089 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04221/2.673, allocations: 12.24 MB / 1.101 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/2.673, allocations: 7.938 kB / 1.101 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/2.673, allocations: 27.98 kB / 1.101 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/2.673, allocations: 0 / 1.101 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/2.673, allocations: 8 kB / 1.101 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/2.673, allocations: 7.938 kB / 1.101 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/2.673, allocations: 4 kB / 1.101 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005087/2.673, allocations: 493.6 kB / 1.101 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/2.674, allocations: 192.3 kB / 1.102 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/2.674, allocations: 11.95 kB / 1.102 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/2.674, allocations: 8 kB / 1.102 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/2.674, allocations: 19.98 kB / 1.102 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/2.674, allocations: 7.984 kB / 1.102 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002882/2.674, allocations: 222.2 kB / 1.102 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/2.675, allocations: 0 / 1.102 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002126/2.677, allocations: 435.4 kB / 1.102 GB, free: 129 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.003253/2.68, allocations: 2.258 MB / 1.104 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005342/2.68, allocations: 229.7 kB / 1.105 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/2.68, allocations: 3.938 kB / 1.105 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/2.681, allocations: 99.91 kB / 1.105 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/2.681, allocations: 70.03 kB / 1.105 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.859/5.541, allocations: 0.7314 GB / 1.836 GB, free: 151 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/5.541, allocations: 0.8018 MB / 1.837 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006673/5.542, allocations: 156.1 kB / 1.837 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/5.542, allocations: 129 kB / 1.837 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.132e-06/5.542, allocations: 0 / 1.837 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04862/5.591, allocations: 17.51 MB / 1.854 GB, free: 149 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/5.591, allocations: 172.7 kB / 1.855 GB, free: 148.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.267/8.858, allocations: 0 / 1.855 GB, free: 148.8 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat