Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Utilities_TestInternal",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.472/3.472, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.493e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5161/0.5162, allocations: 54.84 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2467/0.763, allocations: 79.06 MB / 433.5 MB, free: 44 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004211/0.7635, allocations: 56.05 kB / 433.5 MB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01337/0.7769, allocations: 1.66 MB / 435.2 MB, free: 14.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.777, allocations: 0 / 435.2 MB, free: 14.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.777, allocations: 4 kB / 435.2 MB, free: 14.32 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.0005702/0.7776, allocations: 356.2 kB / 435.5 MB, free: 13.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.12e-05/0.7777, allocations: 8.031 kB / 435.5 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.199e-05/0.7778, allocations: 30.56 kB / 435.6 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.7779, allocations: 7.953 kB / 435.6 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.7781, allocations: 167.1 kB / 435.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.7782, allocations: 4 kB / 435.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.7782, allocations: 0 / 435.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.39e-05/0.7783, allocations: 0 / 435.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.7784, allocations: 33.69 kB / 435.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.7785, allocations: 0 / 435.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.7785, allocations: 0 / 435.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.7785, allocations: 3.953 kB / 435.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/0.7788, allocations: 122.2 kB / 435.9 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.7e-05/0.7789, allocations: 26.55 kB / 435.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.779, allocations: 4.859 kB / 435.9 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.779, allocations: 0 / 435.9 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.807e-05/0.7791, allocations: 60.27 kB / 436 MB, free: 13.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 3.777e-06/0.7791, allocations: 0 / 436 MB, free: 13.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003102/0.7795, allocations: 37.75 kB / 436 MB, free: 13.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/0.7796, allocations: 81.14 kB / 436.1 MB, free: 13.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.7797, allocations: 88.91 kB / 436.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.7797, allocations: 25.7 kB / 436.2 MB, free: 13.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.7798, allocations: 80.14 kB / 436.3 MB, free: 13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.7799, allocations: 0 / 436.3 MB, free: 13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.7799, allocations: 0 / 436.3 MB, free: 13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.7801, allocations: 318.8 kB / 436.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.7802, allocations: 3.938 kB / 436.6 MB, free: 12.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.454e-05/0.7802, allocations: 0 / 436.6 MB, free: 12.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.001e-05/0.7803, allocations: 8.062 kB / 436.6 MB, free: 12.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.7804, allocations: 0 / 436.6 MB, free: 12.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002254/0.7806, allocations: 37.69 kB / 436.6 MB, free: 12.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.808e-05/0.7807, allocations: 33.64 kB / 436.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/0.7808, allocations: 0 / 436.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.393e-05/0.7808, allocations: 4 kB / 436.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.166e-06/0.7808, allocations: 0 / 436.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.7809, allocations: 0 / 436.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.916e-05/0.7809, allocations: 0 / 436.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.781, allocations: 3.938 kB / 436.7 MB, free: 12.57 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.0001866/0.7812, allocations: 138.7 kB / 436.8 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.7812, allocations: 3.984 kB / 436.8 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.7813, allocations: 11.69 kB / 436.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.7813, allocations: 0 / 436.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7813, allocations: 0 / 436.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.7814, allocations: 0 / 436.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.7816, allocations: 126.2 kB / 437 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.7816, allocations: 3.953 kB / 437 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.8e-05/0.7816, allocations: 3.938 kB / 437 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.7817, allocations: 4 kB / 437 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.7817, allocations: 0 / 437 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.527e-06/0.7817, allocations: 3.984 kB / 437 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.7817, allocations: 0 / 437 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.782, allocations: 61.14 kB / 437 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.7822, allocations: 81.06 kB / 437.1 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.7822, allocations: 0 / 437.1 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.609e-05/0.7823, allocations: 3.984 kB / 437.1 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.7823, allocations: 8.031 kB / 437.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.7824, allocations: 4 kB / 437.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.736e-05/0.7825, allocations: 75.28 kB / 437.2 MB, free: 11.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.91e-07/0.7825, allocations: 0 / 437.2 MB, free: 11.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006643/0.7832, allocations: 31.98 kB / 437.2 MB, free: 11.94 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.002141/0.7853, allocations: 0.7789 MB / 438 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.7856, allocations: 63.34 kB / 438.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.7856, allocations: 0 / 438.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.7857, allocations: 55.41 kB / 438.1 MB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.786, allocations: 0 / 438.1 MB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006265/0.7866, allocations: 97.25 kB / 438.2 MB, free: 10.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/0.7872, allocations: 0.6768 MB / 438.9 MB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.514e-05/0.7873, allocations: 0 / 438.9 MB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.7874, allocations: 7.438 kB / 438.9 MB, free: 10.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.963e-06/0.7874, allocations: 0 / 438.9 MB, free: 10.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04589/0.8333, allocations: 1.095 MB / 440 MB, free: 9.121 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004487/0.8338, allocations: 170.3 kB / 440.2 MB, free: 8.922 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.331/4.164, allocations: 0 / 440.2 MB, free: 8.922 MB / 378.7 MB