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.721/1.721, allocations: 171.2 MB / 185.7 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.015e-05, allocations: 0 / 228.2 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09098/0.09104, allocations: 38.77 MB / 266.9 MB, free: 484 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01411/0.1052, allocations: 8.348 MB / 275.3 MB, free: 8.086 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00617/0.1114, allocations: 2.095 MB / 277.4 MB, free: 5.984 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.1132, allocations: 87.75 kB / 277.5 MB, free: 5.898 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.1155, allocations: 453.4 kB / 277.9 MB, free: 5.453 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.118, allocations: 382.8 kB / 278.3 MB, free: 5.078 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.1216, allocations: 0.818 MB / 279.1 MB, free: 4.258 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.005712/0.1273, allocations: 2.366 MB / 281.5 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02734/0.1547, allocations: 10.11 MB / 291.6 MB, free: 7.699 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003197/0.1579, allocations: 1.266 MB / 292.8 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003771/0.1618, allocations: 1.494 MB / 294.3 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.1636, allocations: 247.8 kB / 294.6 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008685/0.1646, allocations: 128 kB / 294.7 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009448/0.1655, allocations: 0.5521 MB / 295.2 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.1671, allocations: 344 kB / 295.6 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3351/0.5023, allocations: 8.635 MB / 304.2 MB, free: 12.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.5023, allocations: 0 / 304.2 MB, free: 12.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.5023, allocations: 0 / 304.2 MB, free: 12.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0003065/0.5027, allocations: 0 / 304.2 MB, free: 12.34 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: 1355 * Number of variables: 1355 Notification: Performance of Generate backend data structure: time 0.02084/0.5235, allocations: 4.809 MB / 309 MB, free: 9.91 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.5236, allocations: 9.469 kB / 309 MB, free: 9.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003451/0.5271, allocations: 0.4929 MB / 309.5 MB, free: 9.664 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007895/0.535, allocations: 2.513 MB / 312 MB, free: 8.961 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005025/0.5356, allocations: 394.4 kB / 312.4 MB, free: 8.945 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002642/0.5382, allocations: 0.5104 MB / 312.9 MB, free: 8.938 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02697/0.5652, allocations: 7.204 MB / 320.1 MB, free: 7.285 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002455/0.5655, allocations: 8.75 kB / 320.1 MB, free: 7.285 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002202/0.5678, allocations: 211.1 kB / 320.3 MB, free: 7.285 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.5679, allocations: 126.9 kB / 320.5 MB, free: 7.285 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01755/0.5855, allocations: 5.368 MB / 325.8 MB, free: 4.816 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05735/0.6429, allocations: 23.77 MB / 349.6 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009343/0.6439, allocations: 397 kB / 350 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-05/0.644, allocations: 8.188 kB / 350 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.6441, allocations: 50.48 kB / 350.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 3.467e-06/0.6441, allocations: 0 / 350.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001754/0.6458, allocations: 0.6674 MB / 350.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/0.646, allocations: 110.5 kB / 350.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003646/0.6496, allocations: 1.494 MB / 352.3 MB, free: 9.988 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.6498, allocations: 29.7 kB / 352.4 MB, free: 9.953 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002216/0.652, allocations: 2.293 MB / 354.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.6523, allocations: 129.1 kB / 354.8 MB, free: 7.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.6524, allocations: 36.09 kB / 354.8 MB, free: 7.484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002484/0.6527, allocations: 389.8 kB / 355.2 MB, free: 7.098 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.6545, allocations: 0.6324 MB / 355.8 MB, free: 6.465 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002941/0.6575, allocations: 1.915 MB / 357.7 MB, free: 3.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002825/0.6604, allocations: 1.179 MB / 358.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.846e-05/0.6605, allocations: 12 kB / 358.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006952/0.6674, allocations: 2.465 MB / 361.4 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/0.6675, allocations: 24 kB / 361.4 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-05/0.6676, allocations: 44 kB / 361.5 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.48e-05/0.6677, allocations: 68.75 kB / 361.5 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/0.6706, allocations: 477.4 kB / 362 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001337/0.6708, allocations: 88.73 kB / 362.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/0.6731, allocations: 257.2 kB / 362.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004032/0.6736, allocations: 124 kB / 362.5 MB, free: 15.59 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 239 * 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.004554/0.6782, allocations: 1.9 MB / 364.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000425/0.6786, allocations: 130.4 kB / 364.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.6799, allocations: 0.4892 MB / 365 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007187/0.6807, allocations: 333.4 kB / 365.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.6807, allocations: 0 / 365.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.6807, allocations: 3.984 kB / 365.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.6926, allocations: 4.279 MB / 369.6 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.6927, allocations: 4 kB / 369.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/0.6932, allocations: 55.48 kB / 369.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/0.6932, allocations: 7.984 kB / 369.6 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.6933, allocations: 16.59 kB / 369.7 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.6933, allocations: 11.47 kB / 369.7 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.6933, allocations: 8 kB / 369.7 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.6955, allocations: 1.379 MB / 371.1 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006193/0.6961, allocations: 223.5 kB / 371.3 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/0.6964, allocations: 19.98 kB / 371.3 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/0.6971, allocations: 23.94 kB / 371.3 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.6972, allocations: 27.31 kB / 371.3 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.6972, allocations: 23.92 kB / 371.4 MB, free: 6.344 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002668/0.6999, allocations: 1.101 MB / 372.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.154e-06/0.7, allocations: 4 kB / 372.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003994/0.704, allocations: 0.9892 MB / 373.5 MB, free: 4.246 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (25): * Single equations (assignments): 24 * 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.0004141/0.7044, allocations: 154.1 kB / 373.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003266/0.7077, allocations: 1.299 MB / 374.9 MB, free: 2.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.7078, allocations: 128 / 374.9 MB, free: 2.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005244/0.7083, allocations: 189.8 kB / 375.1 MB, free: 2.758 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/0.7116, allocations: 356 kB / 375.4 MB, free: 2.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/0.7328, allocations: 8.485 MB / 383.9 MB, free: 9.832 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007287/0.7402, allocations: 3.483 MB / 387.4 MB, free: 6.316 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.003351/0.7436, allocations: 0.7538 MB / 388.2 MB, free: 5.555 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.7439, allocations: 83.44 kB / 388.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of SimCode: time 1.463e-06/0.7439, allocations: 4 kB / 388.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of Templates: time 0.05638/0.8003, allocations: 15.51 MB / 403.8 MB, free: 6.078 MB / 330.7 MB