Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.714e-05/3.737e-05, allocations: 4 kB / 292.2 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1233, allocations: 50.41 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6413/0.7647, allocations: 187.4 MB / 0.5176 GB, free: 7.422 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.7651, allocations: 73.34 kB / 0.5176 GB, free: 7.367 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4107/1.176, allocations: 22.48 MB / 0.5396 GB, free: 157.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.963e-06/1.176, allocations: 0 / 0.5396 GB, free: 157.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.643e-05/1.176, allocations: 2.438 kB / 0.5396 GB, free: 157.8 MB / 442.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.0007476/1.177, allocations: 434.8 kB / 0.54 GB, free: 157.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/1.177, allocations: 8.969 kB / 0.54 GB, free: 157.4 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.837e-05/1.177, allocations: 44.23 kB / 0.5401 GB, free: 157.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005412/1.177, allocations: 38.73 kB / 0.5401 GB, free: 157.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/1.178, allocations: 196.2 kB / 0.5403 GB, free: 157.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/1.178, allocations: 7.094 kB / 0.5403 GB, free: 157.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/1.178, allocations: 9.25 kB / 0.5403 GB, free: 157.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/1.178, allocations: 125.5 kB / 0.5404 GB, free: 157 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/1.178, allocations: 0 / 0.5404 GB, free: 157 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/1.178, allocations: 9.297 kB / 0.5404 GB, free: 157 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/1.178, allocations: 6.938 kB / 0.5404 GB, free: 157 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/1.178, allocations: 105.8 kB / 0.5405 GB, free: 157 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008533/1.179, allocations: 0.6225 MB / 0.5411 GB, free: 156.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/1.18, allocations: 81.91 kB / 0.5412 GB, free: 156.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/1.18, allocations: 40.19 kB / 0.5413 GB, free: 156.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000713/1.18, allocations: 0.8035 MB / 0.5421 GB, free: 155.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/1.18, allocations: 32.09 kB / 0.5421 GB, free: 155.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 3.146e-06/1.18, allocations: 0 / 0.5421 GB, free: 155.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003774/1.181, allocations: 101.3 kB / 0.5422 GB, free: 155.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/1.181, allocations: 57.78 kB / 0.5422 GB, free: 155.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/1.181, allocations: 116.8 kB / 0.5423 GB, free: 155.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/1.181, allocations: 26.8 kB / 0.5424 GB, free: 155.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/1.181, allocations: 169.1 kB / 0.5425 GB, free: 154.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/1.181, allocations: 41.73 kB / 0.5426 GB, free: 154.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/1.181, allocations: 5.375 kB / 0.5426 GB, free: 154.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.235e-05/1.181, allocations: 315.7 kB / 0.5429 GB, free: 154.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.568e-05/1.181, allocations: 24.06 kB / 0.5429 GB, free: 154.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/1.181, allocations: 71.47 kB / 0.543 GB, free: 154.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/1.182, allocations: 31.09 kB / 0.543 GB, free: 154.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/1.182, allocations: 3.953 kB / 0.543 GB, free: 154.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003253/1.182, allocations: 137.8 kB / 0.5431 GB, free: 154.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.182, allocations: 6 kB / 0.5431 GB, free: 154.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.182, allocations: 1.156 kB / 0.5431 GB, free: 154.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/1.182, allocations: 2.312 kB / 0.5431 GB, free: 154.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/1.182, allocations: 32.75 kB / 0.5432 GB, free: 154.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/1.182, allocations: 3.375 kB / 0.5432 GB, free: 154.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/1.182, allocations: 11.22 kB / 0.5432 GB, free: 154.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/1.183, allocations: 19.11 kB / 0.5432 GB, free: 154.4 MB / 442.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.033e-05/1.183, allocations: 111.1 kB / 0.5433 GB, free: 154.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/1.183, allocations: 12.92 kB / 0.5433 GB, free: 154.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004629/1.183, allocations: 142.3 kB / 0.5435 GB, free: 154.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.183, allocations: 1.219 kB / 0.5435 GB, free: 154.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.183, allocations: 1.094 kB / 0.5435 GB, free: 154.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.183, allocations: 0 / 0.5435 GB, free: 154.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005898/1.184, allocations: 407.9 kB / 0.5439 GB, free: 153.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.184, allocations: 1.281 kB / 0.5439 GB, free: 153.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/1.184, allocations: 21.58 kB / 0.5439 GB, free: 153.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/1.184, allocations: 1 kB / 0.5439 GB, free: 153.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/1.184, allocations: 5 kB / 0.5439 GB, free: 153.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.184, allocations: 1.062 kB / 0.5439 GB, free: 153.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.184, allocations: 0 / 0.5439 GB, free: 153.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/1.184, allocations: 198.6 kB / 0.5441 GB, free: 153.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.128e-05/1.184, allocations: 107 kB / 0.5442 GB, free: 153.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/1.184, allocations: 1.125 kB / 0.5442 GB, free: 153.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/1.185, allocations: 1.188 kB / 0.5442 GB, free: 153.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/1.185, allocations: 16.67 kB / 0.5442 GB, free: 153.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/1.185, allocations: 4.344 kB / 0.5442 GB, free: 153.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.813e-05/1.185, allocations: 96.3 kB / 0.5443 GB, free: 153.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.185, allocations: 0 / 0.5443 GB, free: 153.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005644/1.185, allocations: 55.78 kB / 0.5443 GB, free: 153.4 MB / 442.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.0007804/1.186, allocations: 0.805 MB / 0.5451 GB, free: 152.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003286/1.186, allocations: 72.52 kB / 0.5452 GB, free: 152.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.186, allocations: 0 / 0.5452 GB, free: 152.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.986e-05/1.187, allocations: 36.97 kB / 0.5452 GB, free: 152.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/1.187, allocations: 43.08 kB / 0.5453 GB, free: 152.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007925/1.188, allocations: 199.4 kB / 0.5455 GB, free: 152.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/1.188, allocations: 0.6936 MB / 0.5461 GB, free: 151.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/1.188, allocations: 34.77 kB / 0.5462 GB, free: 151.7 MB / 442.7 MB Notification: Performance of SimCode: time 2.024e-06/1.188, allocations: 0 / 0.5462 GB, free: 151.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.549/3.738, allocations: 2.535 MB / 0.5486 GB, free: 150.4 MB / 442.7 MB