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 1.893/1.893, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.51e-05, allocations: 8 kB / 292.1 MB, free: 8.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 50.42 MB / 342.6 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3547/0.4551, allocations: 82.21 MB / 424.8 MB, free: 11.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.4554, allocations: 74.92 kB / 424.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07458/0.53, allocations: 19.44 MB / 444.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.186e-06/0.5301, allocations: 0 / 444.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.131e-05/0.5302, allocations: 31.98 kB / 444.3 MB, free: 11.36 MB / 362.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.00292/0.5331, allocations: 1.355 MB / 445.7 MB, free: 10.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.5332, allocations: 8.031 kB / 445.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003475/0.5335, allocations: 142.3 kB / 445.8 MB, free: 9.883 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/0.5356, allocations: 0.9068 MB / 446.7 MB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.525e-05/0.5357, allocations: 88.48 kB / 446.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.5359, allocations: 110.4 kB / 446.9 MB, free: 8.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002992/0.5389, allocations: 1.455 MB / 448.4 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.539, allocations: 352 / 448.4 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.5391, allocations: 54.08 kB / 448.4 MB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/0.5392, allocations: 31.94 kB / 448.4 MB, free: 7.906 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.5417, allocations: 1.144 MB / 449.6 MB, free: 7.184 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00924/0.551, allocations: 4.299 MB / 453.9 MB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.5526, allocations: 1.303 MB / 455.2 MB, free: 1.863 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008572/0.5535, allocations: 450.4 kB / 455.6 MB, free: 1.422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.5535, allocations: 8.438 kB / 455.6 MB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.5536, allocations: 43 kB / 455.7 MB, free: 1.359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 3.742e-06/0.5536, allocations: 4 kB / 455.7 MB, free: 1.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001295/0.5549, allocations: 0.585 MB / 456.3 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.555, allocations: 59.84 kB / 456.3 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.5563, allocations: 0.726 MB / 457.1 MB, free: 15.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.989e-05/0.5564, allocations: 33.7 kB / 457.1 MB, free: 15.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004848/0.5569, allocations: 0.5518 MB / 457.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.5571, allocations: 177.3 kB / 457.8 MB, free: 15.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.5572, allocations: 16 kB / 457.8 MB, free: 15.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.5574, allocations: 334.8 kB / 458.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005524/0.5579, allocations: 281 kB / 458.4 MB, free: 14.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006367/0.5586, allocations: 369.3 kB / 458.8 MB, free: 14.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006736/0.5593, allocations: 339.1 kB / 459.1 MB, free: 13.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.466e-06/0.5593, allocations: 3.984 kB / 459.1 MB, free: 13.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001487/0.5608, allocations: 0.725 MB / 459.9 MB, free: 13.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.5608, allocations: 4 kB / 459.9 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.5609, allocations: 4 kB / 459.9 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.5609, allocations: 4 kB / 459.9 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008296/0.5617, allocations: 151.8 kB / 460 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.5618, allocations: 4 kB / 460 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005686/0.5623, allocations: 67.66 kB / 460.1 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/0.5624, allocations: 20 kB / 460.1 MB, free: 12.86 MB / 378.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.0001816/0.5626, allocations: 139.4 kB / 460.2 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.5628, allocations: 75.11 kB / 460.3 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.5631, allocations: 94.84 kB / 460.4 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.5631, allocations: 8 kB / 460.4 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.521e-06/0.5631, allocations: 0 / 460.4 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.648e-06/0.5631, allocations: 0 / 460.4 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003896/0.567, allocations: 1.887 MB / 462.3 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.905e-06/0.5671, allocations: 0 / 462.3 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007208/0.5678, allocations: 115.9 kB / 462.4 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.844e-06/0.5678, allocations: 0 / 462.4 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.948e-05/0.5679, allocations: 15.98 kB / 462.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.519e-06/0.5679, allocations: 4.094 kB / 462.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.906e-06/0.5679, allocations: 11.89 kB / 462.4 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.5698, allocations: 1.084 MB / 463.5 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.5701, allocations: 168.2 kB / 463.7 MB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.5703, allocations: 15.98 kB / 463.7 MB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005487/0.5708, allocations: 51.95 kB / 463.8 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.571, allocations: 36.39 kB / 463.8 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.571, allocations: 12 kB / 463.8 MB, free: 9.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001028/0.5721, allocations: 0.5733 MB / 464.4 MB, free: 8.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.08e-07/0.5721, allocations: 0 / 464.4 MB, free: 8.441 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009521/0.5731, allocations: 282.7 kB / 464.7 MB, free: 8.164 MB / 378.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.000207/0.5733, allocations: 123.1 kB / 464.8 MB, free: 8.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.5745, allocations: 0.6015 MB / 465.4 MB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.454e-06/0.5745, allocations: 0 / 465.4 MB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005408/0.5751, allocations: 297.4 kB / 465.7 MB, free: 7.141 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009756/0.5761, allocations: 171.2 kB / 465.8 MB, free: 6.977 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.5803, allocations: 1.84 MB / 467.7 MB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/0.5818, allocations: 1.34 MB / 469 MB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/0.5821, allocations: 51.44 kB / 469.1 MB, free: 3.672 MB / 378.7 MB Notification: Performance of SimCode: time 1.763e-06/0.5821, allocations: 0 / 469.1 MB, free: 3.672 MB / 378.7 MB Notification: Performance of Templates: time 0.02513/0.6072, allocations: 12.81 MB / 481.9 MB, free: 6.902 MB / 394.7 MB