Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 270 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.1e-05/4.087e-05, allocations: 7.984 kB / 348.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 61.88 MB / 410.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.32/2.457, allocations: 0.7324 GB / 1.133 GB, free: 85.06 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/2.458, allocations: 78.44 kB / 1.133 GB, free: 85.02 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2122/2.67, allocations: 63.51 MB / 1.195 GB, free: 24.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.713e-06/2.67, allocations: 0 / 1.195 GB, free: 24.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.459e-05/2.67, allocations: 4 kB / 1.195 GB, free: 24.37 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008215/2.671, allocations: 474.2 kB / 1.196 GB, free: 23.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/2.671, allocations: 16.02 kB / 1.196 GB, free: 23.84 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.147e-05/2.671, allocations: 50.55 kB / 1.196 GB, free: 23.78 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009904/2.681, allocations: 0.7175 MB / 1.196 GB, free: 23.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006533/2.682, allocations: 278.8 kB / 1.197 GB, free: 22.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/2.682, allocations: 8.328 kB / 1.197 GB, free: 22.74 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/2.682, allocations: 23.98 kB / 1.197 GB, free: 22.72 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/2.683, allocations: 0.6486 MB / 1.197 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/2.683, allocations: 0 / 1.197 GB, free: 22.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/2.684, allocations: 11.95 kB / 1.197 GB, free: 22.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/2.684, allocations: 12 kB / 1.197 GB, free: 22.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/2.686, allocations: 0.6911 MB / 1.198 GB, free: 21.34 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.004191/2.69, allocations: 1.203 MB / 1.199 GB, free: 20.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/2.69, allocations: 285.1 kB / 1.2 GB, free: 19.78 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004208/2.691, allocations: 193.6 kB / 1.2 GB, free: 19.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/2.692, allocations: 367.2 kB / 1.2 GB, free: 19.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/2.692, allocations: 38.5 kB / 1.2 GB, free: 19.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.026e-06/2.692, allocations: 3.938 kB / 1.2 GB, free: 19.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.001137/2.693, allocations: 368.7 kB / 1.2 GB, free: 18.76 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/2.693, allocations: 81.11 kB / 1.201 GB, free: 18.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/2.693, allocations: 121 kB / 1.201 GB, free: 18.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/2.694, allocations: 37.64 kB / 1.201 GB, free: 18.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/2.694, allocations: 116.2 kB / 1.201 GB, free: 18.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/2.694, allocations: 94.66 kB / 1.201 GB, free: 18.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/2.694, allocations: 11.94 kB / 1.201 GB, free: 18.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.267e-05/2.694, allocations: 322.8 kB / 1.201 GB, free: 17.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/2.694, allocations: 168 kB / 1.201 GB, free: 17.78 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/2.695, allocations: 256.8 kB / 1.202 GB, free: 17.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/2.695, allocations: 203.7 kB / 1.202 GB, free: 17.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/2.695, allocations: 4 kB / 1.202 GB, free: 17.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001207/2.697, allocations: 473.1 kB / 1.202 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/2.697, allocations: 11.55 kB / 1.202 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/2.697, allocations: 4 kB / 1.202 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/2.697, allocations: 8 kB / 1.202 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009588/2.698, allocations: 72.3 kB / 1.202 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/2.698, allocations: 15.98 kB / 1.202 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007631/2.698, allocations: 43.67 kB / 1.202 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.392e-05/2.698, allocations: 15.98 kB / 1.202 GB, free: 16.65 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001673/2.699, allocations: 131.6 kB / 1.203 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/2.699, allocations: 11.91 kB / 1.203 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/2.7, allocations: 457.9 kB / 1.203 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/2.7, allocations: 0 / 1.203 GB, free: 16.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/2.7, allocations: 8 kB / 1.203 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/2.7, allocations: 3.938 kB / 1.203 GB, free: 16.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/2.701, allocations: 0.4931 MB / 1.204 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/2.701, allocations: 0 / 1.204 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00095/2.702, allocations: 55.95 kB / 1.204 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/2.702, allocations: 7.891 kB / 1.204 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-05/2.702, allocations: 15.98 kB / 1.204 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/2.702, allocations: 7.938 kB / 1.204 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/2.702, allocations: 240 / 1.204 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/2.704, allocations: 0.6382 MB / 1.204 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/2.704, allocations: 88.95 kB / 1.204 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.743e-05/2.704, allocations: 11.98 kB / 1.204 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008198/2.705, allocations: 19.98 kB / 1.204 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/2.705, allocations: 19.97 kB / 1.204 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.467e-05/2.705, allocations: 19.98 kB / 1.204 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.85e-05/2.705, allocations: 99.64 kB / 1.204 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/2.705, allocations: 0 / 1.204 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001166/2.706, allocations: 215.8 kB / 1.205 GB, free: 14.26 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.003296/2.709, allocations: 1.906 MB / 1.207 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001018/2.71, allocations: 391.8 kB / 1.207 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/2.71, allocations: 3.938 kB / 1.207 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004408/2.711, allocations: 191.9 kB / 1.207 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009718/2.712, allocations: 80.72 kB / 1.207 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/2.714, allocations: 0.8844 MB / 1.208 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/2.714, allocations: 0.7445 MB / 1.209 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001214/2.716, allocations: 110 kB / 1.209 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/2.716, allocations: 67.41 kB / 1.209 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of SimCode: time 9.11e-07/2.716, allocations: 0 / 1.209 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.388/3.104, allocations: 20.18 MB / 1.229 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/3.104, allocations: 157.7 kB / 1.229 GB, free: 160.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.284/6.389, allocations: 0 / 1.229 GB, free: 160.5 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat