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.637/1.637, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.946e-05, allocations: 7.984 kB / 225 MB, free: 2.773 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2143, allocations: 38.76 MB / 263.8 MB, free: 9.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.3276, allocations: 74.76 MB / 338.5 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.3279, allocations: 83.95 kB / 338.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6118/0.9398, allocations: 156.1 MB / 494.7 MB, free: 8.852 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.9398, allocations: 3.938 kB / 494.7 MB, free: 8.848 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000254/0.9401, allocations: 99.88 kB / 494.8 MB, free: 8.75 MB / 346.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.01735/0.9575, allocations: 4.156 MB / 499 MB, free: 4.527 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.9575, allocations: 8.031 kB / 499 MB, free: 4.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/0.9598, allocations: 450.7 kB / 499.4 MB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00731/0.9671, allocations: 2.649 MB / 0.4903 GB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006227/0.9678, allocations: 349 kB / 0.4906 GB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00173/0.9696, allocations: 443.9 kB / 0.4911 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2435/1.213, allocations: 6.87 MB / 0.4978 GB, free: 54.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001527/1.213, allocations: 10.3 kB / 0.4978 GB, free: 54.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001102/1.214, allocations: 190.8 kB / 0.498 GB, free: 54.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001987/1.215, allocations: 196.4 kB / 0.4982 GB, free: 54.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01232/1.227, allocations: 4.893 MB / 0.5029 GB, free: 54.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04378/1.271, allocations: 21.84 MB / 0.5243 GB, free: 52.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00464/1.275, allocations: 2.521 MB / 0.5267 GB, free: 52.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005443/1.281, allocations: 2.826 MB / 0.5295 GB, free: 51.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/1.281, allocations: 64.38 kB / 0.5295 GB, free: 50.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/1.281, allocations: 61.66 kB / 0.5296 GB, free: 50.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=284): time 7.002e-06/1.281, allocations: 0 / 0.5296 GB, free: 50.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=284): time 0.009868/1.291, allocations: 4.735 MB / 0.5342 GB, free: 48.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/1.291, allocations: 123.1 kB / 0.5343 GB, free: 48.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/1.293, allocations: 0.7595 MB / 0.5351 GB, free: 48.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004642/1.293, allocations: 56.2 kB / 0.5351 GB, free: 48.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007046/1.294, allocations: 1.548 MB / 0.5367 GB, free: 47.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001101/1.295, allocations: 0.9361 MB / 0.5376 GB, free: 46.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/1.295, allocations: 39.44 kB / 0.5376 GB, free: 46.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002086/1.295, allocations: 427 kB / 0.538 GB, free: 46.47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003542/1.299, allocations: 1.865 MB / 0.5398 GB, free: 45.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004181/1.303, allocations: 2.299 MB / 0.5421 GB, free: 44.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00428/1.307, allocations: 2.27 MB / 0.5443 GB, free: 43.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.945e-05/1.308, allocations: 3.812 kB / 0.5443 GB, free: 43.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01107/1.319, allocations: 5.198 MB / 0.5494 GB, free: 41.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/1.319, allocations: 12.19 kB / 0.5494 GB, free: 41.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/1.319, allocations: 10.66 kB / 0.5494 GB, free: 41.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/1.321, allocations: 1.401 MB / 0.5508 GB, free: 40.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/1.323, allocations: 335.6 kB / 0.5511 GB, free: 40.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006066/1.329, allocations: 5.116 MB / 0.5561 GB, free: 37.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/1.331, allocations: 232.9 kB / 0.5563 GB, free: 37.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003304/1.331, allocations: 101.8 kB / 0.5564 GB, free: 37.44 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * 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.0005625/1.332, allocations: 210.8 kB / 0.5566 GB, free: 37.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005117/1.333, allocations: 146.1 kB / 0.5567 GB, free: 37.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00934/1.342, allocations: 5.036 MB / 0.5617 GB, free: 35.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009259/1.351, allocations: 4.707 MB / 0.5663 GB, free: 31.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/1.351, allocations: 0 / 0.5663 GB, free: 31.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.757e-05/1.351, allocations: 11.3 kB / 0.5663 GB, free: 31.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02078/1.372, allocations: 10.85 MB / 0.5769 GB, free: 21.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.094e-05/1.372, allocations: 4 kB / 0.5769 GB, free: 21.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/1.373, allocations: 220.2 kB / 0.5771 GB, free: 21.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002679/1.376, allocations: 1.386 MB / 0.5784 GB, free: 20.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000486/1.377, allocations: 67.48 kB / 0.5785 GB, free: 20.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005385/1.382, allocations: 5.091 MB / 0.5835 GB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/1.382, allocations: 7.75 kB / 0.5835 GB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/1.395, allocations: 8.212 MB / 0.5915 GB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/1.396, allocations: 256.8 kB / 0.5917 GB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000521/1.396, allocations: 39.84 kB / 0.5918 GB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.397, allocations: 63.39 kB / 0.5918 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005199/1.398, allocations: 246.4 kB / 0.5921 GB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002471/1.398, allocations: 75.83 kB / 0.5921 GB, free: 7.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008748/1.399, allocations: 0.5809 MB / 0.5927 GB, free: 7.266 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.49e-07/1.399, allocations: 0 / 0.5927 GB, free: 7.266 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002918/1.402, allocations: 0.9844 MB / 0.5937 GB, free: 6.281 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (139): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * 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.0005306/1.403, allocations: 203.5 kB / 0.5939 GB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008027/1.411, allocations: 4.388 MB / 0.5982 GB, free: 2.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.187e-06/1.411, allocations: 0 / 0.5982 GB, free: 2.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004739/1.415, allocations: 2.219 MB / 0.6003 GB, free: 296 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/1.418, allocations: 296.7 kB / 0.6006 GB, free: 68 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/1.436, allocations: 7.376 MB / 0.6078 GB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005586/1.441, allocations: 3.236 MB / 0.611 GB, free: 6.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006305/1.442, allocations: 90.91 kB / 0.6111 GB, free: 6.742 MB / 362.7 MB Notification: Performance of SimCode: time 2.357e-06/1.442, allocations: 4 kB / 0.6111 GB, free: 6.738 MB / 362.7 MB Notification: Performance of Templates: time 0.4234/1.866, allocations: 142.7 MB / 0.7504 GB, free: 0.7656 MB / 378.7 MB