Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,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.BalancingDelta") Notification: Performance of loadModel(Modelica): time 1.658/1.658, allocations: 171.2 MB / 185.7 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.493e-05/3.482e-05, allocations: 4 kB / 228.2 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08428/0.08435, allocations: 38.76 MB / 266.9 MB, free: 480 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01307/0.09748, allocations: 7.941 MB / 274.9 MB, free: 8.488 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00574/0.1033, allocations: 2.021 MB / 276.9 MB, free: 6.461 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.1049, allocations: 75.81 kB / 277 MB, free: 6.387 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.1069, allocations: 417.6 kB / 277.4 MB, free: 5.977 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.109, allocations: 350.9 kB / 277.7 MB, free: 5.633 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003139/0.1122, allocations: 0.8258 MB / 278.5 MB, free: 4.805 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.005056/0.1172, allocations: 2.144 MB / 280.7 MB, free: 2.656 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02425/0.1415, allocations: 9.099 MB / 289.8 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002878/0.1445, allocations: 1.161 MB / 290.9 MB, free: 8.332 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003406/0.1479, allocations: 1.386 MB / 292.3 MB, free: 6.941 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.1498, allocations: 239.8 kB / 292.6 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007636/0.1506, allocations: 120 kB / 292.7 MB, free: 6.59 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007767/0.1514, allocations: 0.5094 MB / 293.2 MB, free: 6.078 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.1527, allocations: 316 kB / 293.5 MB, free: 5.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2487/0.4014, allocations: 7.816 MB / 301.3 MB, free: 12.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4015, allocations: 2.156 kB / 301.3 MB, free: 12.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.957e-06/0.4015, allocations: 0 / 301.3 MB, free: 12.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002959/0.4018, allocations: 2.141 kB / 301.3 MB, free: 12.25 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.01849/0.4203, allocations: 4.496 MB / 305.8 MB, free: 10.78 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.4204, allocations: 8.906 kB / 305.8 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/0.4234, allocations: 467.4 kB / 306.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007028/0.4305, allocations: 2.295 MB / 308.6 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004698/0.431, allocations: 364.2 kB / 308.9 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002399/0.4334, allocations: 477.6 kB / 309.4 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02395/0.4574, allocations: 6.596 MB / 316 MB, free: 8.578 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002371/0.4577, allocations: 2.781 kB / 316 MB, free: 8.578 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001793/0.4595, allocations: 201.3 kB / 316.2 MB, free: 8.578 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.4597, allocations: 116 kB / 316.3 MB, free: 8.578 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01538/0.4751, allocations: 4.948 MB / 321.2 MB, free: 6.863 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04975/0.5249, allocations: 21.7 MB / 342.9 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.5262, allocations: 446.1 kB / 343.4 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-05/0.5263, allocations: 9.5 kB / 343.4 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.5264, allocations: 38.56 kB / 343.4 MB, free: 1.332 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 3.867e-06/0.5264, allocations: 3.938 kB / 343.4 MB, free: 1.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001882/0.5283, allocations: 0.7423 MB / 344.2 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.5284, allocations: 106.8 kB / 344.3 MB, free: 452 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003135/0.5315, allocations: 1.391 MB / 345.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.343e-05/0.5317, allocations: 33.7 kB / 345.7 MB, free: 15 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00216/0.5338, allocations: 2.093 MB / 347.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.5341, allocations: 141.2 kB / 347.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.5343, allocations: 40 kB / 348 MB, free: 12.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003583/0.5347, allocations: 434.7 kB / 348.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.5363, allocations: 0.6359 MB / 349 MB, free: 11.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/0.5389, allocations: 1.781 MB / 350.8 MB, free: 9.309 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/0.5415, allocations: 1.124 MB / 351.9 MB, free: 8.223 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.501e-05/0.5416, allocations: 15.95 kB / 352 MB, free: 8.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.007739/0.5493, allocations: 2.366 MB / 354.3 MB, free: 6.078 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.124e-05/0.5495, allocations: 24.97 kB / 354.3 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/0.5496, allocations: 40 kB / 354.4 MB, free: 6.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.5498, allocations: 64 kB / 354.4 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003652/0.5534, allocations: 452.7 kB / 354.9 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001295/0.5536, allocations: 78.34 kB / 355 MB, free: 5.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/0.5567, allocations: 253.4 kB / 355.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003814/0.5571, allocations: 112 kB / 355.3 MB, free: 5.133 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 188 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.005747/0.5629, allocations: 1.735 MB / 357.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005608/0.5635, allocations: 118.5 kB / 357.2 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.5658, allocations: 0.5443 MB / 357.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001254/0.5671, allocations: 404.6 kB / 358.1 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.5671, allocations: 7.938 kB / 358.1 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.5672, allocations: 0 / 358.1 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/0.5843, allocations: 4.327 MB / 362.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-05/0.5844, allocations: 4 kB / 362.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008761/0.5853, allocations: 71.42 kB / 362.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-05/0.5854, allocations: 12 kB / 362.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-05/0.5854, allocations: 15.47 kB / 362.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.617e-05/0.5855, allocations: 15.98 kB / 362.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.68e-05/0.5855, allocations: 11.66 kB / 362.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003511/0.589, allocations: 1.603 MB / 364.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009504/0.5901, allocations: 235.5 kB / 364.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003787/0.5905, allocations: 19.98 kB / 364.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.5918, allocations: 23.98 kB / 364.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.592, allocations: 54.61 kB / 364.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.759e-05/0.5921, allocations: 16 kB / 364.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.003416/0.5955, allocations: 1.024 MB / 365.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.51e-07/0.5956, allocations: 4 kB / 365.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.005573/0.6012, allocations: 0.916 MB / 366.5 MB, free: 9.688 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 3 (voltageSource.voltageSource[3].pin_p.reference.gamma,voltageSource.voltageSource[2].pin_p.reference.gamma,voltageSource.voltageSource[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0006176/0.6019, allocations: 157.4 kB / 366.6 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004707/0.6066, allocations: 1.298 MB / 367.9 MB, free: 8.355 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-05/0.6067, allocations: 0 / 367.9 MB, free: 8.355 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008747/0.6076, allocations: 231 kB / 368.1 MB, free: 8.152 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004224/0.6118, allocations: 310.8 kB / 368.4 MB, free: 7.848 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02486/0.6367, allocations: 7.895 MB / 376.3 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008271/0.6451, allocations: 3.226 MB / 379.6 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.003164/0.6483, allocations: 0.6905 MB / 380.3 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003159/0.6487, allocations: 83.44 kB / 380.3 MB, free: 11.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6487, allocations: 0 / 380.3 MB, free: 11.82 MB / 314.7 MB Notification: Performance of Templates: time 0.051/0.6997, allocations: 14.45 MB / 394.8 MB, free: 13.48 MB / 330.7 MB