Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStreams,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Utilities_TestStreams",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.179/3.179, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.579e-05/2.583e-05, allocations: 0 / 299.5 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4451, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2733/0.7185, allocations: 79.25 MB / 433.7 MB, free: 15.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003675/0.7189, allocations: 63.97 kB / 433.7 MB, free: 15.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01686/0.7358, allocations: 2.287 MB / 436 MB, free: 13.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.7359, allocations: 0 / 436 MB, free: 13.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.7359, allocations: 0 / 436 MB, free: 13.47 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.000672/0.7366, allocations: 368.7 kB / 436.4 MB, free: 13.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.593e-05/0.7367, allocations: 12.03 kB / 436.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.013e-05/0.7368, allocations: 30.56 kB / 436.4 MB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.7369, allocations: 3.953 kB / 436.4 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.7372, allocations: 167.1 kB / 436.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.7372, allocations: 0 / 436.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.7372, allocations: 0 / 436.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.156e-05/0.7373, allocations: 4 kB / 436.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.7375, allocations: 29.69 kB / 436.6 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.7375, allocations: 0 / 436.6 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.7376, allocations: 0 / 436.6 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.7376, allocations: 3.953 kB / 436.6 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006431/0.7383, allocations: 130.2 kB / 436.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.7385, allocations: 26.52 kB / 436.8 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.7386, allocations: 4.859 kB / 436.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.7386, allocations: 0 / 436.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.7387, allocations: 60.36 kB / 436.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.021e-05/0.7388, allocations: 0 / 436.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0006725/0.7395, allocations: 33.69 kB / 436.9 MB, free: 12.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.702e-05/0.7397, allocations: 81.11 kB / 436.9 MB, free: 12.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.7398, allocations: 92.94 kB / 437 MB, free: 12.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.7398, allocations: 25.7 kB / 437.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.7399, allocations: 80.14 kB / 437.1 MB, free: 12.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.74, allocations: 0 / 437.1 MB, free: 12.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.74, allocations: 0 / 437.1 MB, free: 12.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.7402, allocations: 326.7 kB / 437.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.7403, allocations: 4 kB / 437.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.418e-05/0.7403, allocations: 0 / 437.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.7405, allocations: 4.062 kB / 437.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.7405, allocations: 3.938 kB / 437.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002512/0.7408, allocations: 37.69 kB / 437.5 MB, free: 11.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.406e-05/0.7409, allocations: 33.7 kB / 437.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.7409, allocations: 0 / 437.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.741, allocations: 0 / 437.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-06/0.741, allocations: 0 / 437.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.741, allocations: 0 / 437.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.544e-05/0.7411, allocations: 0 / 437.5 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.7411, allocations: 0 / 437.5 MB, free: 11.71 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.0001903/0.7413, allocations: 138.7 kB / 437.7 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.7414, allocations: 3.938 kB / 437.7 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.7414, allocations: 11.69 kB / 437.7 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.7415, allocations: 0 / 437.7 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.7415, allocations: 0 / 437.7 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.7415, allocations: 4 kB / 437.7 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.7417, allocations: 126.2 kB / 437.8 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.7418, allocations: 3.953 kB / 437.8 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-06/0.7418, allocations: 3.938 kB / 437.8 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.7418, allocations: 0 / 437.8 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.7419, allocations: 4 kB / 437.8 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.7419, allocations: 0 / 437.8 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.7419, allocations: 7.984 kB / 437.8 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.7422, allocations: 53.14 kB / 437.9 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.433e-05/0.7423, allocations: 89.05 kB / 438 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.7424, allocations: 4 kB / 438 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.928e-05/0.7424, allocations: 0 / 438 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.7425, allocations: 4.031 kB / 438 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.7425, allocations: 0 / 438 MB, free: 11.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.484e-05/0.7426, allocations: 75.28 kB / 438.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.012e-06/0.7426, allocations: 0 / 438.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007816/0.7434, allocations: 39.98 kB / 438.1 MB, free: 11.07 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.002274/0.7458, allocations: 0.7899 MB / 438.9 MB, free: 10.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.746, allocations: 55.41 kB / 438.9 MB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.746, allocations: 0 / 438.9 MB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.497e-05/0.7462, allocations: 51.41 kB / 439 MB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.7464, allocations: 15.88 kB / 439 MB, free: 10.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007234/0.7472, allocations: 93.23 kB / 439.1 MB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.7477, allocations: 0.6768 MB / 439.8 MB, free: 9.332 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.158e-05/0.7477, allocations: 0 / 439.8 MB, free: 9.332 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.7478, allocations: 7.562 kB / 439.8 MB, free: 9.324 MB / 378.7 MB Notification: Performance of SimCode: time 1.913e-06/0.7478, allocations: 4 kB / 439.8 MB, free: 9.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05585/0.8037, allocations: 1.285 MB / 441.1 MB, free: 8.047 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003881/0.8041, allocations: 177.1 kB / 441.2 MB, free: 7.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.082/3.886, allocations: 4 kB / 441.2 MB, free: 7.836 MB / 378.7 MB