Running command: "" <> buildModelFMU(HanserModelica.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.284/2.284, allocations: 214.7 MB / 226.9 MB, free: 1.301 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.757e-05/3.803e-05, allocations: 7.984 kB / 279.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 49.7 MB / 329.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4575/0.5683, allocations: 75.9 MB / 405.2 MB, free: 7.461 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.5686, allocations: 56.17 kB / 405.2 MB, free: 7.434 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002137/0.5708, allocations: 0.6076 MB / 405.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5708, allocations: 0 / 405.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.5708, allocations: 4 kB / 405.8 MB, free: 6.887 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003248/0.5711, allocations: 325.9 kB / 406.1 MB, free: 6.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.315e-05/0.5712, allocations: 11.97 kB / 406.2 MB, free: 6.516 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.71e-05/0.5713, allocations: 42.53 kB / 406.2 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.5713, allocations: 3.906 kB / 406.2 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.5715, allocations: 163.1 kB / 406.4 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.5715, allocations: 4 kB / 406.4 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.5716, allocations: 3.953 kB / 406.4 MB, free: 6.254 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.5717, allocations: 46.8 kB / 406.4 MB, free: 6.199 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.5717, allocations: 0 / 406.4 MB, free: 6.199 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.5717, allocations: 3.984 kB / 406.4 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.5718, allocations: 0 / 406.4 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.42e-05/0.5718, allocations: 4 kB / 406.4 MB, free: 6.191 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.5722, allocations: 170.7 kB / 406.6 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.374e-05/0.5723, allocations: 37.22 kB / 406.6 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.5723, allocations: 9.719 kB / 406.6 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.5723, allocations: 0.5469 kB / 406.6 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.5724, allocations: 38.52 kB / 406.7 MB, free: 5.863 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.843e-06/0.5724, allocations: 4 kB / 406.7 MB, free: 5.859 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001447/0.5725, allocations: 45.44 kB / 406.7 MB, free: 5.812 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.5726, allocations: 77.11 kB / 406.8 MB, free: 5.719 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.5727, allocations: 95.22 kB / 406.9 MB, free: 5.625 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.5727, allocations: 25.7 kB / 406.9 MB, free: 5.594 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.5728, allocations: 84.14 kB / 407 MB, free: 5.508 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.5728, allocations: 7.891 kB / 407 MB, free: 5.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.5729, allocations: 3.938 kB / 407 MB, free: 5.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.573, allocations: 314.9 kB / 407.3 MB, free: 5.184 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.34e-05/0.573, allocations: 4 kB / 407.3 MB, free: 5.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.696e-05/0.5731, allocations: 27.25 kB / 407.3 MB, free: 5.145 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.827e-05/0.5731, allocations: 15.56 kB / 407.4 MB, free: 5.133 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5732, allocations: 4 kB / 407.4 MB, free: 5.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001263/0.5733, allocations: 56.47 kB / 407.4 MB, free: 5.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5733, allocations: 4 kB / 407.4 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.5734, allocations: 7.953 kB / 407.4 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.5734, allocations: 0 / 407.4 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.4e-05/0.5735, allocations: 11.98 kB / 407.4 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.5735, allocations: 0 / 407.4 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.5735, allocations: 3.688 kB / 407.4 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.5736, allocations: 4 kB / 407.5 MB, free: 5.043 MB / 330.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.98e-05/0.5736, allocations: 105.1 kB / 407.6 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.5737, allocations: 4 kB / 407.6 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.5737, allocations: 10.33 kB / 407.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.5737, allocations: 3.953 kB / 407.6 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5737, allocations: 3.938 kB / 407.6 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5738, allocations: 3.938 kB / 407.6 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.574, allocations: 164.5 kB / 407.7 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.574, allocations: 0.5 kB / 407.7 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.5741, allocations: 7.938 kB / 407.8 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5741, allocations: 4.281 kB / 407.8 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.5742, allocations: 8 kB / 407.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5742, allocations: 0 / 407.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5742, allocations: 3.953 kB / 407.8 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.5744, allocations: 86.44 kB / 407.9 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.5744, allocations: 85.14 kB / 407.9 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.5745, allocations: 4 kB / 407.9 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.874e-05/0.5745, allocations: 3.953 kB / 407.9 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.5746, allocations: 7.984 kB / 407.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.5746, allocations: 0 / 407.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.71e-05/0.5746, allocations: 82.91 kB / 408 MB, free: 4.379 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.798e-06/0.5747, allocations: 0 / 408 MB, free: 4.379 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.5749, allocations: 7.938 kB / 408 MB, free: 4.371 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (v.y,v.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005965/0.5755, allocations: 0.6983 MB / 408.7 MB, free: 3.645 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.5757, allocations: 23.92 kB / 408.8 MB, free: 3.621 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5757, allocations: 3.312 kB / 408.8 MB, free: 3.621 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.5757, allocations: 4 kB / 408.8 MB, free: 3.617 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.5758, allocations: 0 / 408.8 MB, free: 3.617 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.5763, allocations: 126.7 kB / 408.9 MB, free: 3.465 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.5766, allocations: 0.6812 MB / 409.6 MB, free: 2.758 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.87e-05/0.5766, allocations: 8 kB / 409.6 MB, free: 2.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.5767, allocations: 11.38 kB / 409.6 MB, free: 2.738 MB / 330.7 MB Notification: Performance of SimCode: time 1.362e-06/0.5767, allocations: 0 / 409.6 MB, free: 2.738 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.6002, allocations: 1.19 MB / 410.8 MB, free: 1.605 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003307/0.6006, allocations: 139.4 kB / 410.9 MB, free: 1.379 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.044, allocations: 0 / 410.9 MB, free: 1.379 MB / 330.7 MB