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.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") Notification: Performance of loadModel(ModelicaTest): time 2.336/2.336, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.473e-05/3.491e-05, allocations: 4 kB / 304.9 MB, free: 5.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.354, allocations: 54.85 MB / 359.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1748/0.5288, allocations: 100.5 MB / 460.3 MB, free: 12.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.5291, allocations: 83.95 kB / 460.3 MB, free: 12.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.917/2.446, allocations: 388.4 MB / 0.8289 GB, free: 58.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.084e-06/2.446, allocations: 0 / 0.8289 GB, free: 58.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0009156/2.447, allocations: 245.8 kB / 0.8291 GB, free: 58.83 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3353 * Number of variables: 3353 Notification: Performance of Generate backend data structure: time 0.1115/2.559, allocations: 10.47 MB / 0.8393 GB, free: 48.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/2.559, allocations: 8.031 kB / 0.8393 GB, free: 48.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05768/2.616, allocations: 8.373 MB / 0.8475 GB, free: 40.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01788/2.634, allocations: 7.243 MB / 0.8546 GB, free: 33.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001319/2.636, allocations: 0.8657 MB / 0.8554 GB, free: 32.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00503/2.641, allocations: 1.118 MB / 0.8565 GB, free: 31.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05567/2.696, allocations: 20.75 MB / 0.8768 GB, free: 10.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005036/2.697, allocations: 15.91 kB / 0.8768 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004434/2.701, allocations: 493.9 kB / 0.8773 GB, free: 9.648 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001421/2.703, allocations: 0.8441 MB / 0.8781 GB, free: 8.801 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4448/3.148, allocations: 19.39 MB / 0.897 GB, free: 55.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1362/3.284, allocations: 59.82 MB / 0.9555 GB, free: 48.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03999/3.324, allocations: 23.8 MB / 0.9787 GB, free: 32.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01997/3.344, allocations: 10.13 MB / 0.9886 GB, free: 28.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/3.345, allocations: 366.8 kB / 0.9889 GB, free: 28.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/3.345, allocations: 144.6 kB / 0.9891 GB, free: 27.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1196): time 2.244e-05/3.345, allocations: 2 kB / 0.9891 GB, free: 27.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=1196): time 0.04441/3.39, allocations: 17.87 MB / 1.007 GB, free: 20.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/3.39, allocations: 154.2 kB / 1.007 GB, free: 20.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008261/3.398, allocations: 2.64 MB / 1.009 GB, free: 19.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002503/3.401, allocations: 188 kB / 1.009 GB, free: 19.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001997/3.403, allocations: 3.414 MB / 1.013 GB, free: 17.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004755/3.408, allocations: 3.891 MB / 1.017 GB, free: 14.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001161/3.409, allocations: 169.1 kB / 1.017 GB, free: 14.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008612/3.41, allocations: 0.7198 MB / 1.017 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01433/3.424, allocations: 7.002 MB / 1.024 GB, free: 10.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01563/3.44, allocations: 7.879 MB / 1.032 GB, free: 3.652 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03263/3.472, allocations: 9.113 MB / 1.041 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.457e-05/3.472, allocations: 4 kB / 1.041 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.04846/3.521, allocations: 18.72 MB / 1.059 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/3.521, allocations: 11.19 kB / 1.059 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.532e-05/3.521, allocations: 15.91 kB / 1.059 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009585/3.531, allocations: 3.728 MB / 1.063 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01503/3.546, allocations: 1.91 MB / 1.065 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03293/3.579, allocations: 21.52 MB / 1.086 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008126/3.587, allocations: 1.123 MB / 1.087 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002724/3.59, allocations: 336.9 kB / 1.087 GB, free: 4.117 MB / 0.5261 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.0047/3.594, allocations: 0.5324 MB / 1.088 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003491/3.598, allocations: 0.5516 MB / 1.088 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4599/4.058, allocations: 21.92 MB / 1.11 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005239/4.058, allocations: 289.1 kB / 1.11 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.723e-05/4.058, allocations: 3.469 kB / 1.11 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002151/4.059, allocations: 53.34 kB / 1.11 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09289/4.152, allocations: 38.49 MB / 1.148 GB, free: 99.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001144/4.152, allocations: 0.6094 kB / 1.148 GB, free: 99.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01088/4.163, allocations: 1.768 MB / 1.149 GB, free: 99.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008684/4.171, allocations: 3.718 MB / 1.153 GB, free: 99.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00247/4.174, allocations: 247.8 kB / 1.153 GB, free: 99.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02197/4.196, allocations: 21.4 MB / 1.174 GB, free: 86.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.901e-06/4.196, allocations: 3.266 kB / 1.174 GB, free: 86.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06586/4.262, allocations: 30.14 MB / 1.203 GB, free: 75.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002029/4.264, allocations: 0.8465 MB / 1.204 GB, free: 75.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003141/4.267, allocations: 170.9 kB / 1.204 GB, free: 74.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007047/4.274, allocations: 0.5865 MB / 1.205 GB, free: 74.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003331/4.278, allocations: 0.8481 MB / 1.206 GB, free: 74.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002175/4.28, allocations: 321.6 kB / 1.206 GB, free: 74.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004015/4.284, allocations: 2.038 MB / 1.208 GB, free: 73.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.7e-07/4.284, allocations: 0 / 1.208 GB, free: 73.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01256/4.296, allocations: 3.081 MB / 1.211 GB, free: 73.3 MB / 0.5261 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.002608/4.299, allocations: 405.2 kB / 1.212 GB, free: 73.08 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03628/4.335, allocations: 17.46 MB / 1.229 GB, free: 60.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.023e-06/4.335, allocations: 0 / 1.229 GB, free: 60.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02011/4.356, allocations: 9.636 MB / 1.238 GB, free: 51.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007868/4.363, allocations: 0.971 MB / 1.239 GB, free: 51.08 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05887/4.422, allocations: 24.32 MB / 1.263 GB, free: 29.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01691/4.439, allocations: 8.209 MB / 1.271 GB, free: 23.69 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0123/4.452, allocations: 2.583 MB / 1.273 GB, free: 21.87 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004696/4.456, allocations: 0.4989 MB / 1.274 GB, free: 21.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.279e-06/4.456, allocations: 4 kB / 1.274 GB, free: 21.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.6286/5.085, allocations: 140.2 MB / 1.411 GB, free: 69.87 MB / 0.5261 GB