Running command: translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") Notification: Performance of loadModel(HanserModelica): time 2.027/2.027, allocations: 214.7 MB / 226.9 MB, free: 1.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.229e-05/3.25e-05, allocations: 3.984 kB / 279.5 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.08887, allocations: 49.7 MB / 329.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3539/0.4429, allocations: 75.61 MB / 404.8 MB, free: 8.137 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.4431, allocations: 62.09 kB / 404.8 MB, free: 8.105 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001018/0.4441, allocations: 437.7 kB / 405.3 MB, free: 7.699 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.029e-06/0.4441, allocations: 0.8438 kB / 405.3 MB, free: 7.699 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.4442, allocations: 4 kB / 405.3 MB, free: 7.695 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003041/0.4445, allocations: 316.6 kB / 405.6 MB, free: 7.344 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4445, allocations: 8.031 kB / 405.6 MB, free: 7.336 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.4446, allocations: 4 kB / 405.6 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.4447, allocations: 166.3 kB / 405.7 MB, free: 7.133 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4448, allocations: 3.938 kB / 405.8 MB, free: 7.129 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.4448, allocations: 4 kB / 405.8 MB, free: 7.125 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.456e-05/0.4449, allocations: 37.09 kB / 405.8 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.4449, allocations: 7.922 kB / 405.8 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.673e-06/0.4449, allocations: 0 / 405.8 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-06/0.4449, allocations: 4 kB / 405.8 MB, free: 7.074 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.761e-05/0.445, allocations: 4 kB / 405.8 MB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.4452, allocations: 153.6 kB / 406 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.507e-05/0.4453, allocations: 36.33 kB / 406 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.4453, allocations: 8.859 kB / 406 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.4454, allocations: 0 / 406 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.4454, allocations: 41.95 kB / 406 MB, free: 6.777 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.832e-06/0.4454, allocations: 0.6562 kB / 406 MB, free: 6.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001354/0.4456, allocations: 45.72 kB / 406.1 MB, free: 6.727 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.4456, allocations: 51.41 kB / 406.1 MB, free: 6.664 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.029e-05/0.4457, allocations: 92.56 kB / 406.2 MB, free: 6.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.4458, allocations: 29.69 kB / 406.3 MB, free: 6.535 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.4458, allocations: 80.14 kB / 406.3 MB, free: 6.453 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.4459, allocations: 17.58 kB / 406.4 MB, free: 6.441 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-06/0.4459, allocations: 0 / 406.4 MB, free: 6.441 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.446, allocations: 314.8 kB / 406.7 MB, free: 6.125 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.4461, allocations: 7.5 kB / 406.7 MB, free: 6.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.59e-05/0.4461, allocations: 4 kB / 406.7 MB, free: 6.117 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.4461, allocations: 8.312 kB / 406.7 MB, free: 6.109 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.142e-06/0.4461, allocations: 0 / 406.7 MB, free: 6.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001035/0.4463, allocations: 49.03 kB / 406.7 MB, free: 6.059 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4463, allocations: 7.938 kB / 406.7 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.847e-06/0.4463, allocations: 4 kB / 406.7 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4463, allocations: 3.953 kB / 406.7 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/0.4464, allocations: 16.42 kB / 406.8 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.549e-06/0.4465, allocations: 4.547 kB / 406.8 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.4465, allocations: 0 / 406.8 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.4465, allocations: 0 / 406.8 MB, free: 6.027 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.427e-05/0.4466, allocations: 101 kB / 406.9 MB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.4466, allocations: 4 kB / 406.9 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.4466, allocations: 6.125 kB / 406.9 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.274e-06/0.4467, allocations: 3.953 kB / 406.9 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.229e-06/0.4467, allocations: 0.75 kB / 406.9 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.4467, allocations: 7.984 kB / 406.9 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.4468, allocations: 152.5 kB / 407 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-06/0.4469, allocations: 0 / 407 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.848e-05/0.447, allocations: 11.98 kB / 407 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.339e-06/0.447, allocations: 3.938 kB / 407 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.447, allocations: 8 kB / 407.1 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.979e-06/0.447, allocations: 0 / 407.1 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-06/0.447, allocations: 3.953 kB / 407.1 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.4472, allocations: 83.59 kB / 407.1 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.4473, allocations: 77.11 kB / 407.2 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.4473, allocations: 0 / 407.2 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.766e-05/0.4473, allocations: 7.781 kB / 407.2 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.4473, allocations: 3.984 kB / 407.2 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.467e-06/0.4474, allocations: 3.953 kB / 407.2 MB, free: 5.477 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.209e-05/0.4474, allocations: 79.28 kB / 407.3 MB, free: 5.398 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.4474, allocations: 0 / 407.3 MB, free: 5.398 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.4477, allocations: 8 kB / 407.3 MB, free: 5.391 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001338/0.4478, allocations: 99.31 kB / 407.4 MB, free: 5.281 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.622e-05/0.4479, allocations: 15.5 kB / 407.4 MB, free: 5.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.275e-06/0.4479, allocations: 0 / 407.4 MB, free: 5.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.476e-05/0.448, allocations: 15.73 kB / 407.4 MB, free: 5.258 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.4481, allocations: 2.031 kB / 407.4 MB, free: 5.258 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000203/0.4483, allocations: 71.64 kB / 407.5 MB, free: 5.172 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.4487, allocations: 0.677 MB / 408.2 MB, free: 4.469 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.109e-05/0.4487, allocations: 7.984 kB / 408.2 MB, free: 4.461 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.599e-05/0.4487, allocations: 15.38 kB / 408.2 MB, free: 4.445 MB / 330.7 MB Notification: Performance of SimCode: time 1.312e-06/0.4487, allocations: 0 / 408.2 MB, free: 4.445 MB / 330.7 MB Notification: Performance of Templates: time 0.002158/0.4509, allocations: 224 kB / 408.4 MB, free: 4.234 MB / 330.7 MB