Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadModel(ModelicaTest): time 2.327/2.327, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.215e-05/3.224e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3911, allocations: 58.83 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.5573, allocations: 107.2 MB / 489.4 MB, free: 1.316 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.5577, allocations: 83.95 kB / 489.5 MB, free: 1.234 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.832/2.389, allocations: 387.8 MB / 0.8567 GB, free: 45.2 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.239e-06/2.389, allocations: 4 kB / 0.8567 GB, free: 45.19 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0006174/2.39, allocations: 251.8 kB / 0.857 GB, free: 44.95 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.04135/2.431, allocations: 10.56 MB / 0.8673 GB, free: 34.38 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/2.431, allocations: 12.02 kB / 0.8673 GB, free: 34.37 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06809/2.499, allocations: 8.391 MB / 0.8755 GB, free: 26.03 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03157/2.531, allocations: 7.477 MB / 0.8828 GB, free: 18.5 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001797/2.533, allocations: 0.8699 MB / 0.8836 GB, free: 17.65 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007006/2.54, allocations: 1.122 MB / 0.8847 GB, free: 16.54 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05691/2.597, allocations: 20.81 MB / 0.9051 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005/2.598, allocations: 19.81 kB / 0.9051 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004556/2.602, allocations: 494.1 kB / 0.9055 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0014/2.604, allocations: 0.8442 MB / 0.9064 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7335/3.337, allocations: 19.42 MB / 0.9253 GB, free: 63.64 MB / 0.5106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1361/3.473, allocations: 60.04 MB / 0.984 GB, free: 58.08 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03266/3.506, allocations: 23.8 MB / 1.007 GB, free: 42.21 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01995/3.526, allocations: 10.12 MB / 1.017 GB, free: 38.03 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/3.527, allocations: 365.8 kB / 1.017 GB, free: 37.87 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/3.527, allocations: 144.8 kB / 1.018 GB, free: 37.75 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=1196): time 2.288e-05/3.527, allocations: 0 / 1.018 GB, free: 37.75 MB / 0.5106 GB Notification: Performance of matching and sorting (n=1196): time 0.0415/3.569, allocations: 17.89 MB / 1.035 GB, free: 30.79 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/3.569, allocations: 157 kB / 1.035 GB, free: 30.72 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00527/3.574, allocations: 2.783 MB / 1.038 GB, free: 29.77 MB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 0.001996/3.576, allocations: 191.3 kB / 1.038 GB, free: 29.61 MB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00202/3.578, allocations: 3.472 MB / 1.042 GB, free: 27.21 MB / 0.5106 GB Notification: Performance of collectInitialBindings (initialization): time 0.004792/3.583, allocations: 3.892 MB / 1.045 GB, free: 24.16 MB / 0.5106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009705/3.584, allocations: 169.4 kB / 1.045 GB, free: 24.03 MB / 0.5106 GB Notification: Performance of setup shared object (initialization): time 0.0008411/3.585, allocations: 0.7244 MB / 1.046 GB, free: 23.54 MB / 0.5106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01407/3.599, allocations: 7.007 MB / 1.053 GB, free: 20.7 MB / 0.5106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01555/3.615, allocations: 7.869 MB / 1.061 GB, free: 13.69 MB / 0.5106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01683/3.632, allocations: 8.277 MB / 1.069 GB, free: 6.758 MB / 0.5106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.269e-05/3.632, allocations: 4 kB / 1.069 GB, free: 6.754 MB / 0.5106 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.04696/3.679, allocations: 18.72 MB / 1.087 GB, free: 6.66 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 5.199e-05/3.679, allocations: 12 kB / 1.087 GB, free: 6.648 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-05/3.679, allocations: 12 kB / 1.087 GB, free: 6.637 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009379/3.688, allocations: 3.738 MB / 1.091 GB, free: 3.527 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01658/3.705, allocations: 1.918 MB / 1.093 GB, free: 2.109 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07888/3.784, allocations: 21.52 MB / 1.114 GB, free: 13.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01285/3.797, allocations: 1.129 MB / 1.115 GB, free: 12.26 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003736/3.801, allocations: 343.5 kB / 1.115 GB, free: 11.96 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (933): * Single equations (assignments): 818 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * 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: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.006062/3.807, allocations: 0.5322 MB / 1.116 GB, free: 11.51 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004577/3.811, allocations: 0.5632 MB / 1.116 GB, free: 10.94 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4406/4.252, allocations: 21.68 MB / 1.137 GB, free: 106 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004255/4.252, allocations: 292 kB / 1.138 GB, free: 106 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.22e-05/4.252, allocations: 4.438 kB / 1.138 GB, free: 106 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001785/4.253, allocations: 52.2 kB / 1.138 GB, free: 106 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09633/4.349, allocations: 38.56 MB / 1.175 GB, free: 104.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001533/4.349, allocations: 3.312 kB / 1.175 GB, free: 104.3 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01796/4.367, allocations: 1.772 MB / 1.177 GB, free: 104.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01378/4.381, allocations: 3.701 MB / 1.181 GB, free: 104.2 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00344/4.384, allocations: 252.4 kB / 1.181 GB, free: 104.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02912/4.414, allocations: 21.38 MB / 1.202 GB, free: 91.51 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.932e-06/4.414, allocations: 0.9688 kB / 1.202 GB, free: 91.51 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06406/4.478, allocations: 30.15 MB / 1.231 GB, free: 84.95 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/4.48, allocations: 0.8561 MB / 1.232 GB, free: 84.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002853/4.483, allocations: 165.4 kB / 1.232 GB, free: 84.38 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00702/4.49, allocations: 0.5895 MB / 1.233 GB, free: 84.24 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003415/4.493, allocations: 0.8468 MB / 1.234 GB, free: 84.08 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002319/4.496, allocations: 327 kB / 1.234 GB, free: 84 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.004289/4.5, allocations: 2.149 MB / 1.236 GB, free: 83.21 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.123e-06/4.5, allocations: 1.594 kB / 1.236 GB, free: 83.21 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01142/4.511, allocations: 3.092 MB / 1.239 GB, free: 82.64 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (921): * Single equations (assignments): 806 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 99 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * 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: 10 {6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002558/4.514, allocations: 420.2 kB / 1.239 GB, free: 82.42 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.03735/4.551, allocations: 17.46 MB / 1.256 GB, free: 75.76 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/4.551, allocations: 7.812 kB / 1.256 GB, free: 75.75 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.02002/4.571, allocations: 9.629 MB / 1.266 GB, free: 67.54 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007449/4.579, allocations: 0.9857 MB / 1.267 GB, free: 66.77 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.059/4.638, allocations: 24.48 MB / 1.291 GB, free: 45.41 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01742/4.655, allocations: 8.265 MB / 1.299 GB, free: 39.22 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01212/4.668, allocations: 2.606 MB / 1.301 GB, free: 37.39 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004667/4.672, allocations: 0.503 MB / 1.302 GB, free: 36.92 MB / 0.5574 GB Notification: Performance of SimCode: time 2.259e-06/4.672, allocations: 0 / 1.302 GB, free: 36.92 MB / 0.5574 GB Notification: Performance of Templates: time 0.6548/5.327, allocations: 140.8 MB / 1.439 GB, free: 87.03 MB / 0.5574 GB