Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadModel(Modelica): time 2.104/2.104, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.967e-05, allocations: 0 / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 50.41 MB / 345 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01203/0.1228, allocations: 7.104 MB / 352.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006426/0.1292, allocations: 2.228 MB / 354.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.1309, allocations: 71.81 kB / 354.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.1328, allocations: 377.8 kB / 354.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003567/0.1364, allocations: 0.7047 MB / 355.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.1392, allocations: 0.5767 MB / 356 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0047/0.1439, allocations: 1.871 MB / 357.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01942/0.1634, allocations: 6.989 MB / 364.9 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.1662, allocations: 1.017 MB / 365.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003078/0.1693, allocations: 1.265 MB / 367.2 MB, free: 2.652 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.1713, allocations: 271.8 kB / 367.4 MB, free: 2.387 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008148/0.1722, allocations: 112 kB / 367.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009398/0.1731, allocations: 493.8 kB / 368 MB, free: 1.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.1744, allocations: 272 kB / 368.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.1852, allocations: 6.619 MB / 374.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1852, allocations: 4 kB / 374.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1852, allocations: 0 / 374.9 MB, free: 10.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002286/0.1855, allocations: 0 / 374.9 MB, free: 10.89 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01666/0.2021, allocations: 3.97 MB / 378.9 MB, free: 6.852 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.2022, allocations: 8.031 kB / 378.9 MB, free: 6.844 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/0.2145, allocations: 1.268 MB / 380.2 MB, free: 5.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006508/0.2211, allocations: 2.209 MB / 382.4 MB, free: 3.316 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004587/0.2216, allocations: 312.4 kB / 382.7 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001784/0.2234, allocations: 419.8 kB / 383.1 MB, free: 2.598 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01934/0.2428, allocations: 5.422 MB / 388.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001678/0.243, allocations: 4 kB / 388.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001233/0.2442, allocations: 168 kB / 388.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002835/0.2445, allocations: 180.6 kB / 388.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01626/0.2608, allocations: 4.784 MB / 393.6 MB, free: 7.973 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3396/0.6005, allocations: 19.35 MB / 413 MB, free: 36.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007709/0.6083, allocations: 3.931 MB / 416.9 MB, free: 33.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003334/0.6087, allocations: 120.5 kB / 417 MB, free: 33.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.6087, allocations: 43.88 kB / 417.1 MB, free: 33.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=106): time 4.999e-06/0.6087, allocations: 4 kB / 417.1 MB, free: 33.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.004636/0.6134, allocations: 2.002 MB / 419.1 MB, free: 32.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.6135, allocations: 60.34 kB / 419.1 MB, free: 31.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/0.6162, allocations: 1.199 MB / 420.3 MB, free: 31.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.6164, allocations: 45.64 kB / 420.4 MB, free: 31.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.6176, allocations: 1.78 MB / 422.2 MB, free: 29.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005328/0.6182, allocations: 375 kB / 422.5 MB, free: 29.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.6184, allocations: 39.91 kB / 422.6 MB, free: 29.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.6186, allocations: 406.8 kB / 423 MB, free: 29.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.6208, allocations: 0.8684 MB / 423.8 MB, free: 28.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002974/0.6238, allocations: 1.857 MB / 425.7 MB, free: 26.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00322/0.6271, allocations: 1.32 MB / 427 MB, free: 26.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.156e-05/0.6272, allocations: 15.8 kB / 427 MB, free: 26.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.007222/0.6345, allocations: 2.778 MB / 429.8 MB, free: 24.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.601e-05/0.6346, allocations: 19.16 kB / 429.8 MB, free: 24.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.648e-05/0.6346, allocations: 36.69 kB / 429.9 MB, free: 24.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.033e-05/0.6347, allocations: 51.88 kB / 429.9 MB, free: 24.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003478/0.6382, allocations: 0.5175 MB / 430.4 MB, free: 24.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001057/0.6384, allocations: 77.81 kB / 430.5 MB, free: 24.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.6408, allocations: 287.6 kB / 430.8 MB, free: 24.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004572/0.6413, allocations: 116.3 kB / 430.9 MB, free: 24.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.003458/0.6448, allocations: 1.469 MB / 432.4 MB, free: 23.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003769/0.6452, allocations: 124.3 kB / 432.5 MB, free: 23.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003631/0.6489, allocations: 1.564 MB / 434.1 MB, free: 22.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002357/0.6513, allocations: 1.128 MB / 435.2 MB, free: 21.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.6513, allocations: 0 / 435.2 MB, free: 21.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.6514, allocations: 11.97 kB / 435.2 MB, free: 21.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02356/0.6749, allocations: 12.59 MB / 447.8 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.756e-05/0.675, allocations: 20 kB / 447.8 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/0.6766, allocations: 227.5 kB / 448 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-05/0.6767, allocations: 32 kB / 448.1 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/0.6769, allocations: 51.94 kB / 448.1 MB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-05/0.6769, allocations: 39.86 kB / 448.2 MB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-05/0.677, allocations: 27.88 kB / 448.2 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005482/0.6824, allocations: 3.951 MB / 452.1 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.6835, allocations: 354.8 kB / 452.5 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004293/0.684, allocations: 51.94 kB / 452.5 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00146/0.6855, allocations: 72 kB / 452.6 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003042/0.6858, allocations: 143.4 kB / 452.7 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.6859, allocations: 59.98 kB / 452.8 MB, free: 3.762 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001912/0.6879, allocations: 0.8945 MB / 453.7 MB, free: 2.859 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.172e-06/0.6879, allocations: 3.938 kB / 453.7 MB, free: 2.855 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003628/0.6915, allocations: 0.8712 MB / 454.6 MB, free: 1.984 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 93 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0006686/0.6923, allocations: 205.4 kB / 454.8 MB, free: 1.781 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004685/0.697, allocations: 1.961 MB / 456.7 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.694e-05/0.697, allocations: 5.875 kB / 456.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.699, allocations: 0.6718 MB / 457.4 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002948/0.702, allocations: 315.3 kB / 457.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/0.721, allocations: 7.699 MB / 465.4 MB, free: 6.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005058/0.7261, allocations: 2.786 MB / 468.2 MB, free: 4.008 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008068/0.7269, allocations: 135.4 kB / 468.3 MB, free: 3.879 MB / 346.7 MB Notification: Performance of SimCode: time 1.282e-06/0.727, allocations: 2.625 kB / 468.3 MB, free: 3.879 MB / 346.7 MB Notification: Performance of Templates: time 0.08334/0.8103, allocations: 34.73 MB / 0.4913 GB, free: 1.117 MB / 378.7 MB