Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 224.7 MB / 241.1 MB, free: 1.652 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.797e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 50.41 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01785/0.1268, allocations: 10.73 MB / 355.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009686/0.1366, allocations: 3.326 MB / 359 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002623/0.1393, allocations: 99.81 kB / 359.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002813/0.1421, allocations: 0.5553 MB / 359.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005902/0.1481, allocations: 1.184 MB / 360.9 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004074/0.1522, allocations: 0.8108 MB / 361.7 MB, free: 8.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01544/0.1677, allocations: 6.171 MB / 367.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02967/0.1974, allocations: 10.39 MB / 378.2 MB, free: 7.555 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003843/0.2013, allocations: 1.629 MB / 379.9 MB, free: 5.922 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00507/0.2064, allocations: 2.137 MB / 382 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.209, allocations: 323.8 kB / 382.3 MB, free: 3.461 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.2103, allocations: 180 kB / 382.5 MB, free: 3.285 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001643/0.212, allocations: 0.8364 MB / 383.3 MB, free: 2.445 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002083/0.2141, allocations: 435.9 kB / 383.8 MB, free: 2.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01565/0.2298, allocations: 9.973 MB / 393.7 MB, free: 8.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2298, allocations: 0 / 393.7 MB, free: 8.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.2299, allocations: 3.938 kB / 393.7 MB, free: 8.016 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003559/0.2302, allocations: 0 / 393.7 MB, free: 8.016 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02722/0.2575, allocations: 6.417 MB / 400.1 MB, free: 1.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.2575, allocations: 8.031 kB / 400.2 MB, free: 1.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3155/0.5731, allocations: 2.888 MB / 403 MB, free: 41.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/0.5844, allocations: 3.578 MB / 406.6 MB, free: 40.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006729/0.5851, allocations: 481.2 kB / 407.1 MB, free: 39.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002917/0.588, allocations: 0.6204 MB / 407.7 MB, free: 39.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03167/0.6198, allocations: 9.22 MB / 416.9 MB, free: 35.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000301/0.6201, allocations: 7.875 kB / 416.9 MB, free: 35.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002113/0.6222, allocations: 261 kB / 417.2 MB, free: 35.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000469/0.6227, allocations: 335.8 kB / 417.5 MB, free: 35.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02359/0.6463, allocations: 7.897 MB / 425.4 MB, free: 31.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08367/0.7301, allocations: 28.63 MB / 454.1 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02392/0.7541, allocations: 11.66 MB / 465.7 MB, free: 4.492 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006628/0.7548, allocations: 136 kB / 465.8 MB, free: 4.352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.755e-05/0.7549, allocations: 68.52 kB / 465.9 MB, free: 4.277 MB / 346.7 MB Notification: Performance of pre-optimization done (n=238): time 7.454e-06/0.7549, allocations: 4 kB / 465.9 MB, free: 4.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=238): time 0.01594/0.7709, allocations: 4.143 MB / 470.1 MB, free: 92 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.771, allocations: 103.1 kB / 470.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004304/0.7753, allocations: 1.695 MB / 471.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004778/0.7759, allocations: 61.7 kB / 471.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0024/0.7783, allocations: 2.522 MB / 474.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001289/0.7796, allocations: 0.8167 MB / 475.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003678/0.78, allocations: 68 kB / 475.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000361/0.7804, allocations: 454.1 kB / 475.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003943/0.7843, allocations: 1.393 MB / 477.2 MB, free: 8.941 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005161/0.7895, allocations: 2.581 MB / 479.7 MB, free: 5.828 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005194/0.7948, allocations: 1.996 MB / 481.7 MB, free: 3.832 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.722e-05/0.7949, allocations: 8 kB / 481.7 MB, free: 3.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01279/0.8077, allocations: 4.426 MB / 486.2 MB, free: 15.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.751e-05/0.8078, allocations: 20 kB / 486.2 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-05/0.8079, allocations: 40 kB / 486.2 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.8092, allocations: 318.6 kB / 486.5 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005842/0.8151, allocations: 0.7761 MB / 487.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008177/0.8233, allocations: 4.669 MB / 492 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003729/0.8271, allocations: 423.9 kB / 492.4 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006516/0.8278, allocations: 163.9 kB / 492.6 MB, free: 8.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (414): * Single equations (assignments): 412 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005452/0.8332, allocations: 2.179 MB / 494.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006247/0.8339, allocations: 205.4 kB / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009139/0.843, allocations: 3.185 MB / 498.1 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-05/0.8431, allocations: 26.16 kB / 498.2 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/0.8431, allocations: 4 kB / 498.2 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.003e-05/0.8432, allocations: 11.95 kB / 498.2 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02943/0.8726, allocations: 11.62 MB / 0.4978 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-05/0.8727, allocations: 19.89 kB / 0.4979 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00365/0.8764, allocations: 424.2 kB / 0.4983 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.8777, allocations: 280.4 kB / 0.4985 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004524/0.8782, allocations: 64 kB / 0.4986 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008031/0.8862, allocations: 4.637 MB / 0.5031 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.082e-05/0.8863, allocations: 19.94 kB / 0.5031 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/0.8992, allocations: 5.824 MB / 0.5088 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/0.9011, allocations: 0.5368 MB / 0.5093 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007039/0.9018, allocations: 59.92 kB / 0.5094 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00263/0.9045, allocations: 115.9 kB / 0.5095 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006086/0.9051, allocations: 205.4 kB / 0.5097 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002482/0.9054, allocations: 83.98 kB / 0.5098 GB, free: 9.977 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00316/0.9085, allocations: 1.275 MB / 0.511 GB, free: 8.707 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.9086, allocations: 3.938 kB / 0.511 GB, free: 8.703 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005891/0.9145, allocations: 1.44 MB / 0.5124 GB, free: 7.258 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (224): * Single equations (assignments): 222 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008966/0.9154, allocations: 213.9 kB / 0.5127 GB, free: 7.043 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009748/0.9252, allocations: 3.619 MB / 0.5162 GB, free: 3.414 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.835e-05/0.9253, allocations: 0.875 kB / 0.5162 GB, free: 3.414 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004537/0.9298, allocations: 1.684 MB / 0.5178 GB, free: 1.707 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004292/0.9342, allocations: 464.1 kB / 0.5183 GB, free: 1.258 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02893/0.9632, allocations: 11.9 MB / 0.5299 GB, free: 5.148 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008341/0.9716, allocations: 3.994 MB / 0.5338 GB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/0.9732, allocations: 215.4 kB / 0.534 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of SimCode: time 1.432e-06/0.9732, allocations: 0 / 0.534 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of Templates: time 0.497/1.47, allocations: 118.3 MB / 0.6495 GB, free: 82.99 MB / 458.7 MB