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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadModel(Modelica): time 1.997/1.997, allocations: 171.1 MB / 186.3 MB, free: 1.422 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.398e-05/3.413e-05, allocations: 4 kB / 228.1 MB, free: 7.996 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08612/0.08618, allocations: 38.77 MB / 266.9 MB, free: 1.141 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01378/0.1, allocations: 8.342 MB / 275.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006088/0.1062, allocations: 2.095 MB / 277.3 MB, free: 6.656 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.108, allocations: 79.81 kB / 277.4 MB, free: 6.578 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.1101, allocations: 461.4 kB / 277.9 MB, free: 6.125 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002675/0.1128, allocations: 386.8 kB / 278.2 MB, free: 5.746 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003609/0.1164, allocations: 0.8141 MB / 279.1 MB, free: 4.93 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.005822/0.1223, allocations: 2.366 MB / 281.4 MB, free: 2.555 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02733/0.1497, allocations: 10.11 MB / 291.5 MB, free: 8.371 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003268/0.153, allocations: 1.266 MB / 292.8 MB, free: 7.102 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003955/0.157, allocations: 1.494 MB / 294.3 MB, free: 5.602 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.159, allocations: 251.8 kB / 294.5 MB, free: 5.355 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000783/0.1599, allocations: 128 kB / 294.7 MB, free: 5.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009622/0.1609, allocations: 0.5482 MB / 295.2 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.1624, allocations: 344 kB / 295.5 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2463/0.4087, allocations: 8.634 MB / 304.2 MB, free: 12.05 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4088, allocations: 0.9062 kB / 304.2 MB, free: 12.05 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4088, allocations: 0 / 304.2 MB, free: 12.05 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0003487/0.4092, allocations: 0 / 304.2 MB, free: 12.05 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.0217/0.4309, allocations: 4.809 MB / 309 MB, free: 9.621 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.431, allocations: 13.3 kB / 309 MB, free: 9.617 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003609/0.4346, allocations: 499.9 kB / 309.5 MB, free: 9.375 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008414/0.443, allocations: 2.515 MB / 312 MB, free: 8.676 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005722/0.4437, allocations: 392.6 kB / 312.4 MB, free: 8.664 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00313/0.4468, allocations: 0.512 MB / 312.9 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02846/0.4753, allocations: 7.203 MB / 320.1 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002688/0.4757, allocations: 6.969 kB / 320.1 MB, free: 7 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002248/0.4779, allocations: 212.7 kB / 320.3 MB, free: 7 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.4781, allocations: 127.2 kB / 320.4 MB, free: 7 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01824/0.4963, allocations: 5.368 MB / 325.8 MB, free: 4.781 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05876/0.5552, allocations: 23.77 MB / 349.6 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000974/0.5562, allocations: 405.1 kB / 350 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.394e-05/0.5563, allocations: 12.17 kB / 350 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.5564, allocations: 35.39 kB / 350 MB, free: 12.31 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 3.647e-06/0.5564, allocations: 3.938 kB / 350 MB, free: 12.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001768/0.5582, allocations: 0.6742 MB / 350.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.5583, allocations: 107.1 kB / 350.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/0.562, allocations: 1.498 MB / 352.3 MB, free: 9.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.49e-05/0.5621, allocations: 33.64 kB / 352.3 MB, free: 9.941 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002232/0.5644, allocations: 2.299 MB / 354.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.5646, allocations: 119.9 kB / 354.7 MB, free: 7.512 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.5648, allocations: 36 kB / 354.8 MB, free: 7.477 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002573/0.5651, allocations: 394.8 kB / 355.2 MB, free: 7.082 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.5668, allocations: 0.6363 MB / 355.8 MB, free: 6.445 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002831/0.5697, allocations: 1.909 MB / 357.7 MB, free: 3.918 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002848/0.5726, allocations: 1.176 MB / 358.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-05/0.5727, allocations: 12 kB / 358.9 MB, free: 2.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006617/0.5793, allocations: 2.423 MB / 361.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.188e-05/0.5794, allocations: 25.25 kB / 361.3 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.661e-05/0.5795, allocations: 44 kB / 361.4 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-05/0.5796, allocations: 68 kB / 361.5 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002732/0.5824, allocations: 469.2 kB / 361.9 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.633e-05/0.5825, allocations: 88.78 kB / 362 MB, free: 0 / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/0.5847, allocations: 269.4 kB / 362.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002864/0.585, allocations: 120 kB / 362.4 MB, free: 15.61 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.004699/0.5897, allocations: 1.902 MB / 364.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004195/0.5902, allocations: 126.3 kB / 364.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.5916, allocations: 0.4928 MB / 364.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007458/0.5924, allocations: 333 kB / 365.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.5924, allocations: 4 kB / 365.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.5924, allocations: 0 / 365.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/0.6043, allocations: 4.279 MB / 369.5 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.6044, allocations: 4 kB / 369.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005239/0.6049, allocations: 59.42 kB / 369.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/0.6049, allocations: 8 kB / 369.6 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.881e-05/0.605, allocations: 16 kB / 369.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.394e-05/0.605, allocations: 11.47 kB / 369.6 MB, free: 8.316 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.605, allocations: 4 kB / 369.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.6072, allocations: 1.378 MB / 371 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/0.6078, allocations: 227.5 kB / 371.2 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.6081, allocations: 15.98 kB / 371.2 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006997/0.6088, allocations: 23.94 kB / 371.2 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/0.6089, allocations: 35.53 kB / 371.3 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.6089, allocations: 12 kB / 371.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002797/0.6117, allocations: 1.109 MB / 372.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.6118, allocations: 0 / 372.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003945/0.6157, allocations: 0.9895 MB / 373.4 MB, free: 4.277 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.0004274/0.6162, allocations: 153.7 kB / 373.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003466/0.6197, allocations: 1.303 MB / 374.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.6198, allocations: 4 kB / 374.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005357/0.6203, allocations: 191.4 kB / 375 MB, free: 2.785 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/0.6236, allocations: 358 kB / 375.4 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02086/0.6445, allocations: 8.331 MB / 383.7 MB, free: 10.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006618/0.6512, allocations: 3.39 MB / 387.1 MB, free: 6.586 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003935/0.6517, allocations: 99.44 kB / 387.2 MB, free: 6.488 MB / 314.7 MB Notification: Performance of SimCode: time 1.814e-06/0.6517, allocations: 0 / 387.2 MB, free: 6.488 MB / 314.7 MB Notification: Performance of Templates: time 0.08952/0.7412, allocations: 39.19 MB / 426.4 MB, free: 15.31 MB / 362.7 MB