Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadModel(Modelica): time 2.209/2.209, allocations: 224.7 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.185e-05, allocations: 0 / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 50.42 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005054/0.1101, allocations: 2.988 MB / 348 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.1126, allocations: 0.8962 MB / 348.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004589/0.1131, allocations: 23.94 kB / 348.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.1135, allocations: 139.2 kB / 349 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008721/0.1144, allocations: 199.3 kB / 349.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.1147, allocations: 87.84 kB / 349.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.116, allocations: 0.6391 MB / 349.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.1172, allocations: 0.6475 MB / 350.6 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007375/0.118, allocations: 371 kB / 351 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.119, allocations: 478.4 kB / 351.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.1193, allocations: 48 kB / 351.5 MB, free: 2.426 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.1195, allocations: 48 kB / 351.5 MB, free: 2.379 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003952/0.1199, allocations: 307 kB / 351.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.1203, allocations: 120 kB / 351.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.1226, allocations: 1.64 MB / 353.6 MB, free: 324 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1226, allocations: 4 kB / 353.6 MB, free: 320 kB / 282.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1226, allocations: 0 / 353.6 MB, free: 320 kB / 282.7 MB Notification: Performance of Transformations before backend: time 6.162e-05/0.1227, allocations: 0 / 353.6 MB, free: 320 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003915/0.1266, allocations: 1.377 MB / 355 MB, free: 14.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1267, allocations: 8.031 kB / 355 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004969/0.1272, allocations: 142.3 kB / 355.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.1293, allocations: 0.8337 MB / 355.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-05/0.1295, allocations: 82.25 kB / 356 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002898/0.1298, allocations: 112 kB / 356.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004257/0.1341, allocations: 1.557 MB / 357.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.1341, allocations: 0 / 357.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.1343, allocations: 48 kB / 357.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/0.1344, allocations: 35.95 kB / 357.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003874/0.1383, allocations: 1.336 MB / 359.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/0.1497, allocations: 4.365 MB / 363.5 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/0.1517, allocations: 1.338 MB / 364.8 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.131e-05/0.1518, allocations: 8.438 kB / 364.8 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.1518, allocations: 39 kB / 364.8 MB, free: 4.578 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 3.326e-06/0.1519, allocations: 0 / 364.8 MB, free: 4.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.002607/0.1545, allocations: 0.908 MB / 365.8 MB, free: 3.664 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.1546, allocations: 59.84 kB / 365.8 MB, free: 3.594 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.1561, allocations: 0.7454 MB / 366.6 MB, free: 2.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.761e-05/0.1563, allocations: 37.7 kB / 366.6 MB, free: 2.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005696/0.1569, allocations: 0.5556 MB / 367.2 MB, free: 2.234 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.1571, allocations: 181.4 kB / 367.3 MB, free: 2.055 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.1572, allocations: 8 kB / 367.3 MB, free: 2.047 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1574, allocations: 334.8 kB / 367.7 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008905/0.1583, allocations: 312.9 kB / 368 MB, free: 1.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009155/0.1592, allocations: 406.5 kB / 368.4 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009722/0.1602, allocations: 373.9 kB / 368.7 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1602, allocations: 0 / 368.7 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002077/0.1623, allocations: 0.7991 MB / 369.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.1624, allocations: 4 kB / 369.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.1624, allocations: 4 kB / 369.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.1624, allocations: 4 kB / 369.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.1636, allocations: 160 kB / 369.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.1636, allocations: 7.938 kB / 369.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007068/0.1644, allocations: 63.5 kB / 369.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/0.1644, allocations: 16 kB / 369.8 MB, free: 15.55 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0009461/0.1654, allocations: 461.4 kB / 370.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/0.1657, allocations: 79.02 kB / 370.3 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.1659, allocations: 99.08 kB / 370.4 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.1659, allocations: 4 kB / 370.4 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.1659, allocations: 0 / 370.4 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.166, allocations: 7.922 kB / 370.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004892/0.1709, allocations: 1.961 MB / 372.4 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.1709, allocations: 4 kB / 372.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.172, allocations: 115.9 kB / 372.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.37e-05/0.172, allocations: 4 kB / 372.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/0.1721, allocations: 12 kB / 372.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.1721, allocations: 7.984 kB / 372.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.1721, allocations: 3.953 kB / 372.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.1749, allocations: 1.178 MB / 373.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003825/0.1753, allocations: 168.2 kB / 373.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.1755, allocations: 12 kB / 373.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007779/0.1763, allocations: 55.94 kB / 373.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.1765, allocations: 36.39 kB / 374 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/0.1765, allocations: 12 kB / 374 MB, free: 11.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001237/0.1778, allocations: 0.5927 MB / 374.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1778, allocations: 3.938 kB / 374.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001046/0.1789, allocations: 282.7 kB / 374.9 MB, free: 10.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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.0002273/0.1791, allocations: 119.2 kB / 375 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.181, allocations: 0.6733 MB / 375.6 MB, free: 9.539 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.181, allocations: 0 / 375.6 MB, free: 9.539 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008464/0.1819, allocations: 326.8 kB / 376 MB, free: 9.223 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.1833, allocations: 170.8 kB / 376.1 MB, free: 9.055 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00605/0.1893, allocations: 2.725 MB / 378.9 MB, free: 6.281 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/0.1907, allocations: 1.348 MB / 380.2 MB, free: 4.902 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/0.1911, allocations: 51.44 kB / 380.3 MB, free: 4.852 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1912, allocations: 0 / 380.3 MB, free: 4.852 MB / 314.7 MB Notification: Performance of Templates: time 0.03533/0.2265, allocations: 12.99 MB / 393.2 MB, free: 7.902 MB / 330.7 MB