Running command: "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.135/2.135, allocations: 214.7 MB / 226.9 MB, free: 1.305 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.745e-05/4.726e-05, allocations: 4 kB / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 49.7 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4936/0.6059, allocations: 76.51 MB / 405.8 MB, free: 6.879 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.6062, allocations: 63.28 kB / 405.8 MB, free: 6.848 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004694/0.6109, allocations: 1.128 MB / 407 MB, free: 5.844 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.611, allocations: 0 / 407 MB, free: 5.844 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.611, allocations: 0 / 407 MB, free: 5.844 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000357/0.6114, allocations: 372.8 kB / 407.3 MB, free: 5.441 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.6114, allocations: 8.031 kB / 407.3 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.76e-05/0.6115, allocations: 110 kB / 407.4 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.583e-05/0.6116, allocations: 87.17 kB / 407.5 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.6119, allocations: 278.5 kB / 407.8 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.86e-05/0.612, allocations: 150.6 kB / 407.9 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.612, allocations: 162.4 kB / 408.1 MB, free: 4.609 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.956e-05/0.6121, allocations: 101 kB / 408.2 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.6122, allocations: 79.28 kB / 408.3 MB, free: 4.426 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/0.6122, allocations: 154.3 kB / 408.4 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/0.6123, allocations: 154.6 kB / 408.6 MB, free: 4.125 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.277e-05/0.6124, allocations: 155.2 kB / 408.7 MB, free: 3.973 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.6128, allocations: 480.7 kB / 409.2 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.676e-05/0.6129, allocations: 165.1 kB / 409.4 MB, free: 3.293 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.792e-05/0.613, allocations: 84.14 kB / 409.4 MB, free: 3.207 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.6131, allocations: 75.28 kB / 409.5 MB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.885e-05/0.6132, allocations: 117.2 kB / 409.6 MB, free: 3.012 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 4.539e-06/0.6132, allocations: 2.297 kB / 409.6 MB, free: 3.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.000164/0.6134, allocations: 41.53 kB / 409.7 MB, free: 2.965 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.6135, allocations: 126.7 kB / 409.8 MB, free: 2.828 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/0.614, allocations: 211.8 kB / 410 MB, free: 2.633 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.614, allocations: 29.7 kB / 410 MB, free: 2.598 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.071e-05/0.6141, allocations: 116.6 kB / 410.1 MB, free: 2.504 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-06/0.6142, allocations: 0 / 410.1 MB, free: 2.504 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-07/0.6142, allocations: 0 / 410.1 MB, free: 2.504 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.6144, allocations: 326 kB / 410.5 MB, free: 2.184 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-06/0.6144, allocations: 0 / 410.5 MB, free: 2.184 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-06/0.6144, allocations: 0 / 410.5 MB, free: 2.184 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.215e-05/0.6145, allocations: 75.28 kB / 410.5 MB, free: 2.109 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.734e-05/0.6146, allocations: 79.28 kB / 410.6 MB, free: 2.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001546/0.6148, allocations: 41.52 kB / 410.7 MB, free: 1.984 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.524e-05/0.6149, allocations: 83.28 kB / 410.7 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.325e-05/0.6149, allocations: 83.17 kB / 410.8 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.035e-05/0.615, allocations: 150.6 kB / 411 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.332e-05/0.6151, allocations: 79.27 kB / 411 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-05/0.6151, allocations: 159 kB / 411.2 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.6153, allocations: 79.28 kB / 411.3 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.6153, allocations: 78.41 kB / 411.4 MB, free: 1.285 MB / 330.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001278/0.6155, allocations: 259.4 kB / 411.6 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.887e-05/0.6156, allocations: 123.8 kB / 411.7 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.872e-05/0.6157, allocations: 124.7 kB / 411.9 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.658e-05/0.6158, allocations: 184.2 kB / 412 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.742e-05/0.6159, allocations: 180.2 kB / 412.2 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.074e-05/0.616, allocations: 184.2 kB / 412.4 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.6164, allocations: 435.5 kB / 412.8 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.156e-05/0.6165, allocations: 101 kB / 412.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.6166, allocations: 110.6 kB / 413 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.609e-05/0.6167, allocations: 183.5 kB / 413.2 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.001e-05/0.6167, allocations: 184.1 kB / 413.4 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.178e-05/0.6168, allocations: 176.3 kB / 413.5 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.719e-05/0.6169, allocations: 184.2 kB / 413.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.6171, allocations: 314.5 kB / 414 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.6173, allocations: 193.8 kB / 414.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.69e-05/0.6174, allocations: 180.3 kB / 414.4 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.6175, allocations: 109 kB / 414.5 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.301e-05/0.6176, allocations: 184.2 kB / 414.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.218e-05/0.6177, allocations: 109.9 kB / 414.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002781/0.618, allocations: 174 kB / 415 MB, free: 13.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.618, allocations: 0 / 415 MB, free: 13.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000351/0.6184, allocations: 4 kB / 415 MB, free: 13.49 MB / 346.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0004844/0.6189, allocations: 0.8168 MB / 415.8 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 3.779e-05/0.6189, allocations: 3.938 kB / 415.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6189, allocations: 0 / 415.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.6189, allocations: 0 / 415.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.6193, allocations: 0.5221 MB / 416.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000667/0.62, allocations: 294.9 kB / 416.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.6204, allocations: 0.716 MB / 417.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.812e-05/0.6204, allocations: 0 / 417.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.6205, allocations: 27.48 kB / 417.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6205, allocations: 0 / 417.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.6414, allocations: 1.645 MB / 419 MB, free: 9.465 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003512/0.6418, allocations: 147.1 kB / 419.1 MB, free: 9.242 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/2.993, allocations: 3.938 kB / 419.1 MB, free: 9.238 MB / 346.7 MB