Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadModel(ModelicaTest): time 2.269/2.269, allocations: 270 MB / 283.6 MB, free: 3.039 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.498e-05, allocations: 8 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1163, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5139/0.6302, allocations: 110.9 MB / 0.509 GB, free: 9.188 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003867/0.6306, allocations: 83.95 kB / 0.5091 GB, free: 9.105 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843/2.474, allocations: 387.6 MB / 0.8876 GB, free: 71.67 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.431e-06/2.474, allocations: 0 / 0.8876 GB, free: 71.67 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000679/2.474, allocations: 249.6 kB / 0.8878 GB, free: 71.65 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.08095/2.555, allocations: 10.43 MB / 0.898 GB, free: 68.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/2.555, allocations: 10.28 kB / 0.898 GB, free: 68.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07249/2.628, allocations: 7.747 MB / 0.9056 GB, free: 67.83 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02028/2.648, allocations: 7.657 MB / 0.913 GB, free: 66.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009949/2.649, allocations: 0.8335 MB / 0.9139 GB, free: 66.04 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004647/2.654, allocations: 1.1 MB / 0.9149 GB, free: 65.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05105/2.705, allocations: 19.32 MB / 0.9338 GB, free: 57.22 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005188/2.706, allocations: 27.47 kB / 0.9338 GB, free: 57.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004052/2.71, allocations: 484.9 kB / 0.9343 GB, free: 56.85 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00121/2.711, allocations: 0.9174 MB / 0.9352 GB, free: 56.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04245/2.753, allocations: 17.23 MB / 0.952 GB, free: 40.99 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.164/2.917, allocations: 60.34 MB / 1.011 GB, free: 220 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4079/3.325, allocations: 16.42 MB / 1.027 GB, free: 73.5 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009185/3.335, allocations: 4.395 MB / 1.031 GB, free: 73.44 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007898/3.335, allocations: 235.6 kB / 1.031 GB, free: 73.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/3.336, allocations: 108.9 kB / 1.032 GB, free: 73.29 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=653): time 1.467e-05/3.336, allocations: 0 / 1.032 GB, free: 73.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=653): time 0.01989/3.355, allocations: 8.15 MB / 1.04 GB, free: 73.03 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/3.356, allocations: 119.8 kB / 1.04 GB, free: 72.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01634/3.372, allocations: 7.744 MB / 1.047 GB, free: 72.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001061/3.373, allocations: 135.4 kB / 1.047 GB, free: 72.56 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004866/3.378, allocations: 4.482 MB / 1.052 GB, free: 71.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002912/3.381, allocations: 2.191 MB / 1.054 GB, free: 70.07 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00132/3.382, allocations: 150 kB / 1.054 GB, free: 70.07 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0006658/3.383, allocations: 0.6186 MB / 1.055 GB, free: 69.76 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008705/3.392, allocations: 3.99 MB / 1.059 GB, free: 69.74 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01053/3.402, allocations: 6.721 MB / 1.065 GB, free: 66.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/3.413, allocations: 5.517 MB / 1.07 GB, free: 66.32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001236/3.414, allocations: 24.25 kB / 1.071 GB, free: 66.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02706/3.441, allocations: 11.53 MB / 1.082 GB, free: 65.68 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.706e-05/3.441, allocations: 44.72 kB / 1.082 GB, free: 65.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001495/3.441, allocations: 90.34 kB / 1.082 GB, free: 65.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/3.442, allocations: 422.8 kB / 1.082 GB, free: 65.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01019/3.452, allocations: 2.005 MB / 1.084 GB, free: 65.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006882/3.459, allocations: 8.885 MB / 1.093 GB, free: 58.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009375/3.469, allocations: 1.36 MB / 1.094 GB, free: 57.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002/3.471, allocations: 374.7 kB / 1.095 GB, free: 57.43 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002769/3.474, allocations: 0.6019 MB / 1.095 GB, free: 57.27 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001534/3.475, allocations: 0.7001 MB / 1.096 GB, free: 56.89 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02399/3.499, allocations: 10.45 MB / 1.106 GB, free: 53.31 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.332e-05/3.499, allocations: 67.16 kB / 1.106 GB, free: 53.31 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.149e-05/3.499, allocations: 3.688 kB / 1.106 GB, free: 53.31 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000132/3.499, allocations: 38.27 kB / 1.106 GB, free: 53.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.598/4.097, allocations: 153.4 MB / 1.256 GB, free: 101 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002705/4.098, allocations: 89 kB / 1.256 GB, free: 101 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007956/4.106, allocations: 1.542 MB / 1.258 GB, free: 101 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/4.107, allocations: 390 kB / 1.258 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001264/4.108, allocations: 250.9 kB / 1.258 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006553/4.115, allocations: 8.771 MB / 1.267 GB, free: 93.49 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.245e-05/4.115, allocations: 139.7 kB / 1.267 GB, free: 93.49 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03905/4.154, allocations: 33.5 MB / 1.3 GB, free: 70.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006/4.16, allocations: 1.25 MB / 1.301 GB, free: 70.08 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004627/4.165, allocations: 240.9 kB / 1.301 GB, free: 70.08 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01528/4.18, allocations: 0.5671 MB / 1.302 GB, free: 70.07 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003065/4.183, allocations: 0.7212 MB / 1.302 GB, free: 69.96 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00167/4.185, allocations: 308 kB / 1.303 GB, free: 69.96 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.02358/4.209, allocations: 5.925 MB / 1.308 GB, free: 69.72 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.531e-06/4.209, allocations: 0 / 1.308 GB, free: 69.72 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.04014/4.249, allocations: 2.634 MB / 1.311 GB, free: 69.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003649/4.252, allocations: 0.4908 MB / 1.311 GB, free: 69.41 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03137/4.284, allocations: 9.881 MB / 1.321 GB, free: 68.68 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.9e-05/4.284, allocations: 13.72 kB / 1.321 GB, free: 68.68 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01408/4.298, allocations: 5.2 MB / 1.326 GB, free: 67.87 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01047/4.309, allocations: 1.352 MB / 1.327 GB, free: 67.82 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04735/4.356, allocations: 21.15 MB / 1.348 GB, free: 60.19 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01591/4.372, allocations: 7.961 MB / 1.356 GB, free: 57.46 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01457/4.387, allocations: 3.585 MB / 1.359 GB, free: 57.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004281/4.391, allocations: 0.5811 MB / 1.36 GB, free: 57.16 MB / 0.573 GB Notification: Performance of SimCode: time 1.864e-06/4.391, allocations: 0 / 1.36 GB, free: 57.16 MB / 0.573 GB Notification: Performance of Templates: time 0.2231/4.614, allocations: 94.32 MB / 1.452 GB, free: 4.211 MB / 0.5886 GB