Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.435/2.435, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.873e-05/3.879e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1296, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.14/10.27, allocations: 3.309 GB / 3.709 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/10.27, allocations: 74.97 kB / 3.709 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1982/10.47, allocations: 52.18 MB / 3.76 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.543e-06/10.47, allocations: 3.938 kB / 3.76 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.681e-06/10.47, allocations: 0 / 3.76 GB, free: 107.8 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001032/10.47, allocations: 0.498 MB / 3.761 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/10.47, allocations: 8.031 kB / 3.761 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.595e-05/10.47, allocations: 38.56 kB / 3.761 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/10.47, allocations: 8 kB / 3.761 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.928e-05/10.47, allocations: 163.1 kB / 3.761 GB, free: 107 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/10.47, allocations: 3.953 kB / 3.761 GB, free: 107 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/10.47, allocations: 4 kB / 3.761 GB, free: 107 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/10.47, allocations: 77.59 kB / 3.761 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/10.47, allocations: 0 / 3.761 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/10.47, allocations: 0 / 3.761 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/10.47, allocations: 7.938 kB / 3.761 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/10.47, allocations: 51.97 kB / 3.761 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/10.47, allocations: 312.7 kB / 3.761 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.498e-05/10.47, allocations: 34.52 kB / 3.762 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/10.47, allocations: 12.86 kB / 3.762 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000232/10.47, allocations: 259.4 kB / 3.762 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/10.47, allocations: 30.56 kB / 3.762 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.024e-06/10.47, allocations: 4 kB / 3.762 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001745/10.47, allocations: 49.69 kB / 3.762 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/10.47, allocations: 51.41 kB / 3.762 GB, free: 106 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.74e-05/10.47, allocations: 92.95 kB / 3.762 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/10.47, allocations: 25.7 kB / 3.762 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/10.47, allocations: 103.9 kB / 3.762 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/10.47, allocations: 7.812 kB / 3.762 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/10.47, allocations: 0 / 3.762 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.918e-05/10.47, allocations: 322.8 kB / 3.762 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.068e-05/10.47, allocations: 7.984 kB / 3.762 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.587e-05/10.47, allocations: 35.38 kB / 3.762 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.091e-05/10.47, allocations: 11.98 kB / 3.762 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/10.47, allocations: 0 / 3.762 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001372/10.47, allocations: 73.62 kB / 3.763 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/10.47, allocations: 4 kB / 3.763 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/10.47, allocations: 0 / 3.763 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/10.47, allocations: 7.984 kB / 3.763 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.543e-05/10.47, allocations: 11.94 kB / 3.763 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/10.47, allocations: 4 kB / 3.763 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/10.47, allocations: 0 / 3.763 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/10.47, allocations: 7.953 kB / 3.763 GB, free: 105.2 MB / 0.5261 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 (7): * Single equations (assignments): 7 * 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 7.295e-05/10.47, allocations: 113.1 kB / 3.763 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/10.47, allocations: 15.84 kB / 3.763 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/10.47, allocations: 57.33 kB / 3.763 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/10.47, allocations: 4.328 kB / 3.763 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/10.47, allocations: 3.984 kB / 3.763 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/10.47, allocations: 0 / 3.763 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/10.47, allocations: 177.6 kB / 3.763 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/10.47, allocations: 0 / 3.763 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/10.47, allocations: 8 kB / 3.763 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/10.47, allocations: 0 / 3.763 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/10.47, allocations: 3.938 kB / 3.763 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/10.47, allocations: 3.984 kB / 3.763 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/10.47, allocations: 3.984 kB / 3.763 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/10.47, allocations: 143.5 kB / 3.763 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/10.47, allocations: 81.02 kB / 3.763 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/10.47, allocations: 8 kB / 3.763 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.971e-05/10.47, allocations: 8 kB / 3.763 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/10.47, allocations: 3.984 kB / 3.763 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/10.47, allocations: 4 kB / 3.763 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.853e-05/10.47, allocations: 79.28 kB / 3.763 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/10.47, allocations: 0 / 3.763 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009437/10.48, allocations: 183.8 kB / 3.763 GB, free: 104.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.001957/10.48, allocations: 1.319 MB / 3.765 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001714/10.48, allocations: 31.92 kB / 3.765 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/10.48, allocations: 0 / 3.765 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-05/10.48, allocations: 12 kB / 3.765 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/10.48, allocations: 0 / 3.765 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/10.48, allocations: 186.2 kB / 3.765 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/10.48, allocations: 0.685 MB / 3.766 GB, free: 102 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001087/10.48, allocations: 15.94 kB / 3.766 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.578e-05/10.48, allocations: 19.42 kB / 3.766 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.553e-06/10.48, allocations: 4 kB / 3.766 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03977/10.52, allocations: 14.21 MB / 3.78 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/10.52, allocations: 184.8 kB / 3.78 GB, free: 87.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.184/13.7, allocations: 64 / 3.78 GB, free: 87.54 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat does not exist to compare? outputFormat=mat