Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.293/2.293, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.388e-05, allocations: 4 kB / 269.4 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 47.57 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6152/0.7262, allocations: 190.6 MB / 0.4957 GB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.7266, allocations: 68.28 kB / 0.4958 GB, free: 14.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3818/1.108, allocations: 22.88 MB / 0.5181 GB, free: 154.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.936e-06/1.108, allocations: 1.312 kB / 0.5181 GB, free: 154.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/1.108, allocations: 1.438 kB / 0.5181 GB, free: 154.8 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00072/1.109, allocations: 440 kB / 0.5185 GB, free: 154.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/1.109, allocations: 10.44 kB / 0.5185 GB, free: 154.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/1.109, allocations: 40.84 kB / 0.5186 GB, free: 154.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005295/1.11, allocations: 30.66 kB / 0.5186 GB, free: 154.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/1.11, allocations: 195.8 kB / 0.5188 GB, free: 154.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/1.11, allocations: 7.531 kB / 0.5188 GB, free: 154.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/1.11, allocations: 9.531 kB / 0.5188 GB, free: 154.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/1.111, allocations: 131 kB / 0.5189 GB, free: 154.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.111, allocations: 0 / 0.5189 GB, free: 154.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/1.111, allocations: 6.281 kB / 0.5189 GB, free: 154.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/1.111, allocations: 2.5 kB / 0.5189 GB, free: 154.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/1.111, allocations: 103.4 kB / 0.519 GB, free: 154.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000854/1.112, allocations: 0.6384 MB / 0.5197 GB, free: 153.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/1.112, allocations: 81.94 kB / 0.5197 GB, free: 153.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.878e-05/1.112, allocations: 41.61 kB / 0.5198 GB, free: 153.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006983/1.113, allocations: 0.8078 MB / 0.5206 GB, free: 152.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/1.113, allocations: 31.72 kB / 0.5206 GB, free: 152.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 3.236e-06/1.113, allocations: 4 kB / 0.5206 GB, free: 152.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003541/1.113, allocations: 99.89 kB / 0.5207 GB, free: 152.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/1.113, allocations: 62.03 kB / 0.5208 GB, free: 152.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/1.113, allocations: 103.2 kB / 0.5209 GB, free: 152.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/1.114, allocations: 29.77 kB / 0.5209 GB, free: 152.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/1.114, allocations: 99.8 kB / 0.521 GB, free: 152.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/1.114, allocations: 43.53 kB / 0.521 GB, free: 152.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/1.114, allocations: 2.5 kB / 0.521 GB, free: 152.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.795e-05/1.114, allocations: 328.1 kB / 0.5213 GB, free: 151.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.372e-05/1.114, allocations: 22.94 kB / 0.5214 GB, free: 151.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/1.114, allocations: 72.56 kB / 0.5214 GB, free: 151.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/1.114, allocations: 32.09 kB / 0.5215 GB, free: 151.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.114, allocations: 0 / 0.5215 GB, free: 151.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003202/1.114, allocations: 136.3 kB / 0.5216 GB, free: 151.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.114, allocations: 5.344 kB / 0.5216 GB, free: 151.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.114, allocations: 3.672 kB / 0.5216 GB, free: 151.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/1.114, allocations: 1.781 kB / 0.5216 GB, free: 151.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/1.115, allocations: 32.7 kB / 0.5216 GB, free: 151.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/1.115, allocations: 2.25 kB / 0.5216 GB, free: 151.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/1.115, allocations: 20.41 kB / 0.5217 GB, free: 151.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/1.115, allocations: 6.688 kB / 0.5217 GB, free: 151.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.615e-05/1.115, allocations: 115.2 kB / 0.5218 GB, free: 151.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.104e-05/1.115, allocations: 11.84 kB / 0.5218 GB, free: 151.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/1.116, allocations: 146.1 kB / 0.5219 GB, free: 151.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/1.116, allocations: 4.938 kB / 0.5219 GB, free: 151.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/1.116, allocations: 1.125 kB / 0.5219 GB, free: 151.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.116, allocations: 0 / 0.5219 GB, free: 151.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/1.118, allocations: 390.1 kB / 0.5223 GB, free: 151.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.118, allocations: 4.875 kB / 0.5223 GB, free: 151.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/1.118, allocations: 20.28 kB / 0.5223 GB, free: 151.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/1.118, allocations: 5.312 kB / 0.5223 GB, free: 151.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/1.118, allocations: 5.094 kB / 0.5223 GB, free: 151.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/1.118, allocations: 4.953 kB / 0.5223 GB, free: 151.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.118, allocations: 4 kB / 0.5223 GB, free: 151.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/1.118, allocations: 203.1 kB / 0.5225 GB, free: 151.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.564e-05/1.118, allocations: 106.8 kB / 0.5226 GB, free: 151 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/1.118, allocations: 1.156 kB / 0.5226 GB, free: 151 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/1.118, allocations: 9.031 kB / 0.5226 GB, free: 151 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/1.119, allocations: 8.469 kB / 0.5227 GB, free: 151 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/1.119, allocations: 8.172 kB / 0.5227 GB, free: 151 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.427e-05/1.119, allocations: 91.91 kB / 0.5228 GB, free: 150.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.119, allocations: 1.125 kB / 0.5228 GB, free: 150.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005405/1.119, allocations: 66.69 kB / 0.5228 GB, free: 150.9 MB / 426.7 MB 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 (13): * Single equations (assignments): 13 * 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.00082/1.12, allocations: 0.7862 MB / 0.5236 GB, free: 150.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002946/1.12, allocations: 71.77 kB / 0.5237 GB, free: 150.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.12, allocations: 1 kB / 0.5237 GB, free: 150.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.616e-05/1.12, allocations: 46.22 kB / 0.5237 GB, free: 150.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006377/1.121, allocations: 45.89 kB / 0.5237 GB, free: 150.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006888/1.122, allocations: 161.8 kB / 0.5239 GB, free: 150.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/1.122, allocations: 0.6969 MB / 0.5246 GB, free: 149.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002613/1.122, allocations: 33.34 kB / 0.5246 GB, free: 149.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/1.122, allocations: 38.27 kB / 0.5246 GB, free: 149.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/1.122, allocations: 0.9688 kB / 0.5246 GB, free: 149.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/1.154, allocations: 3.381 MB / 0.5279 GB, free: 149 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/1.154, allocations: 155.9 kB / 0.5281 GB, free: 148.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.647/3.801, allocations: 0 / 0.5281 GB, free: 148.8 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat