Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.434/2.434, allocations: 270 MB / 283.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.49e-05/3.508e-05, allocations: 4 kB / 348.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3885, allocations: 61.87 MB / 410.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/1.655, allocations: 378.7 MB / 0.7705 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/1.655, allocations: 76.94 kB / 0.7706 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.07817/1.733, allocations: 21.7 MB / 0.7918 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.285e-06/1.733, allocations: 3.984 kB / 0.7918 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.373e-05/1.733, allocations: 4 kB / 0.7918 GB, free: 128.1 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001132/1.734, allocations: 0.5604 MB / 0.7923 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/1.734, allocations: 8.031 kB / 0.7923 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.547e-05/1.735, allocations: 57.86 kB / 0.7924 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/1.735, allocations: 27.8 kB / 0.7924 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/1.735, allocations: 238 kB / 0.7927 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/1.735, allocations: 119 kB / 0.7928 GB, free: 127 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/1.735, allocations: 23.81 kB / 0.7928 GB, free: 127 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005488/1.736, allocations: 306.1 kB / 0.7931 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/1.736, allocations: 7.938 kB / 0.7931 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/1.736, allocations: 7.812 kB / 0.7931 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/1.736, allocations: 8 kB / 0.7931 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009861/1.737, allocations: 0.7293 MB / 0.7938 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/1.738, allocations: 1.148 MB / 0.7949 GB, free: 125 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/1.739, allocations: 171.1 kB / 0.7951 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/1.739, allocations: 81.31 kB / 0.7952 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002699/1.742, allocations: 2.863 MB / 0.798 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/1.742, allocations: 38.36 kB / 0.798 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 2.515e-06/1.742, allocations: 0 / 0.798 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0007348/1.742, allocations: 200.3 kB / 0.7982 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/1.743, allocations: 51.41 kB / 0.7983 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/1.743, allocations: 194.2 kB / 0.7984 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/1.743, allocations: 33.45 kB / 0.7985 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.133e-05/1.743, allocations: 200.7 kB / 0.7987 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/1.743, allocations: 62.12 kB / 0.7987 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/1.743, allocations: 11 kB / 0.7987 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.354e-05/1.743, allocations: 329.9 kB / 0.799 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/1.743, allocations: 43.25 kB / 0.7991 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/1.743, allocations: 313.3 kB / 0.7994 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/1.744, allocations: 102.5 kB / 0.7995 GB, free: 120 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.744, allocations: 4 kB / 0.7995 GB, free: 120 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000703/1.744, allocations: 339.8 kB / 0.7998 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/1.744, allocations: 11.94 kB / 0.7998 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.744, allocations: 8 kB / 0.7998 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/1.744, allocations: 16 kB / 0.7998 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/1.745, allocations: 103.6 kB / 0.7999 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/1.745, allocations: 20 kB / 0.8 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/1.745, allocations: 22.84 kB / 0.8 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/1.745, allocations: 39.3 kB / 0.8 GB, free: 119.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * 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.227e-05/1.746, allocations: 135.5 kB / 0.8002 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/1.746, allocations: 23.8 kB / 0.8002 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004563/1.746, allocations: 181.2 kB / 0.8003 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/1.746, allocations: 8 kB / 0.8004 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.746, allocations: 0 / 0.8004 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.746, allocations: 0 / 0.8004 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006619/1.747, allocations: 449.5 kB / 0.8008 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/1.747, allocations: 8.031 kB / 0.8008 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/1.747, allocations: 31.92 kB / 0.8008 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/1.747, allocations: 4 kB / 0.8008 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/1.747, allocations: 0 / 0.8008 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/1.747, allocations: 7.984 kB / 0.8008 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.747, allocations: 3.953 kB / 0.8008 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/1.748, allocations: 263.9 kB / 0.8011 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/1.748, allocations: 107.7 kB / 0.8012 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/1.748, allocations: 4 kB / 0.8012 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/1.748, allocations: 15.39 kB / 0.8012 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/1.748, allocations: 7.984 kB / 0.8012 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/1.748, allocations: 12 kB / 0.8012 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001411/1.748, allocations: 147.8 kB / 0.8014 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/1.748, allocations: 0 / 0.8014 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007071/1.749, allocations: 98.61 kB / 0.8015 GB, free: 118 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 12 * Array equations: 1 * 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.0006472/1.75, allocations: 1.071 MB / 0.8025 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000353/1.75, allocations: 162.5 kB / 0.8027 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.75, allocations: 0.875 kB / 0.8027 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/1.75, allocations: 35 kB / 0.8027 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/1.751, allocations: 47.05 kB / 0.8027 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.769, allocations: 5.867 MB / 0.8085 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/1.77, allocations: 0.7326 MB / 0.8092 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004364/1.77, allocations: 58.81 kB / 0.8092 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/1.77, allocations: 55.48 kB / 0.8093 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/1.77, allocations: 0 / 0.8093 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/1.803, allocations: 5.509 MB / 0.8147 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/1.804, allocations: 151.5 kB / 0.8148 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/4.205, allocations: 0 / 0.8148 GB, free: 105.5 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat