Running command: translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") Notification: Performance of loadModel(HanserModelica): time 1.956/1.956, allocations: 214.7 MB / 226.8 MB, free: 1.223 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.738e-05/4.76e-05, allocations: 4 kB / 279.5 MB, free: 13.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09534/0.09542, allocations: 49.7 MB / 329.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4641/0.5596, allocations: 77.86 MB / 407 MB, free: 5.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.56, allocations: 65.16 kB / 407.1 MB, free: 5.949 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0119/0.5719, allocations: 1.892 MB / 409 MB, free: 4.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.804e-06/0.572, allocations: 0 / 409 MB, free: 4.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.572, allocations: 4 kB / 409 MB, free: 4.316 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007246/0.5727, allocations: 376.4 kB / 409.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.5728, allocations: 12.03 kB / 409.4 MB, free: 3.898 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.644e-05/0.5729, allocations: 15.81 kB / 409.4 MB, free: 3.883 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.5733, allocations: 197.7 kB / 409.6 MB, free: 3.656 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.5734, allocations: 7.625 kB / 409.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/0.5734, allocations: 19.39 kB / 409.6 MB, free: 3.637 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/0.5738, allocations: 101.2 kB / 409.7 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.5739, allocations: 0 / 409.7 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.5739, allocations: 3.906 kB / 409.7 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.5739, allocations: 4 kB / 409.7 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.5742, allocations: 52.36 kB / 409.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.5757, allocations: 0.5044 MB / 410.3 MB, free: 3.008 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.5759, allocations: 40.95 kB / 410.3 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.662e-05/0.576, allocations: 19.08 kB / 410.3 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.5761, allocations: 10.27 kB / 410.3 MB, free: 2.941 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.5762, allocations: 34.56 kB / 410.4 MB, free: 2.898 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.674e-06/0.5762, allocations: 0 / 410.4 MB, free: 2.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002788/0.5765, allocations: 52.94 kB / 410.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.5766, allocations: 58.72 kB / 410.5 MB, free: 2.777 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.5768, allocations: 129.4 kB / 410.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.5769, allocations: 29.14 kB / 410.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.577, allocations: 114.4 kB / 410.7 MB, free: 2.508 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.5771, allocations: 19.05 kB / 410.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.5771, allocations: 4 kB / 410.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.5773, allocations: 317.9 kB / 411.1 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.337e-05/0.5774, allocations: 11.75 kB / 411.1 MB, free: 2.164 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.705e-05/0.5775, allocations: 33.14 kB / 411.1 MB, free: 2.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.281e-05/0.5776, allocations: 21.61 kB / 411.1 MB, free: 2.113 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.95e-06/0.5777, allocations: 0 / 411.1 MB, free: 2.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003092/0.578, allocations: 78.55 kB / 411.2 MB, free: 2.039 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.578, allocations: 4 kB / 411.2 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.5781, allocations: 4 kB / 411.2 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.5781, allocations: 0 / 411.2 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.5783, allocations: 19.56 kB / 411.2 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.5784, allocations: 4.484 kB / 411.2 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.5785, allocations: 7.938 kB / 411.3 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.5785, allocations: 4 kB / 411.3 MB, free: 2 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001185/0.5787, allocations: 108.7 kB / 411.4 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.668e-05/0.5788, allocations: 15.84 kB / 411.4 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/0.5788, allocations: 6.656 kB / 411.4 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.494e-06/0.5789, allocations: 4 kB / 411.4 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5789, allocations: 3.938 kB / 411.4 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.221e-06/0.5789, allocations: 4 kB / 411.4 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.5794, allocations: 191.2 kB / 411.6 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.723e-06/0.5794, allocations: 0 / 411.6 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.5796, allocations: 8 kB / 411.6 MB, free: 1.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.5796, allocations: 3.953 kB / 411.6 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.5796, allocations: 0 / 411.6 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.72e-06/0.5796, allocations: 0 / 411.6 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.121e-06/0.5797, allocations: 64 / 411.6 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/0.58, allocations: 181.1 kB / 411.8 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.302e-05/0.5801, allocations: 81.02 kB / 411.9 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.5802, allocations: 3.953 kB / 411.9 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.5804, allocations: 4.031 kB / 411.9 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.5805, allocations: 4 kB / 411.9 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.5805, allocations: 6.797 kB / 411.9 MB, free: 1.328 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001602/0.5807, allocations: 105.7 kB / 412 MB, free: 1.234 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.032e-06/0.5807, allocations: 0 / 412 MB, free: 1.234 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006412/0.5814, allocations: 19.91 kB / 412 MB, free: 1.215 MB / 330.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001916/0.5816, allocations: 103.2 kB / 412.1 MB, free: 1.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.5818, allocations: 39.23 kB / 412.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.989e-06/0.5818, allocations: 0 / 412.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.665e-05/0.5819, allocations: 11.88 kB / 412.1 MB, free: 1.066 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.5823, allocations: 7.438 kB / 412.2 MB, free: 1.062 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/0.5831, allocations: 177.9 kB / 412.3 MB, free: 0.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/0.5836, allocations: 0.7004 MB / 413 MB, free: 152 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.747e-05/0.5837, allocations: 8.656 kB / 413 MB, free: 144 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.5838, allocations: 11.44 kB / 413 MB, free: 132 kB / 330.7 MB Notification: Performance of SimCode: time 2.479e-06/0.5838, allocations: 4 kB / 413.1 MB, free: 128 kB / 330.7 MB Notification: Performance of Templates: time 0.005799/0.5896, allocations: 0.6516 MB / 413.7 MB, free: 15.49 MB / 346.7 MB