Running command: translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") Notification: Performance of loadModel(HanserModelica): time 2.269/2.269, allocations: 214.7 MB / 226.8 MB, free: 1.301 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.454e-05/3.462e-05, allocations: 4 kB / 279.5 MB, free: 13.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09027, allocations: 49.7 MB / 329.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3516/0.4419, allocations: 75.96 MB / 405.1 MB, free: 7.887 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.4422, allocations: 63.16 kB / 405.2 MB, free: 7.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0009818/0.4432, allocations: 442.2 kB / 405.6 MB, free: 7.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.843e-06/0.4432, allocations: 0 / 405.6 MB, free: 7.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.696e-06/0.4432, allocations: 3.938 kB / 405.6 MB, free: 7.438 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.0002852/0.4435, allocations: 312 kB / 405.9 MB, free: 7.094 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.4436, allocations: 12.09 kB / 405.9 MB, free: 7.082 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.4436, allocations: 3.984 kB / 405.9 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.4438, allocations: 163.5 kB / 406.1 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.4438, allocations: 0 / 406.1 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.4438, allocations: 7.938 kB / 406.1 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.381e-05/0.4439, allocations: 43.38 kB / 406.2 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4439, allocations: 0 / 406.2 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.444, allocations: 7.984 kB / 406.2 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.773e-06/0.444, allocations: 2.297 kB / 406.2 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.444, allocations: 3.938 kB / 406.2 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.4445, allocations: 481.9 kB / 406.6 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.4446, allocations: 169.1 kB / 406.8 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.4446, allocations: 80.14 kB / 406.9 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.4447, allocations: 75.28 kB / 407 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.352e-05/0.4448, allocations: 113.8 kB / 407.1 MB, free: 5.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.966e-06/0.4448, allocations: 0 / 407.1 MB, free: 5.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 7.683e-05/0.4449, allocations: 25.7 kB / 407.1 MB, free: 5.809 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.4449, allocations: 130.3 kB / 407.2 MB, free: 5.672 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.4451, allocations: 97.69 kB / 407.3 MB, free: 5.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.4451, allocations: 28.83 kB / 407.3 MB, free: 5.539 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.4452, allocations: 91.97 kB / 407.4 MB, free: 5.445 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-06/0.4452, allocations: 0 / 407.4 MB, free: 5.445 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-06/0.4452, allocations: 0 / 407.4 MB, free: 5.445 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4454, allocations: 317.8 kB / 407.7 MB, free: 5.129 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.4454, allocations: 0 / 407.7 MB, free: 5.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-05/0.4454, allocations: 17.72 kB / 407.8 MB, free: 5.105 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.341e-05/0.4454, allocations: 0 / 407.8 MB, free: 5.105 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.757e-06/0.4455, allocations: 3.938 kB / 407.8 MB, free: 5.102 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001196/0.4456, allocations: 48.7 kB / 407.8 MB, free: 5.051 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4456, allocations: 8 kB / 407.8 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.526e-06/0.4456, allocations: 0 / 407.8 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.4457, allocations: 0 / 407.8 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.945e-05/0.4457, allocations: 4 kB / 407.8 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.51e-06/0.4457, allocations: 4.625 kB / 407.8 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.4458, allocations: 0 / 407.8 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.4458, allocations: 4 kB / 407.8 MB, free: 5.031 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.0001097/0.4459, allocations: 180.2 kB / 408 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.764e-05/0.446, allocations: 107.9 kB / 408.1 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.474e-05/0.4461, allocations: 115.9 kB / 408.2 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.479e-05/0.4462, allocations: 176.5 kB / 408.4 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-05/0.4463, allocations: 184.2 kB / 408.6 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.782e-05/0.4464, allocations: 180.3 kB / 408.8 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.4467, allocations: 405.1 kB / 409.2 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-05/0.4468, allocations: 104.9 kB / 409.3 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-05/0.4469, allocations: 101.3 kB / 409.4 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-05/0.447, allocations: 196.2 kB / 409.5 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.83e-05/0.4471, allocations: 184.1 kB / 409.7 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.579e-05/0.4472, allocations: 176.8 kB / 409.9 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.643e-05/0.4473, allocations: 184.1 kB / 410.1 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.4475, allocations: 307.7 kB / 410.4 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.4476, allocations: 183.7 kB / 410.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.65e-05/0.4477, allocations: 184.2 kB / 410.7 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.4478, allocations: 104.9 kB / 410.8 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/0.4479, allocations: 184.2 kB / 411 MB, free: 1.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/0.448, allocations: 105 kB / 411.1 MB, free: 1.535 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.75e-05/0.4481, allocations: 83.28 kB / 411.2 MB, free: 1.453 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.4481, allocations: 0 / 411.2 MB, free: 1.453 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003018/0.4484, allocations: 0 / 411.2 MB, free: 1.453 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.000143/0.4485, allocations: 170.5 kB / 411.4 MB, free: 1.273 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.265e-05/0.4486, allocations: 7.688 kB / 411.4 MB, free: 1.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.974e-06/0.4486, allocations: 0 / 411.4 MB, free: 1.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.002e-06/0.4486, allocations: 3.938 kB / 411.4 MB, free: 1.266 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.449, allocations: 0.5226 MB / 411.9 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001971/0.4492, allocations: 132.3 kB / 412 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.4496, allocations: 0.677 MB / 412.7 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.347e-05/0.4497, allocations: 0 / 412.7 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.4497, allocations: 7.438 kB / 412.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/0.4497, allocations: 4 kB / 412.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of Templates: time 0.002142/0.4519, allocations: 191.6 kB / 412.9 MB, free: 15.7 MB / 346.7 MB