Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadModel(Modelica): time 1.8/1.8, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.598e-05/4.602e-05, allocations: 4 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09531/0.09539, allocations: 44.5 MB / 299.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3303/0.4257, allocations: 85.03 MB / 384.9 MB, free: 20.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.4259, allocations: 80.86 kB / 385 MB, free: 20.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7497/1.176, allocations: 157.2 MB / 0.5295 GB, free: 71.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.979e-06/1.176, allocations: 4 kB / 0.5295 GB, free: 71.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000181/1.176, allocations: 100.2 kB / 0.5296 GB, free: 71.46 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01551/1.191, allocations: 4.217 MB / 0.5337 GB, free: 70.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/1.191, allocations: 7.469 kB / 0.5337 GB, free: 70.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/1.204, allocations: 1.686 MB / 0.5354 GB, free: 69.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006308/1.211, allocations: 2.684 MB / 0.538 GB, free: 69.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004227/1.211, allocations: 349 kB / 0.5383 GB, free: 69.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001381/1.212, allocations: 451 kB / 0.5388 GB, free: 69.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01706/1.229, allocations: 7.41 MB / 0.546 GB, free: 68.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/1.23, allocations: 7.812 kB / 0.546 GB, free: 68.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007194/1.23, allocations: 191.2 kB / 0.5462 GB, free: 68.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002902/1.231, allocations: 300.5 kB / 0.5465 GB, free: 68.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01334/1.244, allocations: 6.039 MB / 0.5524 GB, free: 68.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04437/1.288, allocations: 23.24 MB / 0.5751 GB, free: 58.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008492/1.297, allocations: 6.413 MB / 0.5813 GB, free: 54.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005816/1.303, allocations: 3.286 MB / 0.5845 GB, free: 53.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02126/1.324, allocations: 10.81 MB / 0.5951 GB, free: 46.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/1.324, allocations: 56.52 kB / 0.5951 GB, free: 46.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=319): time 7.047e-06/1.324, allocations: 0 / 0.5951 GB, free: 46.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=319): time 0.009201/1.333, allocations: 5.169 MB / 0.6002 GB, free: 41.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/1.333, allocations: 77.41 kB / 0.6003 GB, free: 41.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/1.335, allocations: 1.057 MB / 0.6013 GB, free: 40.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003871/1.336, allocations: 65.7 kB / 0.6014 GB, free: 40.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007396/1.336, allocations: 1.677 MB / 0.603 GB, free: 39.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009662/1.337, allocations: 1.059 MB / 0.604 GB, free: 38.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/1.338, allocations: 56 kB / 0.6041 GB, free: 38.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002936/1.338, allocations: 0.4892 MB / 0.6046 GB, free: 37.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003591/1.342, allocations: 2.194 MB / 0.6067 GB, free: 35.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004119/1.346, allocations: 2.876 MB / 0.6095 GB, free: 32.83 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004544/1.35, allocations: 2.684 MB / 0.6121 GB, free: 30.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.453e-05/1.35, allocations: 15.94 kB / 0.6121 GB, free: 30.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.0113/1.362, allocations: 6.181 MB / 0.6182 GB, free: 25.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/1.362, allocations: 18.03 kB / 0.6182 GB, free: 25.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-05/1.362, allocations: 24.03 kB / 0.6182 GB, free: 25.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002661/1.364, allocations: 1.407 MB / 0.6196 GB, free: 23.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/1.367, allocations: 0.5121 MB / 0.6201 GB, free: 23.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00554/1.373, allocations: 5.16 MB / 0.6251 GB, free: 18.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/1.375, allocations: 373.9 kB / 0.6255 GB, free: 18.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003882/1.376, allocations: 147.3 kB / 0.6256 GB, free: 18.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (301): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006115/1.376, allocations: 262.4 kB / 0.6259 GB, free: 17.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004703/1.377, allocations: 169.8 kB / 0.626 GB, free: 17.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009662/1.387, allocations: 5.592 MB / 0.6315 GB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00887/1.395, allocations: 5.128 MB / 0.6365 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/1.395, allocations: 0 / 0.6365 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/1.396, allocations: 14.31 kB / 0.6365 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02073/1.416, allocations: 11.15 MB / 0.6474 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.014e-05/1.416, allocations: 3.984 kB / 0.6474 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/1.418, allocations: 275.6 kB / 0.6477 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003229/1.421, allocations: 1.38 MB / 0.649 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005254/1.422, allocations: 71.95 kB / 0.6491 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007533/1.43, allocations: 5.128 MB / 0.6541 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.911e-06/1.43, allocations: 0 / 0.6541 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2511/1.681, allocations: 8.507 MB / 0.6624 GB, free: 82.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002216/1.683, allocations: 0.7332 MB / 0.6631 GB, free: 82.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008177/1.684, allocations: 36.62 kB / 0.6632 GB, free: 82.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/1.686, allocations: 91.58 kB / 0.6633 GB, free: 82.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008358/1.686, allocations: 234.5 kB / 0.6635 GB, free: 82.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003639/1.687, allocations: 83.11 kB / 0.6636 GB, free: 82.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001582/1.688, allocations: 0.7767 MB / 0.6643 GB, free: 82.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.67e-07/1.688, allocations: 0 / 0.6643 GB, free: 82.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004214/1.693, allocations: 1.077 MB / 0.6654 GB, free: 82.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor0.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (174): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008627/1.694, allocations: 204.4 kB / 0.6656 GB, free: 82.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01158/1.705, allocations: 5.068 MB / 0.6705 GB, free: 82.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.609e-06/1.705, allocations: 1.344 kB / 0.6705 GB, free: 82.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0061/1.711, allocations: 2.441 MB / 0.6729 GB, free: 82.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/1.714, allocations: 324.4 kB / 0.6732 GB, free: 82.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/1.733, allocations: 8.261 MB / 0.6813 GB, free: 81.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004628/1.738, allocations: 3.329 MB / 0.6845 GB, free: 80.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0025/1.74, allocations: 0.5974 MB / 0.6851 GB, free: 80.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005633/1.741, allocations: 108.7 kB / 0.6852 GB, free: 80.38 MB / 410.7 MB Notification: Performance of SimCode: time 3.78e-06/1.741, allocations: 0 / 0.6852 GB, free: 80.38 MB / 410.7 MB Notification: Performance of Templates: time 0.09469/1.836, allocations: 43.37 MB / 0.7276 GB, free: 77.46 MB / 410.7 MB