Running command: translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") Notification: Performance of loadModel(HanserModelica): time 2.042/2.042, allocations: 214.7 MB / 226.9 MB, free: 1.293 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.753e-05/3.758e-05, allocations: 7.984 kB / 279.5 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0898/0.08986, allocations: 49.7 MB / 329.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.359/0.4489, allocations: 75.61 MB / 404.8 MB, free: 8.215 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.4492, allocations: 61.09 kB / 404.8 MB, free: 8.184 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001096/0.4503, allocations: 462.4 kB / 405.3 MB, free: 7.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.231e-06/0.4503, allocations: 2.656 kB / 405.3 MB, free: 7.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.12e-06/0.4503, allocations: 0 / 405.3 MB, free: 7.762 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.0003191/0.4507, allocations: 323 kB / 405.6 MB, free: 7.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.4507, allocations: 8.031 kB / 405.6 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.4508, allocations: 0 / 405.6 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.4509, allocations: 167 kB / 405.8 MB, free: 7.199 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.233e-06/0.4509, allocations: 7.938 kB / 405.8 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.451, allocations: 0 / 405.8 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.548e-05/0.4511, allocations: 41.08 kB / 405.8 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4511, allocations: 3.984 kB / 405.8 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.204e-06/0.4511, allocations: 0 / 405.8 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-06/0.4511, allocations: 4 kB / 405.8 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.624e-05/0.4512, allocations: 7.938 kB / 405.8 MB, free: 7.133 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.4514, allocations: 153.4 kB / 406 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.571e-05/0.4515, allocations: 34.14 kB / 406 MB, free: 6.898 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.4515, allocations: 16.73 kB / 406 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.4515, allocations: 0 / 406 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.4516, allocations: 38.64 kB / 406.1 MB, free: 6.836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.991e-06/0.4516, allocations: 0.6562 kB / 406.1 MB, free: 6.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001385/0.4518, allocations: 40.64 kB / 406.1 MB, free: 6.793 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.4518, allocations: 55.41 kB / 406.2 MB, free: 6.727 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.663e-05/0.4519, allocations: 99.48 kB / 406.3 MB, free: 6.625 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.4519, allocations: 25.7 kB / 406.3 MB, free: 6.594 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.452, allocations: 80.14 kB / 406.4 MB, free: 6.512 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.4521, allocations: 13.02 kB / 406.4 MB, free: 6.504 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-06/0.4521, allocations: 0 / 406.4 MB, free: 6.504 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4522, allocations: 317.5 kB / 406.7 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.4523, allocations: 0 / 406.7 MB, free: 6.188 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.455e-05/0.4523, allocations: 7.438 kB / 406.7 MB, free: 6.184 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.188e-05/0.4523, allocations: 11.98 kB / 406.7 MB, free: 6.172 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-06/0.4523, allocations: 0 / 406.7 MB, free: 6.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001022/0.4524, allocations: 52.84 kB / 406.8 MB, free: 6.117 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4525, allocations: 4 kB / 406.8 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.574e-06/0.4525, allocations: 0 / 406.8 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.4525, allocations: 3.953 kB / 406.8 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.958e-05/0.4526, allocations: 12.81 kB / 406.8 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.867e-06/0.4526, allocations: 0 / 406.8 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/0.4527, allocations: 0 / 406.8 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.499e-06/0.4527, allocations: 4 kB / 406.8 MB, free: 6.094 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 8.017e-05/0.4528, allocations: 108.5 kB / 406.9 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.4528, allocations: 0 / 406.9 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.4529, allocations: 7.484 kB / 406.9 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.805e-06/0.4529, allocations: 7.953 kB / 406.9 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.159e-06/0.4529, allocations: 0.75 kB / 406.9 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.287e-06/0.4529, allocations: 384 / 406.9 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.453, allocations: 156.5 kB / 407.1 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-06/0.4531, allocations: 0 / 407.1 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.288e-05/0.4532, allocations: 8 kB / 407.1 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.339e-06/0.4532, allocations: 3.938 kB / 407.1 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.4532, allocations: 15.36 kB / 407.1 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.297e-06/0.4532, allocations: 0 / 407.1 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.242e-06/0.4532, allocations: 3.953 kB / 407.1 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.4534, allocations: 82.94 kB / 407.2 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.4535, allocations: 77.11 kB / 407.3 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.4535, allocations: 3.984 kB / 407.3 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.614e-05/0.4535, allocations: 0 / 407.3 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.4536, allocations: 0 / 407.3 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.4536, allocations: 12.02 kB / 407.3 MB, free: 5.535 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.06e-05/0.4537, allocations: 79.03 kB / 407.3 MB, free: 5.461 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.4537, allocations: 0 / 407.3 MB, free: 5.461 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.4539, allocations: 12 kB / 407.4 MB, free: 5.449 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.0001257/0.4541, allocations: 95.25 kB / 407.4 MB, free: 5.344 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.128e-05/0.4542, allocations: 15.55 kB / 407.5 MB, free: 5.332 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.626e-06/0.4542, allocations: 4 kB / 407.5 MB, free: 5.328 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.41e-05/0.4542, allocations: 7.938 kB / 407.5 MB, free: 5.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001138/0.4544, allocations: 6.031 kB / 407.5 MB, free: 5.316 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.4547, allocations: 113.5 kB / 407.6 MB, free: 5.191 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.455, allocations: 0.6809 MB / 408.3 MB, free: 4.484 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.824e-05/0.4551, allocations: 0 / 408.3 MB, free: 4.484 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.4551, allocations: 19.36 kB / 408.3 MB, free: 4.465 MB / 330.7 MB Notification: Performance of SimCode: time 1.398e-06/0.4551, allocations: 0 / 408.3 MB, free: 4.465 MB / 330.7 MB Notification: Performance of Templates: time 0.002342/0.4575, allocations: 237.5 kB / 408.5 MB, free: 4.242 MB / 330.7 MB