Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma|voltageSource.voltageSource.2..pin_p.reference.gamma|voltageSource.voltageSource.3..pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadModel(Modelica): time 1.733/1.733, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.057e-05/3.071e-05, allocations: 4 kB / 225 MB, free: 2.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2116, allocations: 38.77 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.3236, allocations: 74.51 MB / 338.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.3238, allocations: 83.95 kB / 338.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8953/1.219, allocations: 171.8 MB / 0.4982 GB, free: 68.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.806e-06/1.219, allocations: 0 / 0.4982 GB, free: 68.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002604/1.219, allocations: 107 kB / 0.4983 GB, free: 68.44 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: 1355 * Number of variables: 1355 Notification: Performance of Generate backend data structure: time 0.0177/1.237, allocations: 4.491 MB / 0.5027 GB, free: 67.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.237, allocations: 15.17 kB / 0.5027 GB, free: 67.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002361/1.24, allocations: 485.7 kB / 0.5032 GB, free: 66.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007048/1.247, allocations: 2.926 MB / 0.506 GB, free: 66.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005389/1.247, allocations: 370.8 kB / 0.5064 GB, free: 66.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001771/1.249, allocations: 473.2 kB / 0.5068 GB, free: 66.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0205/1.27, allocations: 7.562 MB / 0.5142 GB, free: 65.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000176/1.27, allocations: 7.531 kB / 0.5142 GB, free: 65.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001474/1.271, allocations: 214.1 kB / 0.5144 GB, free: 65.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002507/1.272, allocations: 219.2 kB / 0.5147 GB, free: 65.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01405/1.286, allocations: 5.332 MB / 0.5199 GB, free: 65.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0767/1.362, allocations: 23.96 MB / 0.5433 GB, free: 60.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/1.373, allocations: 2.723 MB / 0.5459 GB, free: 58.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01228/1.385, allocations: 3.179 MB / 0.549 GB, free: 57.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005036/1.386, allocations: 75.2 kB / 0.5491 GB, free: 57.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.468e-05/1.386, allocations: 57.03 kB / 0.5491 GB, free: 57.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=324): time 1.727e-05/1.386, allocations: 2.906 kB / 0.5492 GB, free: 57.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=324): time 0.01577/1.402, allocations: 5.539 MB / 0.5546 GB, free: 55.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/1.402, allocations: 129.3 kB / 0.5547 GB, free: 54.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/1.403, allocations: 0.7587 MB / 0.5554 GB, free: 54.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005207/1.404, allocations: 61.2 kB / 0.5555 GB, free: 54.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007658/1.405, allocations: 1.619 MB / 0.5571 GB, free: 53.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001417/1.406, allocations: 1.061 MB / 0.5581 GB, free: 52.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/1.406, allocations: 47.81 kB / 0.5581 GB, free: 52.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002612/1.407, allocations: 429.7 kB / 0.5586 GB, free: 52.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003838/1.41, allocations: 2.097 MB / 0.5606 GB, free: 51.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004767/1.415, allocations: 2.53 MB / 0.5631 GB, free: 49.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004868/1.42, allocations: 2.548 MB / 0.5656 GB, free: 48.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.332e-05/1.42, allocations: 3.875 kB / 0.5656 GB, free: 48.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.01222/1.432, allocations: 5.95 MB / 0.5714 GB, free: 44.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/1.433, allocations: 12 kB / 0.5714 GB, free: 44.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-05/1.433, allocations: 8 kB / 0.5714 GB, free: 44.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003463/1.436, allocations: 1.739 MB / 0.5731 GB, free: 42.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/1.438, allocations: 329.9 kB / 0.5734 GB, free: 42.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007038/1.445, allocations: 6.413 MB / 0.5797 GB, free: 36.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/1.447, allocations: 231.6 kB / 0.5799 GB, free: 36.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003909/1.447, allocations: 107.2 kB / 0.58 GB, free: 36.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005943/1.448, allocations: 229.1 kB / 0.5802 GB, free: 36.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005927/1.449, allocations: 153.9 kB / 0.5804 GB, free: 36.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/1.46, allocations: 5.853 MB / 0.5861 GB, free: 30.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01007/1.47, allocations: 5.494 MB / 0.5914 GB, free: 26.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/1.47, allocations: 0 / 0.5914 GB, free: 26.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/1.47, allocations: 15.3 kB / 0.5915 GB, free: 26.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02382/1.494, allocations: 12.18 MB / 0.6034 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.559e-05/1.494, allocations: 7.25 kB / 0.6034 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/1.495, allocations: 227 kB / 0.6036 GB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004113/1.499, allocations: 1.727 MB / 0.6053 GB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006051/1.5, allocations: 74.97 kB / 0.6053 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009224/1.509, allocations: 6.396 MB / 0.6116 GB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.07e-06/1.509, allocations: 10.28 kB / 0.6116 GB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.232/1.741, allocations: 9.384 MB / 0.6208 GB, free: 63.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006115/1.742, allocations: 278.6 kB / 0.621 GB, free: 63.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007049/1.743, allocations: 40.91 kB / 0.6211 GB, free: 63.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/1.744, allocations: 60.95 kB / 0.6211 GB, free: 63.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007194/1.745, allocations: 261.5 kB / 0.6214 GB, free: 63.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003357/1.745, allocations: 86.5 kB / 0.6214 GB, free: 63.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001096/1.746, allocations: 0.5988 MB / 0.622 GB, free: 63.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.46e-07/1.746, allocations: 0 / 0.622 GB, free: 63.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003079/1.749, allocations: 1.065 MB / 0.6231 GB, free: 63.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (voltageSource.voltageSource[1].pin_p.reference.gamma,voltageSource.voltageSource[3].pin_p.reference.gamma,voltageSource.voltageSource[2].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005104/1.75, allocations: 197.8 kB / 0.6233 GB, free: 63.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01022/1.76, allocations: 4.953 MB / 0.6281 GB, free: 63.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.394e-06/1.76, allocations: 0 / 0.6281 GB, free: 63.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00557/1.766, allocations: 2.557 MB / 0.6306 GB, free: 63.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/1.768, allocations: 347 kB / 0.6309 GB, free: 63.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/1.785, allocations: 8.338 MB / 0.6391 GB, free: 61.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004871/1.79, allocations: 3.596 MB / 0.6426 GB, free: 60.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001458/1.791, allocations: 369.5 kB / 0.6429 GB, free: 60.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003518/1.792, allocations: 81.56 kB / 0.643 GB, free: 60.94 MB / 362.7 MB Notification: Performance of SimCode: time 1.915e-06/1.792, allocations: 0 / 0.643 GB, free: 60.94 MB / 362.7 MB Notification: Performance of Templates: time 0.09731/1.889, allocations: 45.96 MB / 0.6879 GB, free: 54.76 MB / 362.7 MB