Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadModel(Modelica): time 2.123/2.123, allocations: 224.7 MB / 241.1 MB, free: 1.652 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.142e-05/3.136e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 50.41 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01275/0.1211, allocations: 7.571 MB / 352.5 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006596/0.1277, allocations: 2.325 MB / 354.9 MB, free: 15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.1295, allocations: 79.81 kB / 354.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.1314, allocations: 421.5 kB / 355.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003639/0.1351, allocations: 0.7164 MB / 356.1 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.1381, allocations: 0.6071 MB / 356.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005156/0.1432, allocations: 2.109 MB / 358.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02111/0.1644, allocations: 7.964 MB / 366.8 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002757/0.1672, allocations: 1.146 MB / 367.9 MB, free: 1.895 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003326/0.1706, allocations: 1.378 MB / 369.3 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.1726, allocations: 291.7 kB / 369.6 MB, free: 232 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000702/0.1733, allocations: 116 kB / 369.7 MB, free: 116 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008696/0.1742, allocations: 0.5289 MB / 370.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.1755, allocations: 300 kB / 370.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.1868, allocations: 7.488 MB / 378 MB, free: 7.781 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1869, allocations: 0 / 378 MB, free: 7.781 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.1869, allocations: 4 kB / 378 MB, free: 7.777 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000238/0.1872, allocations: 0 / 378 MB, free: 7.777 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01731/0.2045, allocations: 4.301 MB / 382.3 MB, free: 3.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.2046, allocations: 8.031 kB / 382.3 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/0.2166, allocations: 1.291 MB / 383.6 MB, free: 2.105 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007058/0.2237, allocations: 2.474 MB / 386.1 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005062/0.2242, allocations: 353.3 kB / 386.4 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001798/0.2261, allocations: 452 kB / 386.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02102/0.2471, allocations: 6.043 MB / 392.9 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001775/0.2473, allocations: 7.906 kB / 392.9 MB, free: 8.703 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001275/0.2486, allocations: 184 kB / 393.1 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002949/0.2489, allocations: 201.4 kB / 393.3 MB, free: 8.324 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01709/0.266, allocations: 5.257 MB / 398.5 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.336/0.6021, allocations: 21.05 MB / 419.6 MB, free: 33.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01313/0.6153, allocations: 5.596 MB / 425.2 MB, free: 27.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003588/0.6157, allocations: 109.4 kB / 425.3 MB, free: 27.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.6158, allocations: 51.81 kB / 425.3 MB, free: 27.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=100): time 6.072e-06/0.6158, allocations: 0 / 425.3 MB, free: 27.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.005469/0.6213, allocations: 1.891 MB / 427.2 MB, free: 26.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.6214, allocations: 64.3 kB / 427.3 MB, free: 26.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004056/0.6255, allocations: 1.307 MB / 428.6 MB, free: 25.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002264/0.6258, allocations: 41.58 kB / 428.6 MB, free: 25.58 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001926/0.6277, allocations: 1.981 MB / 430.6 MB, free: 23.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006552/0.6284, allocations: 366 kB / 431 MB, free: 23.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.6287, allocations: 43.47 kB / 431 MB, free: 23.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002485/0.629, allocations: 407.7 kB / 431.4 MB, free: 23.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002779/0.6318, allocations: 0.8485 MB / 432.3 MB, free: 22.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004012/0.6358, allocations: 1.963 MB / 434.2 MB, free: 20.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003968/0.6399, allocations: 1.349 MB / 435.6 MB, free: 19.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.643e-05/0.64, allocations: 11.38 kB / 435.6 MB, free: 19.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.009892/0.6499, allocations: 2.823 MB / 438.4 MB, free: 18.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.807e-05/0.65, allocations: 22.62 kB / 438.4 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-05/0.6501, allocations: 40.84 kB / 438.5 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001026/0.6503, allocations: 63.86 kB / 438.5 MB, free: 18.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004156/0.6544, allocations: 0.5431 MB / 439.1 MB, free: 18.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001307/0.6546, allocations: 82.67 kB / 439.2 MB, free: 18.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00349/0.6581, allocations: 293 kB / 439.5 MB, free: 17.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005852/0.6588, allocations: 124 kB / 439.6 MB, free: 17.68 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 176 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 281 * 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.005014/0.6638, allocations: 1.652 MB / 441.2 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005119/0.6644, allocations: 134.3 kB / 441.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004766/0.6691, allocations: 1.443 MB / 442.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002999/0.6722, allocations: 1.029 MB / 443.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/0.6723, allocations: 0 / 443.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.749e-05/0.6723, allocations: 3.984 kB / 443.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03171/0.7041, allocations: 12.38 MB / 456.2 MB, free: 408 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.835e-05/0.7042, allocations: 23.98 kB / 456.2 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/0.7061, allocations: 208.5 kB / 456.4 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.722e-05/0.7063, allocations: 28 kB / 456.5 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002512/0.7065, allocations: 52 kB / 456.5 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.252e-05/0.7066, allocations: 35.86 kB / 456.6 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.953e-05/0.7066, allocations: 27.88 kB / 456.6 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009147/0.7158, allocations: 3.771 MB / 460.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/0.7174, allocations: 339.1 kB / 460.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006864/0.7181, allocations: 43.98 kB / 460.7 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002091/0.7203, allocations: 63.94 kB / 460.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004548/0.7208, allocations: 135.5 kB / 460.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001914/0.721, allocations: 48 kB / 461 MB, free: 10.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003208/0.7242, allocations: 0.9799 MB / 461.9 MB, free: 9.965 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.002e-06/0.7243, allocations: 4 kB / 462 MB, free: 9.961 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005765/0.7301, allocations: 0.9407 MB / 462.9 MB, free: 9.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (101): * Single equations (assignments): 97 * 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.0008177/0.7309, allocations: 211.3 kB / 463.1 MB, free: 8.816 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006546/0.7375, allocations: 1.924 MB / 465 MB, free: 6.891 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.422e-05/0.7376, allocations: 384 / 465 MB, free: 6.891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002123/0.7397, allocations: 0.6274 MB / 465.7 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00407/0.7439, allocations: 356.9 kB / 466 MB, free: 5.918 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0266/0.7705, allocations: 8.29 MB / 474.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00957/0.7802, allocations: 3.054 MB / 477.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007382/0.781, allocations: 135.4 kB / 477.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.781, allocations: 4 kB / 477.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of Templates: time 0.08574/0.8667, allocations: 37.76 MB / 0.5032 GB, free: 4.324 MB / 394.7 MB