Running command: "" <> buildModelFMU(HanserModelica.Classes.MixedDeclaration,fileNamePrefix="HanserModelica_HanserModelica_Classes_MixedDeclaration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.151/2.151, allocations: 214.7 MB / 226.9 MB, free: 1.301 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.687e-05/3.707e-05, allocations: 4 kB / 279.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 49.7 MB / 329.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4654/0.5753, allocations: 75.99 MB / 405.3 MB, free: 7.449 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.5756, allocations: 59.53 kB / 405.3 MB, free: 7.418 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001109/0.5767, allocations: 450.2 kB / 405.8 MB, free: 7.004 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5767, allocations: 1.594 kB / 405.8 MB, free: 7.004 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.5768, allocations: 0 / 405.8 MB, free: 7.004 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.0002989/0.5771, allocations: 310.7 kB / 406.1 MB, free: 6.656 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.5771, allocations: 12.03 kB / 406.1 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.969e-05/0.5772, allocations: 38.44 kB / 406.1 MB, free: 6.602 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.5772, allocations: 0 / 406.1 MB, free: 6.602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.5774, allocations: 171.6 kB / 406.3 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5775, allocations: 0 / 406.3 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.5775, allocations: 7.953 kB / 406.3 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.845e-05/0.5776, allocations: 39.42 kB / 406.3 MB, free: 6.336 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.5776, allocations: 0 / 406.3 MB, free: 6.336 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.5776, allocations: 7.984 kB / 406.3 MB, free: 6.328 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.5777, allocations: 2.297 kB / 406.3 MB, free: 6.328 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.152e-05/0.5777, allocations: 7.562 kB / 406.3 MB, free: 6.324 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.5781, allocations: 470.6 kB / 406.8 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.62e-05/0.5782, allocations: 165.1 kB / 407 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.5783, allocations: 88.08 kB / 407 MB, free: 5.555 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.5783, allocations: 75.28 kB / 407.1 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.5784, allocations: 113.8 kB / 407.2 MB, free: 5.359 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 2.374e-06/0.5784, allocations: 0 / 407.2 MB, free: 5.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 8.657e-05/0.5785, allocations: 25.7 kB / 407.3 MB, free: 5.328 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.5786, allocations: 126.7 kB / 407.4 MB, free: 5.191 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.5787, allocations: 103.1 kB / 407.5 MB, free: 5.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.5788, allocations: 25.7 kB / 407.5 MB, free: 5.059 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.5788, allocations: 91.92 kB / 407.6 MB, free: 4.969 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.5789, allocations: 0 / 407.6 MB, free: 4.969 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.5789, allocations: 0 / 407.6 MB, free: 4.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.579, allocations: 318.8 kB / 407.9 MB, free: 4.648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.579, allocations: 0 / 407.9 MB, free: 4.648 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.5791, allocations: 25.53 kB / 407.9 MB, free: 4.621 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.303e-05/0.5791, allocations: 0 / 407.9 MB, free: 4.621 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.5791, allocations: 3.953 kB / 407.9 MB, free: 4.617 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001261/0.5793, allocations: 41.64 kB / 408 MB, free: 4.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.5793, allocations: 7.984 kB / 408 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5793, allocations: 0 / 408 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.5793, allocations: 0 / 408 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.923e-05/0.5794, allocations: 4 kB / 408 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.5794, allocations: 4.062 kB / 408 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.5795, allocations: 4 kB / 408 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.5795, allocations: 4 kB / 408 MB, free: 4.547 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001016/0.5796, allocations: 179.6 kB / 408.2 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.05e-05/0.5797, allocations: 108.8 kB / 408.3 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.725e-05/0.5798, allocations: 115.9 kB / 408.4 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.658e-05/0.5799, allocations: 180.2 kB / 408.6 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.452e-05/0.58, allocations: 180.3 kB / 408.7 MB, free: 3.766 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.919e-05/0.58, allocations: 176.3 kB / 408.9 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.5804, allocations: 409.1 kB / 409.3 MB, free: 3.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-05/0.5804, allocations: 101.5 kB / 409.4 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-05/0.5805, allocations: 112.9 kB / 409.5 MB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.799e-05/0.5806, allocations: 184.5 kB / 409.7 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-05/0.5807, allocations: 180.2 kB / 409.9 MB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-05/0.5808, allocations: 184.3 kB / 410.1 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.626e-05/0.5808, allocations: 180.2 kB / 410.2 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.581, allocations: 303 kB / 410.5 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/0.5811, allocations: 191.7 kB / 410.7 MB, free: 1.645 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.373e-05/0.5812, allocations: 180.2 kB / 410.9 MB, free: 1.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.5814, allocations: 101 kB / 411 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/0.5815, allocations: 180.2 kB / 411.2 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-05/0.5815, allocations: 106.1 kB / 411.3 MB, free: 1.062 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.256e-05/0.5816, allocations: 90.95 kB / 411.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.5816, allocations: 0 / 411.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003092/0.5819, allocations: 0 / 411.4 MB, free: 0.9766 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 (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.0004731/0.5824, allocations: 0.8007 MB / 412.2 MB, free: 152 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.068e-05/0.5825, allocations: 4.062 kB / 412.2 MB, free: 148 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5825, allocations: 4.062 kB / 412.2 MB, free: 144 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.634e-06/0.5826, allocations: 0 / 412.2 MB, free: 144 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.583, allocations: 0.5294 MB / 412.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.5834, allocations: 150.6 kB / 412.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.5837, allocations: 0.6809 MB / 413.5 MB, free: 14.72 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.799e-05/0.5837, allocations: 3.938 kB / 413.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.5838, allocations: 10.94 kB / 413.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of SimCode: time 1.203e-06/0.5838, allocations: 0 / 413.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.6058, allocations: 0.7884 MB / 414.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/0.6062, allocations: 143.7 kB / 414.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/3.014, allocations: 0 / 414.5 MB, free: 13.75 MB / 346.7 MB