Running command: translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") Notification: Performance of loadModel(HanserModelica): time 2.089/2.089, allocations: 214.7 MB / 226.9 MB, free: 1.297 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.2e-05, allocations: 4 kB / 279.5 MB, free: 13.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1017, allocations: 49.7 MB / 329.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4689/0.5706, allocations: 80.86 MB / 410 MB, free: 3.062 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.5708, allocations: 70.84 kB / 410.1 MB, free: 3.027 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01961/0.5905, allocations: 4.777 MB / 414.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.492e-06/0.5905, allocations: 0 / 414.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.5905, allocations: 4 kB / 414.9 MB, free: 14.98 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007569/0.5913, allocations: 466.9 kB / 415.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.5914, allocations: 12.03 kB / 415.3 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.043e-05/0.5915, allocations: 23.66 kB / 415.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.5919, allocations: 245.4 kB / 415.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.592, allocations: 12.12 kB / 415.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.592, allocations: 15.84 kB / 415.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.5923, allocations: 115.4 kB / 415.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.5924, allocations: 0 / 415.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.5924, allocations: 7.688 kB / 415.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.673e-06/0.5924, allocations: 3.938 kB / 415.8 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.5926, allocations: 71.7 kB / 415.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.5938, allocations: 0.5532 MB / 416.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.5942, allocations: 108.1 kB / 416.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.5943, allocations: 35.67 kB / 416.5 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.5944, allocations: 0 / 416.5 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.5946, allocations: 99.59 kB / 416.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.499e-06/0.5946, allocations: 0 / 416.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003322/0.5949, allocations: 111.3 kB / 416.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.595, allocations: 81.11 kB / 416.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.5954, allocations: 238 kB / 417 MB, free: 12.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.5954, allocations: 33.08 kB / 417.1 MB, free: 12.81 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.5956, allocations: 140.5 kB / 417.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/0.5956, allocations: 35.22 kB / 417.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-06/0.5957, allocations: 3.688 kB / 417.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.5958, allocations: 325.6 kB / 417.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.778e-05/0.5959, allocations: 26.06 kB / 417.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.5961, allocations: 62.78 kB / 417.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.845e-05/0.5962, allocations: 38.28 kB / 417.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.779e-06/0.5962, allocations: 0 / 417.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003203/0.5965, allocations: 136.2 kB / 417.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5966, allocations: 8.219 kB / 417.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.88e-06/0.5966, allocations: 7.938 kB / 417.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.5966, allocations: 0 / 417.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.5968, allocations: 27.92 kB / 417.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.5968, allocations: 4 kB / 417.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.597, allocations: 19.41 kB / 417.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.597, allocations: 4 kB / 417.9 MB, free: 12.05 MB / 346.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: 5 ($whenCondition1,$PRE.table.nextTimeEvent,table.nextTimeEvent,$PRE.table.nextTimeEventScaled,table.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001122/0.5971, allocations: 116.2 kB / 418 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.5972, allocations: 23.77 kB / 418 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/0.5976, allocations: 130.6 kB / 418.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.551e-06/0.5976, allocations: 4 kB / 418.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.256e-06/0.5976, allocations: 0 / 418.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.2e-06/0.5976, allocations: 0 / 418.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.5979, allocations: 246.4 kB / 418.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.417e-06/0.598, allocations: 0 / 418.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.5981, allocations: 19.61 kB / 418.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/0.5981, allocations: 3.953 kB / 418.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.5981, allocations: 4 kB / 418.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.632e-06/0.5982, allocations: 4 kB / 418.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5982, allocations: 0 / 418.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.5986, allocations: 187.4 kB / 418.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.5987, allocations: 108.5 kB / 418.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/0.5988, allocations: 7.141 kB / 418.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.5989, allocations: 8 kB / 418.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.599, allocations: 3.984 kB / 418.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.599, allocations: 10.88 kB / 418.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002659/0.5993, allocations: 196.1 kB / 418.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.5993, allocations: 0 / 418.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003729/0.5997, allocations: 51.41 kB / 419 MB, free: 10.99 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 3 ($whenCondition1,table.nextTimeEvent,table.nextTimeEventScaled) * Number of discrete states: 2 (table.nextTimeEvent,table.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00141/0.6011, allocations: 398.4 kB / 419.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.6014, allocations: 80.25 kB / 419.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.054e-06/0.6014, allocations: 0 / 419.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.6015, allocations: 41.23 kB / 419.5 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.6019, allocations: 37.58 kB / 419.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008375/0.6027, allocations: 303.6 kB / 419.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.6032, allocations: 0.7355 MB / 420.6 MB, free: 9.488 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.6033, allocations: 21.2 kB / 420.6 MB, free: 9.469 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.6034, allocations: 19.44 kB / 420.6 MB, free: 9.449 MB / 346.7 MB Notification: Performance of SimCode: time 1.787e-06/0.6034, allocations: 4 kB / 420.6 MB, free: 9.445 MB / 346.7 MB Notification: Performance of Templates: time 0.007412/0.6108, allocations: 2.097 MB / 422.7 MB, free: 7.367 MB / 346.7 MB