Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.497/2.497, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.393e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.359, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.901/2.26, allocations: 0.6416 GB / 0.9877 GB, free: 33.65 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/2.26, allocations: 82.89 kB / 0.9878 GB, free: 33.61 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6785/2.939, allocations: 108.5 MB / 1.094 GB, free: 136.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.904e-06/2.939, allocations: 0 / 1.094 GB, free: 136.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/2.939, allocations: 4 kB / 1.094 GB, free: 136.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.003861/2.943, allocations: 1.045 MB / 1.095 GB, free: 135.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/2.943, allocations: 8.031 kB / 1.095 GB, free: 135.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008015/2.943, allocations: 87.58 kB / 1.095 GB, free: 135.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/2.944, allocations: 242.7 kB / 1.095 GB, free: 135.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/2.944, allocations: 8 kB / 1.095 GB, free: 135.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/2.944, allocations: 16 kB / 1.095 GB, free: 135.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009865/2.945, allocations: 0.5827 MB / 1.096 GB, free: 134.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/2.945, allocations: 348.5 kB / 1.096 GB, free: 134.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/2.946, allocations: 3.938 kB / 1.096 GB, free: 134.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/2.946, allocations: 7.938 kB / 1.096 GB, free: 134.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/2.946, allocations: 8 kB / 1.096 GB, free: 134.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.08492/3.031, allocations: 29.49 MB / 1.125 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/3.031, allocations: 30.58 kB / 1.125 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/3.031, allocations: 16.98 kB / 1.125 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/3.045, allocations: 3.552 MB / 1.128 GB, free: 97.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/3.046, allocations: 67.39 kB / 1.128 GB, free: 97.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 2.895e-06/3.046, allocations: 0 / 1.128 GB, free: 97.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009841/3.047, allocations: 165.3 kB / 1.129 GB, free: 97.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/3.047, allocations: 55.41 kB / 1.129 GB, free: 97.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/3.047, allocations: 216.2 kB / 1.129 GB, free: 97.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/3.047, allocations: 29.7 kB / 1.129 GB, free: 97.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/3.047, allocations: 258.4 kB / 1.129 GB, free: 96.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/3.047, allocations: 27.7 kB / 1.129 GB, free: 96.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/3.047, allocations: 0 / 1.129 GB, free: 96.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.338e-05/3.047, allocations: 334.8 kB / 1.13 GB, free: 96.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/3.047, allocations: 52.86 kB / 1.13 GB, free: 96.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/3.048, allocations: 289.9 kB / 1.13 GB, free: 96.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/3.05, allocations: 219.6 kB / 1.13 GB, free: 95.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/3.05, allocations: 0 / 1.13 GB, free: 95.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002475/3.052, allocations: 449.5 kB / 1.13 GB, free: 95.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/3.052, allocations: 8 kB / 1.131 GB, free: 95.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/3.052, allocations: 11.98 kB / 1.131 GB, free: 95.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/3.052, allocations: 12 kB / 1.131 GB, free: 95.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/3.053, allocations: 107.8 kB / 1.131 GB, free: 95.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/3.053, allocations: 15.94 kB / 1.131 GB, free: 95.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/3.053, allocations: 55.31 kB / 1.131 GB, free: 95.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/3.053, allocations: 32.23 kB / 1.131 GB, free: 95.11 MB / 490.7 MB 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 9.829e-05/3.054, allocations: 128.8 kB / 1.131 GB, free: 94.98 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002797/3.054, allocations: 85.34 kB / 1.131 GB, free: 94.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/3.054, allocations: 19.8 kB / 1.131 GB, free: 94.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000384/3.054, allocations: 143.3 kB / 1.131 GB, free: 94.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/3.054, allocations: 3.938 kB / 1.131 GB, free: 94.72 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/3.054, allocations: 8 kB / 1.131 GB, free: 94.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/3.054, allocations: 7.938 kB / 1.131 GB, free: 94.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005871/3.055, allocations: 435.6 kB / 1.132 GB, free: 94.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/3.055, allocations: 0 / 1.132 GB, free: 94.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.341e-05/3.055, allocations: 8 kB / 1.132 GB, free: 94.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/3.055, allocations: 3.984 kB / 1.132 GB, free: 94.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/3.055, allocations: 4.25 kB / 1.132 GB, free: 94.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/3.055, allocations: 4 kB / 1.132 GB, free: 94.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/3.055, allocations: 3.953 kB / 1.132 GB, free: 94.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/3.055, allocations: 201.8 kB / 1.132 GB, free: 93.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/3.056, allocations: 124.9 kB / 1.132 GB, free: 93.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.927e-05/3.056, allocations: 0 / 1.132 GB, free: 93.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/3.056, allocations: 11.95 kB / 1.132 GB, free: 93.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/3.056, allocations: 11.98 kB / 1.132 GB, free: 93.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/3.056, allocations: 4 kB / 1.132 GB, free: 93.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000194/3.056, allocations: 174 kB / 1.132 GB, free: 93.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-07/3.056, allocations: 0 / 1.132 GB, free: 93.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001874/3.058, allocations: 419.3 kB / 1.132 GB, free: 93.24 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.003/3.061, allocations: 1.492 MB / 1.134 GB, free: 91.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003836/3.062, allocations: 149.5 kB / 1.134 GB, free: 91.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/3.062, allocations: 4.438 kB / 1.134 GB, free: 91.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.949e-05/3.062, allocations: 19.94 kB / 1.134 GB, free: 91.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/3.062, allocations: 24.88 kB / 1.134 GB, free: 91.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7334/3.795, allocations: 165.2 MB / 1.295 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/3.796, allocations: 0.7496 MB / 1.296 GB, free: 118.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008506/3.797, allocations: 221.1 kB / 1.296 GB, free: 118.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/3.797, allocations: 75.12 kB / 1.296 GB, free: 118.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/3.797, allocations: 0 / 1.296 GB, free: 118.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06386/3.861, allocations: 13.35 MB / 1.309 GB, free: 109.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002751/3.861, allocations: 168.6 kB / 1.31 GB, free: 109.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.27/7.131, allocations: 0 / 1.31 GB, free: 109.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat