Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadModel(Modelica): time 1.879/1.879, allocations: 195 MB / 203.2 MB, free: 6.746 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/2.002e-05, allocations: 3.234 kB / 249.6 MB, free: 5.562 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07678/0.07682, allocations: 44.5 MB / 294.1 MB, free: 11.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3404/0.4173, allocations: 77.77 MB / 371.9 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.4176, allocations: 79.19 kB / 372 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05739/0.475, allocations: 17.4 MB / 389.4 MB, free: 22.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.426e-06/0.475, allocations: 0 / 389.4 MB, free: 22.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.35e-05/0.4751, allocations: 11.66 kB / 389.4 MB, free: 22.23 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00211/0.4772, allocations: 0.8344 MB / 390.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4772, allocations: 7.844 kB / 390.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004129/0.4814, allocations: 445.1 kB / 390.7 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.482, allocations: 358 kB / 391 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.4821, allocations: 19.22 kB / 391 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.4822, allocations: 43.06 kB / 391.1 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001659/0.4839, allocations: 0.7765 MB / 391.8 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.4853, allocations: 0.6565 MB / 392.5 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.4853, allocations: 0 / 392.5 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/0.4854, allocations: 7.859 kB / 392.5 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.4855, allocations: 19 kB / 392.5 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004685/0.4902, allocations: 2.596 MB / 395.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.4923, allocations: 1.889 MB / 397 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.4927, allocations: 186.1 kB / 397.2 MB, free: 17.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.4928, allocations: 96.72 kB / 397.3 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.4929, allocations: 38.81 kB / 397.3 MB, free: 17.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.819e-06/0.4929, allocations: 0 / 397.3 MB, free: 17.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.00144/0.4943, allocations: 459.6 kB / 397.8 MB, free: 17.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.4944, allocations: 85.38 kB / 397.9 MB, free: 17.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.4948, allocations: 278.6 kB / 398.1 MB, free: 17.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.158e-05/0.4949, allocations: 25.7 kB / 398.2 MB, free: 17.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.4951, allocations: 362.2 kB / 398.5 MB, free: 16.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.4952, allocations: 160.5 kB / 398.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.4953, allocations: 3.344 kB / 398.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4955, allocations: 337.7 kB / 399 MB, free: 16.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.4958, allocations: 189.5 kB / 399.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004371/0.4963, allocations: 397.5 kB / 399.6 MB, free: 16.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009592/0.4973, allocations: 323.8 kB / 399.9 MB, free: 16.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.908e-06/0.4973, allocations: 3.938 kB / 399.9 MB, free: 16.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001951/0.4993, allocations: 0.709 MB / 400.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001176/0.5005, allocations: 2.443 MB / 403 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.5005, allocations: 11.77 kB / 403.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/0.5008, allocations: 64.34 kB / 403.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007617/0.5016, allocations: 148.2 kB / 403.3 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.5034, allocations: 1.535 MB / 404.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006482/0.5041, allocations: 62.48 kB / 404.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.897e-05/0.5042, allocations: 30.48 kB / 404.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.5042, allocations: 3.875 kB / 404.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001842/0.5061, allocations: 0.6691 MB / 405.6 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.5061, allocations: 11.72 kB / 405.6 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001905/0.5063, allocations: 50.28 kB / 405.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/0.507, allocations: 135.9 kB / 405.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.5086, allocations: 1.443 MB / 407.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.5091, allocations: 46.89 kB / 407.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.106e-05/0.5092, allocations: 34.78 kB / 407.3 MB, free: 10.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002241/0.5094, allocations: 132.4 kB / 407.4 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.5095, allocations: 34.81 kB / 407.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.511, allocations: 0.5204 MB / 408 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.511, allocations: 7.844 kB / 408 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.727e-06/0.5111, allocations: 3.953 kB / 408 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.402e-06/0.5111, allocations: 3.984 kB / 408 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.5133, allocations: 1.115 MB / 409.1 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.5134, allocations: 0 / 409.1 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/0.5138, allocations: 87.52 kB / 409.2 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/0.5141, allocations: 50.45 kB / 409.2 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.5141, allocations: 7.125 kB / 409.2 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.5159, allocations: 1.529 MB / 410.8 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.5159, allocations: 0 / 410.8 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.5176, allocations: 0.77 MB / 411.5 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.5179, allocations: 153.4 kB / 411.7 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/0.518, allocations: 4 kB / 411.7 MB, free: 7.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.5184, allocations: 19.36 kB / 411.7 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/0.5185, allocations: 39.19 kB / 411.7 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/0.5185, allocations: 14.84 kB / 411.8 MB, free: 7.746 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00025/0.5188, allocations: 200.1 kB / 411.9 MB, free: 7.656 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.5188, allocations: 0 / 411.9 MB, free: 7.656 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001386/0.5202, allocations: 279.7 kB / 412.2 MB, free: 7.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002771/0.5205, allocations: 138.2 kB / 412.4 MB, free: 7.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.5224, allocations: 0.9947 MB / 413.4 MB, free: 7.184 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.795e-06/0.5224, allocations: 4.125 kB / 413.4 MB, free: 7.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005363/0.523, allocations: 320.4 kB / 413.7 MB, free: 7.051 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.5234, allocations: 27.03 kB / 413.7 MB, free: 7.043 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.5271, allocations: 1.141 MB / 414.8 MB, free: 6.566 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/0.5277, allocations: 0.8497 MB / 415.7 MB, free: 5.797 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.5279, allocations: 49.91 kB / 415.7 MB, free: 5.781 MB / 314.7 MB Notification: Performance of SimCode: time 1.858e-06/0.5279, allocations: 3.938 kB / 415.7 MB, free: 5.777 MB / 314.7 MB Notification: Performance of Templates: time 0.01409/0.5421, allocations: 7.856 MB / 423.6 MB, free: 15.69 MB / 330.7 MB