Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.305/2.305, allocations: 235.1 MB / 242.3 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.473e-05/2.464e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3702, allocations: 54.85 MB / 354.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.702/8.072, allocations: 2.583 GB / 2.929 GB, free: 113.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/8.073, allocations: 76.48 kB / 2.929 GB, free: 113.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.314/9.386, allocations: 211.7 MB / 3.136 GB, free: 95.24 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.703e-06/9.386, allocations: 0 / 3.136 GB, free: 95.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/9.386, allocations: 3.719 kB / 3.136 GB, free: 95.24 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.009088/9.395, allocations: 1.74 MB / 3.137 GB, free: 94.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/9.396, allocations: 11.34 kB / 3.137 GB, free: 94.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002365/9.398, allocations: 186.1 kB / 3.138 GB, free: 94.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/9.398, allocations: 267.8 kB / 3.138 GB, free: 94.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/9.398, allocations: 8.141 kB / 3.138 GB, free: 94.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/9.399, allocations: 22.8 kB / 3.138 GB, free: 94.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001025/9.4, allocations: 480.3 kB / 3.138 GB, free: 94.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007089/9.4, allocations: 377.1 kB / 3.139 GB, free: 93.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/9.4, allocations: 3.797 kB / 3.139 GB, free: 93.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-05/9.4, allocations: 3.688 kB / 3.139 GB, free: 93.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/9.4, allocations: 7.562 kB / 3.139 GB, free: 93.96 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.5997/10, allocations: 127.8 MB / 3.264 GB, free: 17.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/10, allocations: 71.86 kB / 3.264 GB, free: 17.39 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/10, allocations: 31.02 kB / 3.264 GB, free: 17.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5253/10.53, allocations: 46.15 MB / 3.309 GB, free: 81.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/10.53, allocations: 110.1 kB / 3.309 GB, free: 81.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 2.214e-06/10.53, allocations: 1.75 kB / 3.309 GB, free: 81.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.004097/10.53, allocations: 0.5851 MB / 3.309 GB, free: 81.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/10.53, allocations: 83.05 kB / 3.309 GB, free: 81.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/10.53, allocations: 223.8 kB / 3.31 GB, free: 81.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/10.53, allocations: 29.89 kB / 3.31 GB, free: 81.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/10.53, allocations: 243.1 kB / 3.31 GB, free: 81.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/10.53, allocations: 51.33 kB / 3.31 GB, free: 81.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/10.53, allocations: 0 / 3.31 GB, free: 81.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.027e-05/10.53, allocations: 329 kB / 3.31 GB, free: 81.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/10.53, allocations: 65.88 kB / 3.31 GB, free: 81.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/10.53, allocations: 333 kB / 3.311 GB, free: 80.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/10.53, allocations: 207.8 kB / 3.311 GB, free: 80.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/10.53, allocations: 5.594 kB / 3.311 GB, free: 80.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002478/10.54, allocations: 478.3 kB / 3.311 GB, free: 80.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/10.54, allocations: 15.92 kB / 3.311 GB, free: 80.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/10.54, allocations: 11.77 kB / 3.311 GB, free: 80.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/10.54, allocations: 16.69 kB / 3.311 GB, free: 80.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/10.54, allocations: 216.9 kB / 3.312 GB, free: 80.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003826/10.54, allocations: 0.6014 MB / 3.312 GB, free: 80.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009972/10.54, allocations: 20.09 kB / 3.312 GB, free: 80.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.371e-05/10.54, allocations: 43.72 kB / 3.312 GB, free: 80.08 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001574/10.54, allocations: 129.4 kB / 3.312 GB, free: 79.98 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009213/10.54, allocations: 169.6 kB / 3.313 GB, free: 79.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/10.54, allocations: 21.03 kB / 3.313 GB, free: 79.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/10.54, allocations: 0.7925 MB / 3.313 GB, free: 79.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/10.54, allocations: 12.53 kB / 3.313 GB, free: 79.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/10.54, allocations: 0 / 3.313 GB, free: 79.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/10.54, allocations: 7.328 kB / 3.313 GB, free: 79.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005509/10.54, allocations: 421 kB / 3.314 GB, free: 79.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/10.54, allocations: 0 / 3.314 GB, free: 79.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007215/10.54, allocations: 50.08 kB / 3.314 GB, free: 79.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000382/10.54, allocations: 227.2 kB / 3.314 GB, free: 79.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/10.54, allocations: 11.88 kB / 3.314 GB, free: 79.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004161/10.54, allocations: 0.6568 MB / 3.315 GB, free: 79.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/10.54, allocations: 3.875 kB / 3.315 GB, free: 79.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009414/10.55, allocations: 0.5831 MB / 3.315 GB, free: 78.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/10.55, allocations: 146.1 kB / 3.315 GB, free: 78.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/10.55, allocations: 3.75 kB / 3.315 GB, free: 78.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/10.55, allocations: 8.906 kB / 3.315 GB, free: 78.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/10.55, allocations: 11.09 kB / 3.315 GB, free: 78.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/10.55, allocations: 11.64 kB / 3.315 GB, free: 78.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003241/10.55, allocations: 220.2 kB / 3.316 GB, free: 78.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.422e-06/10.55, allocations: 3.969 kB / 3.316 GB, free: 78.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007519/10.55, allocations: 1.592 MB / 3.317 GB, free: 78.72 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: 5 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01606/10.57, allocations: 2.921 MB / 3.32 GB, free: 77.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009482/10.57, allocations: 309.6 kB / 3.32 GB, free: 77.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/10.57, allocations: 3.25 kB / 3.32 GB, free: 77.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/10.57, allocations: 155.5 kB / 3.32 GB, free: 77.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/10.57, allocations: 41.55 kB / 3.321 GB, free: 77.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006299/10.58, allocations: 1.147 MB / 3.322 GB, free: 77.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/10.58, allocations: 0.8037 MB / 3.322 GB, free: 76.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00239/10.58, allocations: 1.128 MB / 3.324 GB, free: 76.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/10.58, allocations: 133.7 kB / 3.324 GB, free: 76.65 MB / 490.7 MB Notification: Performance of SimCode: time 1.001e-06/10.58, allocations: 0 / 3.324 GB, free: 76.65 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1209/10.7, allocations: 40.71 MB / 3.363 GB, free: 74.73 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003178/10.7, allocations: 168.7 kB / 3.364 GB, free: 74.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.317/15.02, allocations: 0.625 kB / 3.364 GB, free: 74.54 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat