Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.WriteRealMatrixToFile,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Utilities_Examples_WriteRealMatrixToFile",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.688/2.688, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.978e-05/3.001e-05, allocations: 2.75 kB / 249.7 MB, free: 5.246 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1217, allocations: 44.51 MB / 294.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4975/0.6194, allocations: 69.04 MB / 363.3 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.6197, allocations: 59.59 kB / 363.4 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003401/0.6231, allocations: 0.8211 MB / 364.2 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6231, allocations: 0 / 364.2 MB, free: 22.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.6232, allocations: 0 / 364.2 MB, free: 22.72 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003517/0.6235, allocations: 335.7 kB / 364.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.6236, allocations: 8.562 kB / 364.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.616e-05/0.6237, allocations: 40.36 kB / 364.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.6237, allocations: 8.422 kB / 364.6 MB, free: 22.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.6239, allocations: 173.7 kB / 364.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.6239, allocations: 3.328 kB / 364.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.6239, allocations: 2.562 kB / 364.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001572/0.6241, allocations: 43.83 kB / 364.8 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.6243, allocations: 106.4 kB / 364.9 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6244, allocations: 3.938 kB / 364.9 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.6244, allocations: 1.5 kB / 364.9 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.6244, allocations: 5.406 kB / 364.9 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.6248, allocations: 470.2 kB / 365.3 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.625, allocations: 125.1 kB / 365.5 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.6252, allocations: 80.61 kB / 365.6 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.6252, allocations: 5.469 kB / 365.6 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.6252, allocations: 32.06 kB / 365.6 MB, free: 21.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 3.437e-06/0.6253, allocations: 0 / 365.6 MB, free: 21.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006757/0.6259, allocations: 181.7 kB / 365.8 MB, free: 21.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.626, allocations: 139.3 kB / 365.9 MB, free: 21.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.6261, allocations: 102.4 kB / 366 MB, free: 21.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.6262, allocations: 25.7 kB / 366 MB, free: 21.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.6263, allocations: 90.38 kB / 366.1 MB, free: 20.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.6263, allocations: 20.55 kB / 366.1 MB, free: 20.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.6263, allocations: 1.094 kB / 366.1 MB, free: 20.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.6265, allocations: 316.5 kB / 366.4 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.6266, allocations: 40.5 kB / 366.5 MB, free: 20.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.6268, allocations: 66.36 kB / 366.5 MB, free: 20.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.627, allocations: 48.78 kB / 366.6 MB, free: 20.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.627, allocations: 1.281 kB / 366.6 MB, free: 20.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003955/0.6274, allocations: 129.9 kB / 366.7 MB, free: 20.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.6274, allocations: 5.344 kB / 366.7 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.6274, allocations: 5.156 kB / 366.7 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.6275, allocations: 2.312 kB / 366.7 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.845e-05/0.6275, allocations: 10.47 kB / 366.7 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.6276, allocations: 1.375 kB / 366.7 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.6276, allocations: 5.031 kB / 366.8 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.6277, allocations: 8.875 kB / 366.8 MB, free: 20.57 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (success1,$outputAlias_success1,success2,$outputAlias_success2,success3,$outputAlias_success3,success4,$outputAlias_success4) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001545/0.6279, allocations: 113 kB / 366.9 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.6281, allocations: 7.5 kB / 366.9 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.6281, allocations: 10.47 kB / 366.9 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.6282, allocations: 6.031 kB / 366.9 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.6282, allocations: 2.094 kB / 366.9 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.6282, allocations: 2.484 kB / 366.9 MB, free: 20.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.6299, allocations: 0.6162 MB / 367.5 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.6299, allocations: 3.984 kB / 367.5 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.6299, allocations: 9.719 kB / 367.5 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.63, allocations: 0 / 367.5 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.63, allocations: 4.562 kB / 367.5 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.63, allocations: 1.734 kB / 367.5 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.6301, allocations: 3.875 kB / 367.5 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008076/0.6309, allocations: 0.5285 MB / 368.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.607e-05/0.631, allocations: 82.52 kB / 368.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.631, allocations: 4.125 kB / 368.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/0.6315, allocations: 5.453 kB / 368.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.6316, allocations: 9.438 kB / 368.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.6316, allocations: 9.062 kB / 368.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.894e-05/0.6317, allocations: 92.11 kB / 368.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.6317, allocations: 0 / 368.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001001/0.6328, allocations: 12.25 kB / 368.3 MB, free: 19.35 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (success4,$outputAlias_success4,success3,$outputAlias_success3,success2,$outputAlias_success2,success1,$outputAlias_success1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001655/0.6344, allocations: 1.322 MB / 369.6 MB, free: 18.19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.6347, allocations: 79.11 kB / 369.7 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6348, allocations: 0 / 369.7 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.6349, allocations: 41.73 kB / 369.7 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006256/0.6355, allocations: 8.5 kB / 369.7 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.6367, allocations: 159.1 kB / 369.9 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.6372, allocations: 0.6909 MB / 370.6 MB, free: 17.35 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.762e-05/0.6372, allocations: 5.875 kB / 370.6 MB, free: 17.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.6373, allocations: 21.17 kB / 370.6 MB, free: 17.34 MB / 314.7 MB Notification: Performance of SimCode: time 1.483e-06/0.6374, allocations: 0 / 370.6 MB, free: 17.34 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09834/0.7357, allocations: 1.195 MB / 371.8 MB, free: 17.23 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002955/0.7361, allocations: 179.2 kB / 372 MB, free: 17.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.114/3.85, allocations: 0 / 372 MB, free: 17.04 MB / 314.7 MB