Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") Notification: Performance of loadModel(Modelica): time 2.063/2.063, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.628e-05/2.62e-05, allocations: 0 / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1082, allocations: 50.42 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.007486/0.1157, allocations: 4.382 MB / 349.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004388/0.1202, allocations: 1.543 MB / 350.9 MB, free: 3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007056/0.121, allocations: 24 kB / 350.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007101/0.1217, allocations: 170.9 kB / 351.1 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002367/0.1241, allocations: 0.5918 MB / 351.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.1251, allocations: 211.6 kB / 351.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.1265, allocations: 435.5 kB / 352.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003964/0.1305, allocations: 1.327 MB / 353.6 MB, free: 232 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005614/0.131, allocations: 239.4 kB / 353.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006491/0.1317, allocations: 338.9 kB / 354.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007519/0.1325, allocations: 163.8 kB / 354.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.1327, allocations: 32 kB / 354.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.1328, allocations: 119.5 kB / 354.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.133, allocations: 63.94 kB / 354.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.1346, allocations: 0.8805 MB / 355.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1346, allocations: 0 / 355.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1346, allocations: 0 / 355.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.544e-05/0.1346, allocations: 0 / 355.5 MB, free: 14.41 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.00484/0.1395, allocations: 1.19 MB / 356.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.1396, allocations: 8.031 kB / 356.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007101/0.1467, allocations: 0.6507 MB / 357.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009574/0.1477, allocations: 414 kB / 357.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.818e-05/0.1478, allocations: 74 kB / 357.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002567/0.1481, allocations: 99.89 kB / 357.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/0.1509, allocations: 0.9781 MB / 358.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.201e-05/0.151, allocations: 4 kB / 358.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.1511, allocations: 36 kB / 358.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.1512, allocations: 24 kB / 358.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002913/0.1541, allocations: 0.933 MB / 359.9 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007725/0.1619, allocations: 3.366 MB / 363.2 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003758/0.1657, allocations: 2.245 MB / 365.5 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.1659, allocations: 97.64 kB / 365.6 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.166, allocations: 47.08 kB / 365.6 MB, free: 3.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=65): time 3.858e-06/0.166, allocations: 0 / 365.6 MB, free: 3.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.002329/0.1684, allocations: 0.7252 MB / 366.3 MB, free: 2.859 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.592e-05/0.1685, allocations: 115.3 kB / 366.4 MB, free: 2.723 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003997/0.1689, allocations: 241.6 kB / 366.7 MB, free: 2.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.169, allocations: 37.7 kB / 366.7 MB, free: 2.441 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.1693, allocations: 441 kB / 367.1 MB, free: 2.004 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.1696, allocations: 224.7 kB / 367.4 MB, free: 1.781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.1696, allocations: 16 kB / 367.4 MB, free: 1.766 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1698, allocations: 350.8 kB / 367.7 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007237/0.1705, allocations: 221.9 kB / 367.9 MB, free: 1.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008958/0.1715, allocations: 439.3 kB / 368.4 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008683/0.1723, allocations: 286.1 kB / 368.7 MB, free: 412 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.1724, allocations: 0 / 368.7 MB, free: 412 kB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002192/0.1746, allocations: 0.745 MB / 369.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.1746, allocations: 8 kB / 369.4 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.1747, allocations: 11.78 kB / 369.4 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.062e-05/0.1747, allocations: 12 kB / 369.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.1762, allocations: 195.7 kB / 369.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.599e-05/0.1762, allocations: 11.94 kB / 369.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007236/0.177, allocations: 91.39 kB / 369.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.73e-05/0.1771, allocations: 32 kB / 369.8 MB, free: 15.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 98 * 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.000453/0.1775, allocations: 216.3 kB / 370 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.1777, allocations: 43.47 kB / 370 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.1797, allocations: 0.6595 MB / 370.7 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.1798, allocations: 8 kB / 370.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.1798, allocations: 4 kB / 370.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.1798, allocations: 3.984 kB / 370.7 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003798/0.1836, allocations: 1.483 MB / 372.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.1837, allocations: 4 kB / 372.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.1849, allocations: 147.8 kB / 372.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/0.185, allocations: 4 kB / 372.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/0.185, allocations: 12 kB / 372.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.185, allocations: 4 kB / 372.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1851, allocations: 4 kB / 372.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.1877, allocations: 1.157 MB / 373.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.188, allocations: 124.5 kB / 373.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.1881, allocations: 12 kB / 373.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006614/0.1888, allocations: 27.94 kB / 373.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.1889, allocations: 40.5 kB / 373.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/0.189, allocations: 24 kB / 373.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002787/0.1893, allocations: 182 kB / 373.9 MB, free: 11.03 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1893, allocations: 0 / 373.9 MB, free: 11.03 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001055/0.1904, allocations: 227 kB / 374.1 MB, free: 10.81 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,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 (72): * Single equations (assignments): 72 * 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.0003389/0.1907, allocations: 151.1 kB / 374.3 MB, free: 10.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.1926, allocations: 0.6135 MB / 374.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.1926, allocations: 0 / 374.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008338/0.1935, allocations: 308.5 kB / 375.2 MB, free: 9.746 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.194, allocations: 28.56 kB / 375.2 MB, free: 9.719 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.1976, allocations: 1.618 MB / 376.8 MB, free: 8.055 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/0.1983, allocations: 0.9126 MB / 377.7 MB, free: 7.117 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.1986, allocations: 59.42 kB / 377.8 MB, free: 7.059 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1987, allocations: 4 kB / 377.8 MB, free: 7.055 MB / 314.7 MB Notification: Performance of Templates: time 0.01743/0.2161, allocations: 7.047 MB / 384.8 MB, free: 0 / 314.7 MB