Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Utilities_TestFiles",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.27/3.27, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.169e-05/2.184e-05, allocations: 0 / 299.5 MB, free: 220 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4665, allocations: 54.86 MB / 354.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.6549, allocations: 78.94 MB / 433.3 MB, free: 240 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.6552, allocations: 63.97 kB / 433.4 MB, free: 176 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01106/0.6663, allocations: 1.936 MB / 435.3 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6664, allocations: 0 / 435.3 MB, free: 14.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.6664, allocations: 0 / 435.3 MB, free: 14.23 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.000465/0.6669, allocations: 372.2 kB / 435.7 MB, free: 13.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.667, allocations: 11.97 kB / 435.7 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.667, allocations: 30.56 kB / 435.8 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.6671, allocations: 3.953 kB / 435.8 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.6672, allocations: 163 kB / 435.9 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.6672, allocations: 4 kB / 435.9 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.6672, allocations: 0 / 435.9 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.704e-05/0.6673, allocations: 0 / 435.9 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.489e-05/0.6674, allocations: 33.69 kB / 436 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.6674, allocations: 0 / 436 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.6674, allocations: 7.938 kB / 436 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.6675, allocations: 3.953 kB / 436 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.6676, allocations: 122.2 kB / 436.1 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.021e-05/0.6677, allocations: 18.58 kB / 436.1 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.355e-05/0.6677, allocations: 12.89 kB / 436.1 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.118e-06/0.6677, allocations: 0 / 436.1 MB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.046e-05/0.6678, allocations: 56.27 kB / 436.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.964e-06/0.6678, allocations: 4 kB / 436.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002178/0.6681, allocations: 41.59 kB / 436.2 MB, free: 13.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.6681, allocations: 77.11 kB / 436.3 MB, free: 13.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.103e-05/0.6682, allocations: 85 kB / 436.4 MB, free: 13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.6682, allocations: 25.7 kB / 436.4 MB, free: 12.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.6683, allocations: 80.14 kB / 436.5 MB, free: 12.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.6683, allocations: 4 kB / 436.5 MB, free: 12.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.6683, allocations: 0 / 436.5 MB, free: 12.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.6685, allocations: 318.8 kB / 436.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.6685, allocations: 4 kB / 436.8 MB, free: 12.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.305e-06/0.6685, allocations: 0 / 436.8 MB, free: 12.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/0.6686, allocations: 0 / 436.8 MB, free: 12.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.6686, allocations: 0 / 436.8 MB, free: 12.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001204/0.6688, allocations: 41.62 kB / 436.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.64e-05/0.6688, allocations: 29.7 kB / 436.9 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6688, allocations: 0 / 436.9 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.6689, allocations: 0 / 436.9 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.88e-06/0.6689, allocations: 12.08 kB / 436.9 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.6689, allocations: 0 / 436.9 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/0.6689, allocations: 0 / 436.9 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.669, allocations: 0 / 436.9 MB, free: 12.47 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.0001193/0.6691, allocations: 134.6 kB / 437 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.6691, allocations: 3.984 kB / 437 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.964e-05/0.6691, allocations: 11.7 kB / 437 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.6692, allocations: 0 / 437 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.6692, allocations: 0 / 437 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6692, allocations: 7.938 kB / 437 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.6693, allocations: 126.2 kB / 437.2 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.6693, allocations: 7.953 kB / 437.2 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-06/0.6693, allocations: 3.938 kB / 437.2 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.6694, allocations: 0 / 437.2 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.6694, allocations: 0 / 437.2 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.6694, allocations: 3.984 kB / 437.2 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6694, allocations: 0 / 437.2 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.6696, allocations: 69.08 kB / 437.2 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.6697, allocations: 81.06 kB / 437.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.6697, allocations: 0 / 437.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.271e-05/0.6697, allocations: 3.984 kB / 437.3 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/0.6697, allocations: 0 / 437.3 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.6698, allocations: 4 kB / 437.3 MB, free: 11.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.229e-05/0.6698, allocations: 75.28 kB / 437.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6698, allocations: 0 / 437.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004475/0.6703, allocations: 43.98 kB / 437.4 MB, free: 11.82 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.00126/0.6716, allocations: 0.7317 MB / 438.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.6717, allocations: 55.41 kB / 438.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.6717, allocations: 0 / 438.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.997e-05/0.6718, allocations: 59.39 kB / 438.3 MB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.672, allocations: 7.984 kB / 438.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.6724, allocations: 102.2 kB / 438.4 MB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.6728, allocations: 0.6767 MB / 439.1 MB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.714e-06/0.6728, allocations: 0 / 439.1 MB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.6728, allocations: 7.438 kB / 439.1 MB, free: 10.11 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6728, allocations: 3.938 kB / 439.1 MB, free: 10.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04574/0.7186, allocations: 1.178 MB / 440.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003523/0.719, allocations: 170.7 kB / 440.4 MB, free: 8.723 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.164/3.883, allocations: 0 / 440.4 MB, free: 8.723 MB / 378.7 MB