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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadModel(Modelica): time 1.76/1.76, allocations: 171.1 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.223e-05, allocations: 4 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08893/0.08899, allocations: 38.77 MB / 266.9 MB, free: 1.137 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01327/0.1023, allocations: 7.932 MB / 274.8 MB, free: 9.164 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006236/0.1086, allocations: 2.029 MB / 276.9 MB, free: 7.129 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.1106, allocations: 71.81 kB / 276.9 MB, free: 7.059 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002293/0.113, allocations: 421.6 kB / 277.3 MB, free: 6.645 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.1156, allocations: 358.8 kB / 277.7 MB, free: 6.293 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003638/0.1193, allocations: 0.8178 MB / 278.5 MB, free: 5.477 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.005465/0.1248, allocations: 2.144 MB / 280.6 MB, free: 3.328 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02458/0.1494, allocations: 9.103 MB / 289.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.1525, allocations: 1.161 MB / 290.9 MB, free: 9 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003402/0.1559, allocations: 1.378 MB / 292.3 MB, free: 7.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.1577, allocations: 243.8 kB / 292.5 MB, free: 7.379 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007604/0.1585, allocations: 120 kB / 292.6 MB, free: 7.262 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008466/0.1594, allocations: 0.5133 MB / 293.2 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.1608, allocations: 316 kB / 293.5 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2382/0.3991, allocations: 7.817 MB / 301.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3991, allocations: 1.938 kB / 301.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.516e-06/0.3992, allocations: 0.7656 kB / 301.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002863/0.3995, allocations: 0 / 301.3 MB, free: 11.6 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.01955/0.419, allocations: 4.499 MB / 305.8 MB, free: 10.13 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.4191, allocations: 8.75 kB / 305.8 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003087/0.4222, allocations: 462.3 kB / 306.2 MB, free: 9.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007166/0.4294, allocations: 2.293 MB / 308.5 MB, free: 9.496 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004833/0.43, allocations: 363.5 kB / 308.9 MB, free: 9.484 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002302/0.4323, allocations: 481.3 kB / 309.4 MB, free: 9.477 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02555/0.4579, allocations: 6.601 MB / 316 MB, free: 8.371 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002849/0.4582, allocations: 6.5 kB / 316 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002332/0.4606, allocations: 194.4 kB / 316.2 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/0.4608, allocations: 116.7 kB / 316.3 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01717/0.4779, allocations: 4.951 MB / 321.2 MB, free: 6.758 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05336/0.5314, allocations: 21.7 MB / 342.9 MB, free: 1.859 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.5329, allocations: 437.7 kB / 343.4 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.533, allocations: 9.5 kB / 343.4 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.5331, allocations: 46.55 kB / 343.4 MB, free: 1.348 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 4.579e-06/0.5331, allocations: 0 / 343.4 MB, free: 1.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.00198/0.5351, allocations: 0.7347 MB / 344.1 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.5352, allocations: 106.8 kB / 344.2 MB, free: 480 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003255/0.5385, allocations: 1.391 MB / 345.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.594e-05/0.5386, allocations: 33.7 kB / 345.7 MB, free: 15.03 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002048/0.5407, allocations: 2.107 MB / 347.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.541, allocations: 149.3 kB / 347.9 MB, free: 12.76 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.5411, allocations: 32 kB / 348 MB, free: 12.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002624/0.5414, allocations: 394.8 kB / 348.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.5431, allocations: 0.6284 MB / 349 MB, free: 11.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002642/0.5458, allocations: 1.791 MB / 350.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002661/0.5485, allocations: 1.12 MB / 351.9 MB, free: 8.277 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-05/0.5486, allocations: 15.95 kB / 351.9 MB, free: 8.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.006257/0.5548, allocations: 2.322 MB / 354.2 MB, free: 6.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.424e-05/0.5549, allocations: 24 kB / 354.2 MB, free: 6.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.402e-05/0.555, allocations: 40 kB / 354.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.717e-05/0.5551, allocations: 63.98 kB / 354.3 MB, free: 6.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002662/0.5578, allocations: 450 kB / 354.8 MB, free: 5.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.801e-05/0.5579, allocations: 77.31 kB / 354.9 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/0.56, allocations: 261.5 kB / 355.1 MB, free: 5.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/0.5603, allocations: 112 kB / 355.2 MB, free: 5.227 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.004175/0.5645, allocations: 1.728 MB / 357 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003893/0.5649, allocations: 118.5 kB / 357.1 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.5665, allocations: 0.5521 MB / 357.6 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008743/0.5674, allocations: 392.7 kB / 358 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.5674, allocations: 0 / 358 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.5674, allocations: 7.984 kB / 358 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01163/0.5791, allocations: 4.33 MB / 362.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.5791, allocations: 4.844 kB / 362.3 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006301/0.5798, allocations: 78.98 kB / 362.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/0.5798, allocations: 8 kB / 362.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.649e-05/0.5799, allocations: 20 kB / 362.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.69e-05/0.5799, allocations: 15.55 kB / 362.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.326e-05/0.5799, allocations: 11.38 kB / 362.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.5823, allocations: 1.601 MB / 364.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006095/0.583, allocations: 235.6 kB / 364.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.5832, allocations: 19.98 kB / 364.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007783/0.584, allocations: 19.98 kB / 364.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.5841, allocations: 47.44 kB / 364.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.5842, allocations: 16 kB / 364.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002401/0.5866, allocations: 1.035 MB / 365.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.5866, allocations: 0 / 365.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003629/0.5903, allocations: 0.9159 MB / 366.4 MB, free: 9.793 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.0004641/0.5908, allocations: 149.1 kB / 366.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003199/0.594, allocations: 1.303 MB / 367.8 MB, free: 8.465 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/0.5941, allocations: 4 kB / 367.8 MB, free: 8.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006296/0.5947, allocations: 226.5 kB / 368 MB, free: 8.258 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/0.5975, allocations: 310.8 kB / 368.3 MB, free: 7.953 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01906/0.6166, allocations: 7.76 MB / 376.1 MB, free: 88 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006026/0.6227, allocations: 3.134 MB / 379.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/0.6232, allocations: 103.4 kB / 379.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.563e-06/0.6232, allocations: 0 / 379.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of Templates: time 0.1193/0.7425, allocations: 36.12 MB / 415.5 MB, free: 8.707 MB / 346.7 MB