Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 224.7 MB / 241.1 MB, free: 1.656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.779e-05, allocations: 0 / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1248, allocations: 50.41 MB / 345 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005379/0.1303, allocations: 3.16 MB / 348.1 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003415/0.1337, allocations: 1.321 MB / 349.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003274/0.1341, allocations: 20 kB / 349.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.1346, allocations: 107.2 kB / 349.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.1359, allocations: 414.6 kB / 350 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.1372, allocations: 398.8 kB / 350.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006962/0.1379, allocations: 295.2 kB / 350.7 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.1396, allocations: 0.6655 MB / 351.3 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.14, allocations: 159.6 kB / 351.5 MB, free: 2.379 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003619/0.1404, allocations: 199.4 kB / 351.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006478/0.141, allocations: 179.8 kB / 351.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.884e-05/0.1411, allocations: 24 kB / 351.9 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.13e-05/0.1412, allocations: 75.69 kB / 352 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.1414, allocations: 36 kB / 352 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.1424, allocations: 0.5924 MB / 352.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1424, allocations: 0 / 352.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1424, allocations: 0 / 352.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.1424, allocations: 0 / 352.6 MB, free: 1.281 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.003366/0.1458, allocations: 0.8779 MB / 353.5 MB, free: 360 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.1459, allocations: 8.031 kB / 353.5 MB, free: 352 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004257/0.1501, allocations: 406.9 kB / 353.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008878/0.1511, allocations: 348.1 kB / 354.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.036e-05/0.1512, allocations: 45.31 kB / 354.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.1513, allocations: 56 kB / 354.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.1534, allocations: 0.7017 MB / 355 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.1535, allocations: 0 / 355 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.1536, allocations: 27.95 kB / 355 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.186e-05/0.1536, allocations: 29.25 kB / 355.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.1559, allocations: 0.7039 MB / 355.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005747/0.1617, allocations: 2.362 MB / 358.1 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.1642, allocations: 1.203 MB / 359.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.1644, allocations: 89.41 kB / 359.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.1644, allocations: 34.56 kB / 359.5 MB, free: 9.965 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 3.687e-06/0.1645, allocations: 0 / 359.5 MB, free: 9.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.003155/0.1676, allocations: 0.8159 MB / 360.3 MB, free: 9.121 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.1677, allocations: 55.41 kB / 360.3 MB, free: 9.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.1681, allocations: 245.7 kB / 360.6 MB, free: 8.812 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.826e-05/0.1682, allocations: 33.7 kB / 360.6 MB, free: 8.773 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.1685, allocations: 302.8 kB / 360.9 MB, free: 8.473 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.1687, allocations: 157.7 kB / 361 MB, free: 8.316 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.1688, allocations: 8 kB / 361.1 MB, free: 8.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1689, allocations: 326.8 kB / 361.4 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007189/0.1697, allocations: 185 kB / 361.6 MB, free: 7.801 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008148/0.1705, allocations: 310.3 kB / 361.9 MB, free: 7.457 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007862/0.1713, allocations: 216 kB / 362.1 MB, free: 7.246 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.1713, allocations: 0 / 362.1 MB, free: 7.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002067/0.1734, allocations: 0.5994 MB / 362.7 MB, free: 6.637 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006221/0.1741, allocations: 1.308 MB / 364 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.1741, allocations: 4 kB / 364 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003838/0.1745, allocations: 60.77 kB / 364 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/0.1754, allocations: 107.9 kB / 364.1 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.1778, allocations: 1.608 MB / 365.8 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006356/0.1784, allocations: 59.42 kB / 365.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.451e-05/0.1785, allocations: 27.98 kB / 365.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1786, allocations: 4 kB / 365.8 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001893/0.1805, allocations: 0.5434 MB / 366.4 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.1806, allocations: 4 kB / 366.4 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002389/0.1808, allocations: 52.83 kB / 366.4 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008324/0.1816, allocations: 103.8 kB / 366.5 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.1836, allocations: 1.516 MB / 368.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/0.1842, allocations: 47.67 kB / 368.1 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/0.1843, allocations: 27.98 kB / 368.1 MB, free: 0.7852 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 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.0004238/0.1847, allocations: 173.7 kB / 368.3 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.1849, allocations: 31.62 kB / 368.3 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.187, allocations: 0.6019 MB / 368.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.1871, allocations: 4 kB / 368.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1871, allocations: 4 kB / 368.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.1871, allocations: 3.984 kB / 368.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003321/0.1905, allocations: 1.229 MB / 370.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.1905, allocations: 3.938 kB / 370.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007745/0.1913, allocations: 91.88 kB / 370.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003041/0.1916, allocations: 56.77 kB / 370.3 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.356e-05/0.1917, allocations: 12 kB / 370.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.1938, allocations: 1.589 MB / 371.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.1938, allocations: 4.031 kB / 371.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/0.1966, allocations: 0.909 MB / 372.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.1969, allocations: 140.6 kB / 373 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.1971, allocations: 15.95 kB / 373 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004746/0.1975, allocations: 24.05 kB / 373 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.1977, allocations: 36.39 kB / 373 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/0.1978, allocations: 15.98 kB / 373.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003029/0.1981, allocations: 190 kB / 373.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1981, allocations: 0 / 373.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00123/0.1993, allocations: 247.2 kB / 373.5 MB, free: 11.17 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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: 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.0003545/0.1997, allocations: 139.2 kB / 373.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003159/0.2029, allocations: 1.024 MB / 374.7 MB, free: 9.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.2029, allocations: 0.875 kB / 374.7 MB, free: 9.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.204, allocations: 393 kB / 375 MB, free: 9.586 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.2046, allocations: 35.36 kB / 375.1 MB, free: 9.555 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.2072, allocations: 1.147 MB / 376.2 MB, free: 8.371 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.2077, allocations: 0.8291 MB / 377 MB, free: 7.512 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/0.2081, allocations: 51.41 kB / 377.1 MB, free: 7.461 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2081, allocations: 0 / 377.1 MB, free: 7.461 MB / 314.7 MB Notification: Performance of Templates: time 0.0173/0.2254, allocations: 7.839 MB / 384.9 MB, free: 15.61 MB / 330.7 MB