Running command: "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.192/2.192, allocations: 214.7 MB / 226.9 MB, free: 1.301 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.693e-05, allocations: 4 kB / 279.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 49.71 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4544/0.5679, allocations: 76.45 MB / 405.7 MB, free: 6.941 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.5683, allocations: 62.91 kB / 405.8 MB, free: 6.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005532/0.5738, allocations: 1.122 MB / 406.9 MB, free: 5.914 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5739, allocations: 0 / 406.9 MB, free: 5.914 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.5739, allocations: 0 / 406.9 MB, free: 5.914 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004273/0.5743, allocations: 369.1 kB / 407.3 MB, free: 5.512 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.5744, allocations: 8.031 kB / 407.3 MB, free: 5.504 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.43e-05/0.5745, allocations: 42.36 kB / 407.3 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.5745, allocations: 11.81 kB / 407.3 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.5748, allocations: 206.8 kB / 407.5 MB, free: 5.207 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.5748, allocations: 6.875 kB / 407.5 MB, free: 5.203 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.5749, allocations: 7.953 kB / 407.5 MB, free: 5.195 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.575, allocations: 41.25 kB / 407.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.575, allocations: 0 / 407.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.575, allocations: 0 / 407.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.575, allocations: 0 / 407.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.403e-05/0.5751, allocations: 11.98 kB / 407.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.5754, allocations: 185.6 kB / 407.8 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.972e-05/0.5755, allocations: 33.38 kB / 407.8 MB, free: 4.883 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/0.5755, allocations: 19.86 kB / 407.8 MB, free: 4.863 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.5756, allocations: 4.5 kB / 407.8 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.5756, allocations: 30.56 kB / 407.9 MB, free: 4.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.5756, allocations: 0 / 407.9 MB, free: 4.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001977/0.5758, allocations: 58.84 kB / 407.9 MB, free: 4.762 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.5759, allocations: 55.39 kB / 408 MB, free: 4.695 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.5762, allocations: 195.6 kB / 408.2 MB, free: 4.523 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.5763, allocations: 25.7 kB / 408.2 MB, free: 4.492 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.207e-05/0.5764, allocations: 111.5 kB / 408.3 MB, free: 4.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.5764, allocations: 15.88 kB / 408.3 MB, free: 4.383 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.5764, allocations: 0 / 408.3 MB, free: 4.383 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5766, allocations: 321.5 kB / 408.6 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.133e-05/0.5766, allocations: 7.984 kB / 408.6 MB, free: 4.059 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.5767, allocations: 7.438 kB / 408.6 MB, free: 4.055 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.139e-05/0.5767, allocations: 7.984 kB / 408.6 MB, free: 4.047 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5767, allocations: 0 / 408.6 MB, free: 4.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001413/0.5769, allocations: 53.03 kB / 408.7 MB, free: 3.992 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.5769, allocations: 15.95 kB / 408.7 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5769, allocations: 0 / 408.7 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.577, allocations: 0 / 408.7 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.5771, allocations: 6.062 kB / 408.7 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.5771, allocations: 0 / 408.7 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.929e-05/0.5772, allocations: 7.984 kB / 408.7 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.5773, allocations: 0 / 408.7 MB, free: 3.965 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 (3): * Single equations (assignments): 3 * 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 9.701e-05/0.5774, allocations: 108.4 kB / 408.8 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.5774, allocations: 15.81 kB / 408.8 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.5776, allocations: 73.86 kB / 408.9 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.5777, allocations: 0 / 408.9 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5777, allocations: 3.938 kB / 408.9 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5777, allocations: 0 / 408.9 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.5779, allocations: 184.6 kB / 409.1 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5779, allocations: 4 kB / 409.1 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.578, allocations: 7.984 kB / 409.1 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.578, allocations: 3.938 kB / 409.1 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.578, allocations: 0 / 409.1 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.5781, allocations: 3.953 kB / 409.1 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.5781, allocations: 7.984 kB / 409.1 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.5782, allocations: 80.53 kB / 409.2 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.5783, allocations: 97.66 kB / 409.3 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.5784, allocations: 4 kB / 409.3 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.5785, allocations: 0 / 409.3 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.5785, allocations: 7.938 kB / 409.3 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.5785, allocations: 4 kB / 409.3 MB, free: 3.289 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002237/0.5788, allocations: 165.2 kB / 409.5 MB, free: 3.148 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5788, allocations: 4 kB / 409.5 MB, free: 3.145 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002745/0.5791, allocations: 8 kB / 409.5 MB, free: 3.137 MB / 330.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 (3): * Single equations (assignments): 3 * 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.0004974/0.5796, allocations: 0.6159 MB / 410.1 MB, free: 2.496 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.5797, allocations: 19.69 kB / 410.1 MB, free: 2.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5797, allocations: 0 / 410.1 MB, free: 2.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.484e-05/0.5797, allocations: 15.98 kB / 410.1 MB, free: 2.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.5799, allocations: 9.969 kB / 410.2 MB, free: 2.461 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005724/0.5805, allocations: 190.6 kB / 410.3 MB, free: 2.242 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.5809, allocations: 0.7082 MB / 411 MB, free: 1.508 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.438e-05/0.581, allocations: 12.5 kB / 411.1 MB, free: 1.492 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.5811, allocations: 34.36 kB / 411.1 MB, free: 1.477 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5811, allocations: 0 / 411.1 MB, free: 1.477 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.6009, allocations: 1.733 MB / 412.8 MB, free: 15.81 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003106/0.6013, allocations: 156.5 kB / 413 MB, free: 15.58 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.105, allocations: 0 / 413 MB, free: 15.58 MB / 346.7 MB