Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.526/2.526, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.576e-05, allocations: 0 / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4139, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.349/1.763, allocations: 461.2 MB / 0.8237 GB, free: 97.98 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/1.764, allocations: 79.31 kB / 0.8238 GB, free: 97.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1025/1.866, allocations: 29.78 MB / 0.8529 GB, free: 72.97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.284e-06/1.866, allocations: 4 kB / 0.8529 GB, free: 72.97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.247e-05/1.866, allocations: 0 / 0.8529 GB, free: 72.97 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00051/1.867, allocations: 390.5 kB / 0.8533 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.867, allocations: 8.031 kB / 0.8533 GB, free: 72.54 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.91e-05/1.867, allocations: 50.22 kB / 0.8533 GB, free: 72.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002747/1.869, allocations: 178.7 kB / 0.8535 GB, free: 72.33 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/1.87, allocations: 202.4 kB / 0.8537 GB, free: 72.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/1.87, allocations: 11.95 kB / 0.8537 GB, free: 72.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/1.87, allocations: 7.875 kB / 0.8537 GB, free: 72.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005615/1.87, allocations: 216.5 kB / 0.8539 GB, free: 71.92 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/1.871, allocations: 0 / 0.8539 GB, free: 71.92 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.191e-05/1.871, allocations: 7.875 kB / 0.8539 GB, free: 71.92 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/1.871, allocations: 0 / 0.8539 GB, free: 71.92 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/1.871, allocations: 149.9 kB / 0.8541 GB, free: 71.82 MB / 0.5105 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.001293/1.872, allocations: 0.5746 MB / 0.8546 GB, free: 71.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/1.873, allocations: 124.4 kB / 0.8547 GB, free: 71.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/1.873, allocations: 64.09 kB / 0.8548 GB, free: 71.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/1.873, allocations: 0 / 0.8548 GB, free: 71.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/1.873, allocations: 46.39 kB / 0.8548 GB, free: 71.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/1.873, allocations: 0 / 0.8548 GB, free: 71.06 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.007772/1.881, allocations: 1.086 MB / 0.8559 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/1.881, allocations: 59.34 kB / 0.856 GB, free: 69.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.287e-05/1.881, allocations: 104.8 kB / 0.8561 GB, free: 69.87 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/1.881, allocations: 29.52 kB / 0.8561 GB, free: 69.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/1.881, allocations: 103.7 kB / 0.8562 GB, free: 69.74 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.591e-05/1.881, allocations: 62.78 kB / 0.8562 GB, free: 69.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/1.881, allocations: 3.688 kB / 0.8563 GB, free: 69.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.352e-05/1.881, allocations: 322.8 kB / 0.8566 GB, free: 69.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/1.881, allocations: 58.44 kB / 0.8566 GB, free: 69.33 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/1.882, allocations: 102.3 kB / 0.8567 GB, free: 69.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/1.882, allocations: 76.84 kB / 0.8568 GB, free: 69.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.882, allocations: 0 / 0.8568 GB, free: 69.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006298/1.883, allocations: 245.7 kB / 0.857 GB, free: 69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/1.883, allocations: 11.95 kB / 0.857 GB, free: 68.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.883, allocations: 0 / 0.857 GB, free: 68.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/1.883, allocations: 48.2 kB / 0.8571 GB, free: 68.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/1.883, allocations: 59.98 kB / 0.8571 GB, free: 68.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004102/1.884, allocations: 0.5585 MB / 0.8577 GB, free: 68.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/1.884, allocations: 7.844 kB / 0.8577 GB, free: 68.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/1.884, allocations: 27.98 kB / 0.8577 GB, free: 68.28 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 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 prepare postOptimizeDAE: time 0.0001236/1.884, allocations: 127.7 kB / 0.8578 GB, free: 68.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/1.884, allocations: 7.906 kB / 0.8578 GB, free: 68.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/1.885, allocations: 335.6 kB / 0.8582 GB, free: 67.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/1.885, allocations: 4 kB / 0.8582 GB, free: 67.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.886, allocations: 4 kB / 0.8582 GB, free: 67.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/1.886, allocations: 0 / 0.8582 GB, free: 67.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/1.887, allocations: 0.6218 MB / 0.8588 GB, free: 67.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.887, allocations: 0 / 0.8588 GB, free: 67.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/1.887, allocations: 63.89 kB / 0.8588 GB, free: 67.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/1.887, allocations: 20.47 kB / 0.8589 GB, free: 67.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/1.888, allocations: 11.31 kB / 0.8589 GB, free: 67.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008413/1.888, allocations: 1.266 MB / 0.8601 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.888, allocations: 4.031 kB / 0.8601 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008117/1.889, allocations: 456.6 kB / 0.8605 GB, free: 65.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/1.889, allocations: 85.05 kB / 0.8606 GB, free: 65.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/1.889, allocations: 7.938 kB / 0.8606 GB, free: 65.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/1.89, allocations: 11.5 kB / 0.8606 GB, free: 65.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/1.89, allocations: 31.97 kB / 0.8607 GB, free: 65.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-05/1.89, allocations: 31.67 kB / 0.8607 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.119e-05/1.89, allocations: 95.06 kB / 0.8608 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.71e-07/1.89, allocations: 0 / 0.8608 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007185/1.891, allocations: 110.4 kB / 0.8609 GB, free: 65.08 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00206/1.893, allocations: 1.614 MB / 0.8625 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006752/1.893, allocations: 191.5 kB / 0.8627 GB, free: 63.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.893, allocations: 3.5 kB / 0.8627 GB, free: 63.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003862/1.894, allocations: 212.1 kB / 0.8629 GB, free: 63.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/1.895, allocations: 38.91 kB / 0.8629 GB, free: 63.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/1.896, allocations: 393.6 kB / 0.8633 GB, free: 62.74 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/1.896, allocations: 0.7204 MB / 0.864 GB, free: 62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007103/1.897, allocations: 73.17 kB / 0.8641 GB, free: 61.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003512/1.897, allocations: 65.28 kB / 0.8641 GB, free: 61.88 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/1.897, allocations: 0 / 0.8641 GB, free: 61.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0477/1.945, allocations: 15.71 MB / 0.8795 GB, free: 46.24 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/1.945, allocations: 184.5 kB / 0.8796 GB, free: 46 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/5.167, allocations: 4 kB / 0.8796 GB, free: 46 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat