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.638/1.638, allocations: 171.2 MB / 183.8 MB, free: 11.94 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.708e-05/2.721e-05, allocations: 0 / 225 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2157, allocations: 38.77 MB / 263.8 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.3302, allocations: 74.51 MB / 338.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.3305, allocations: 79.95 kB / 338.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8599/1.19, allocations: 171.8 MB / 0.4982 GB, free: 68.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.162e-06/1.19, allocations: 6.312 kB / 0.4982 GB, free: 68.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002403/1.191, allocations: 107.3 kB / 0.4983 GB, free: 68.46 MB / 362.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.0177/1.208, allocations: 4.494 MB / 0.5027 GB, free: 67.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/1.208, allocations: 6.969 kB / 0.5027 GB, free: 67.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002311/1.211, allocations: 487.3 kB / 0.5032 GB, free: 66.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006887/1.218, allocations: 2.935 MB / 0.506 GB, free: 66.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005306/1.218, allocations: 372.2 kB / 0.5064 GB, free: 66.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00173/1.22, allocations: 469.5 kB / 0.5068 GB, free: 66.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01994/1.24, allocations: 7.562 MB / 0.5142 GB, free: 65.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001581/1.24, allocations: 10.72 kB / 0.5142 GB, free: 65.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001181/1.241, allocations: 205.9 kB / 0.5144 GB, free: 65.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002238/1.242, allocations: 218.4 kB / 0.5146 GB, free: 65.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01317/1.255, allocations: 5.337 MB / 0.5198 GB, free: 65.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04724/1.302, allocations: 23.96 MB / 0.5432 GB, free: 60.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00514/1.307, allocations: 2.734 MB / 0.5459 GB, free: 58.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005852/1.313, allocations: 3.167 MB / 0.549 GB, free: 57.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002645/1.313, allocations: 73.62 kB / 0.5491 GB, free: 57.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/1.313, allocations: 61.66 kB / 0.5491 GB, free: 57.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=324): time 7.868e-06/1.314, allocations: 4 kB / 0.5491 GB, free: 57.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=324): time 0.01162/1.325, allocations: 5.533 MB / 0.5545 GB, free: 55.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/1.325, allocations: 130 kB / 0.5547 GB, free: 54.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/1.327, allocations: 0.7606 MB / 0.5554 GB, free: 54.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005386/1.327, allocations: 65.27 kB / 0.5555 GB, free: 54.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007027/1.328, allocations: 1.634 MB / 0.5571 GB, free: 53.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001388/1.329, allocations: 1.052 MB / 0.5581 GB, free: 52.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002776/1.33, allocations: 46.59 kB / 0.5581 GB, free: 52.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002789/1.33, allocations: 437.7 kB / 0.5585 GB, free: 52.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004106/1.334, allocations: 2.097 MB / 0.5606 GB, free: 51.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004693/1.339, allocations: 2.527 MB / 0.5631 GB, free: 49.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004726/1.343, allocations: 2.554 MB / 0.5656 GB, free: 48.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.976e-05/1.343, allocations: 3.906 kB / 0.5656 GB, free: 48.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.01175/1.355, allocations: 5.897 MB / 0.5713 GB, free: 44.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/1.355, allocations: 8 kB / 0.5713 GB, free: 44.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.886e-05/1.355, allocations: 12 kB / 0.5713 GB, free: 44.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003291/1.359, allocations: 1.74 MB / 0.573 GB, free: 42.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/1.36, allocations: 327.6 kB / 0.5734 GB, free: 42.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007011/1.367, allocations: 6.412 MB / 0.5796 GB, free: 36.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/1.369, allocations: 235.8 kB / 0.5798 GB, free: 36.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003339/1.37, allocations: 106.1 kB / 0.5799 GB, free: 36.38 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005709/1.37, allocations: 220.7 kB / 0.5801 GB, free: 36.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005206/1.371, allocations: 153.9 kB / 0.5803 GB, free: 36.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/1.381, allocations: 5.859 MB / 0.586 GB, free: 30.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009701/1.391, allocations: 5.5 MB / 0.5914 GB, free: 26.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/1.391, allocations: 4 kB / 0.5914 GB, free: 26.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.698e-05/1.391, allocations: 9.844 kB / 0.5914 GB, free: 26.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02246/1.413, allocations: 12.17 MB / 0.6033 GB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-05/1.413, allocations: 4 kB / 0.6033 GB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/1.415, allocations: 224.7 kB / 0.6035 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003931/1.419, allocations: 1.723 MB / 0.6052 GB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005829/1.419, allocations: 74.73 kB / 0.6053 GB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009126/1.429, allocations: 6.403 MB / 0.6115 GB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.703e-06/1.429, allocations: 2.531 kB / 0.6115 GB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3187/1.747, allocations: 9.393 MB / 0.6207 GB, free: 63.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006455/1.748, allocations: 278.7 kB / 0.621 GB, free: 63.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007696/1.749, allocations: 41.95 kB / 0.621 GB, free: 63.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/1.75, allocations: 58.88 kB / 0.6211 GB, free: 63.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008269/1.751, allocations: 271.2 kB / 0.6213 GB, free: 63.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003418/1.751, allocations: 83.02 kB / 0.6214 GB, free: 63.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001188/1.752, allocations: 0.5963 MB / 0.622 GB, free: 63.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.24e-07/1.753, allocations: 0 / 0.622 GB, free: 63.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004291/1.757, allocations: 1.063 MB / 0.623 GB, free: 63.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (voltageSource.voltageSource[1].pin_p.reference.gamma,voltageSource.voltageSource[3].pin_p.reference.gamma,voltageSource.voltageSource[2].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008575/1.758, allocations: 201.4 kB / 0.6232 GB, free: 63.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0103/1.768, allocations: 4.954 MB / 0.628 GB, free: 63.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.326e-06/1.768, allocations: 3.75 kB / 0.628 GB, free: 63.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005254/1.773, allocations: 2.548 MB / 0.6305 GB, free: 63.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/1.776, allocations: 345.1 kB / 0.6309 GB, free: 63.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/1.794, allocations: 8.178 MB / 0.6388 GB, free: 61.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004904/1.798, allocations: 3.496 MB / 0.6423 GB, free: 61.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000589/1.799, allocations: 86.12 kB / 0.6423 GB, free: 61.07 MB / 362.7 MB Notification: Performance of SimCode: time 2.087e-06/1.799, allocations: 3.219 kB / 0.6423 GB, free: 61.07 MB / 362.7 MB Notification: Performance of Templates: time 0.415/2.214, allocations: 184.2 MB / 0.8223 GB, free: 57.4 MB / 378.7 MB