Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Utilities_TestReadFile",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.163/3.163, allocations: 235.2 MB / 242.3 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.904e-05/2.926e-05, allocations: 0 / 299.5 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4823/0.4824, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2173/0.6998, allocations: 78.9 MB / 433.3 MB, free: 180 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.7001, allocations: 59.97 kB / 433.4 MB, free: 120 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0105/0.7106, allocations: 1.97 MB / 435.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7107, allocations: 0 / 435.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.7107, allocations: 3.938 kB / 435.3 MB, free: 14.14 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004102/0.7111, allocations: 364.2 kB / 435.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.7112, allocations: 12.03 kB / 435.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.612e-05/0.7113, allocations: 30.56 kB / 435.7 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.7113, allocations: 7.859 kB / 435.7 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.7115, allocations: 159.1 kB / 435.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.7115, allocations: 0 / 435.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.7116, allocations: 0 / 435.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.726e-05/0.7116, allocations: 4 kB / 435.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.489e-05/0.7117, allocations: 29.64 kB / 435.9 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.7117, allocations: 8 kB / 435.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.7117, allocations: 3.984 kB / 435.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.7118, allocations: 3.953 kB / 435.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.7119, allocations: 126.2 kB / 436.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.305e-05/0.712, allocations: 18.58 kB / 436.1 MB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.712, allocations: 4.953 kB / 436.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.7121, allocations: 4 kB / 436.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.874e-05/0.7121, allocations: 60.27 kB / 436.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.444e-06/0.7122, allocations: 0 / 436.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002386/0.7124, allocations: 41.62 kB / 436.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/0.7125, allocations: 77.11 kB / 436.3 MB, free: 13.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.507e-05/0.7126, allocations: 85 kB / 436.4 MB, free: 12.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.7127, allocations: 25.7 kB / 436.4 MB, free: 12.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.7127, allocations: 84.14 kB / 436.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.7128, allocations: 8.156 kB / 436.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/0.7128, allocations: 0 / 436.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.7129, allocations: 314.8 kB / 436.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.713, allocations: 0 / 436.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-06/0.713, allocations: 0 / 436.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.723e-05/0.7131, allocations: 7.984 kB / 436.8 MB, free: 12.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7131, allocations: 0 / 436.8 MB, free: 12.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001243/0.7132, allocations: 33.7 kB / 436.8 MB, free: 12.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.152e-05/0.7133, allocations: 29.7 kB / 436.8 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.7133, allocations: 8.078 kB / 436.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.7133, allocations: 0 / 436.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-06/0.7133, allocations: 3.984 kB / 436.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.7134, allocations: 3.938 kB / 436.9 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.7134, allocations: 4 kB / 436.9 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.7134, allocations: 3.938 kB / 436.9 MB, free: 12.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001188/0.7136, allocations: 134.6 kB / 437 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.7136, allocations: 4 kB / 437 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.772e-05/0.7136, allocations: 7.703 kB / 437 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.7136, allocations: 7.938 kB / 437 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7137, allocations: 0 / 437 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.7137, allocations: 0 / 437 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.7138, allocations: 130.2 kB / 437.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.7138, allocations: 4 kB / 437.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-06/0.7139, allocations: 0 / 437.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.7139, allocations: 0 / 437.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.7139, allocations: 0 / 437.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7139, allocations: 0 / 437.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.7139, allocations: 0 / 437.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.7141, allocations: 69.12 kB / 437.2 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.7142, allocations: 81.06 kB / 437.3 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.7142, allocations: 0 / 437.3 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.672e-05/0.7142, allocations: 0 / 437.3 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.7143, allocations: 4 kB / 437.3 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.7143, allocations: 0 / 437.3 MB, free: 11.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.292e-05/0.7144, allocations: 79.22 kB / 437.4 MB, free: 11.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.7144, allocations: 4.125 kB / 437.4 MB, free: 11.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003924/0.7148, allocations: 31.97 kB / 437.4 MB, free: 11.75 MB / 378.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001054/0.7158, allocations: 0.6991 MB / 438.1 MB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.716, allocations: 55.41 kB / 438.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.716, allocations: 0 / 438.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.276e-05/0.7161, allocations: 67.39 kB / 438.2 MB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.7162, allocations: 3.938 kB / 438.2 MB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.7186, allocations: 0.519 MB / 438.8 MB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.719, allocations: 0.6768 MB / 439.4 MB, free: 9.641 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.342e-05/0.7191, allocations: 0 / 439.4 MB, free: 9.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.7191, allocations: 7.438 kB / 439.4 MB, free: 9.633 MB / 378.7 MB Notification: Performance of SimCode: time 1.383e-06/0.7191, allocations: 0 / 439.4 MB, free: 9.633 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2008/0.9199, allocations: 1 MB / 440.4 MB, free: 8.641 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003134/0.9203, allocations: 166.4 kB / 440.6 MB, free: 8.445 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.197/4.118, allocations: 32 / 440.6 MB, free: 8.445 MB / 378.7 MB