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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadModel(ModelicaTest): time 2.443/2.443, allocations: 270 MB / 283.6 MB, free: 1.902 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.896e-05, allocations: 0 / 348.4 MB, free: 2.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3268, allocations: 61.88 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1774/0.5042, allocations: 110.9 MB / 0.509 GB, free: 11.61 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.5045, allocations: 83.95 kB / 0.5091 GB, free: 11.53 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.96/2.465, allocations: 387.6 MB / 0.8876 GB, free: 30.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.605e-06/2.465, allocations: 4 kB / 0.8876 GB, free: 30.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0006114/2.465, allocations: 247.8 kB / 0.8878 GB, free: 30.12 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.04181/2.507, allocations: 10.43 MB / 0.898 GB, free: 19.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/2.507, allocations: 12.03 kB / 0.898 GB, free: 19.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05456/2.562, allocations: 7.738 MB / 0.9056 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02273/2.585, allocations: 7.652 MB / 0.9131 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001274/2.586, allocations: 0.831 MB / 0.9139 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005037/2.591, allocations: 1.105 MB / 0.9149 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4677/3.059, allocations: 19.32 MB / 0.9338 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000577/3.059, allocations: 18.52 kB / 0.9338 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003965/3.063, allocations: 484.4 kB / 0.9343 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001252/3.065, allocations: 0.9199 MB / 0.9352 GB, free: 56.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04375/3.108, allocations: 17.23 MB / 0.952 GB, free: 56.58 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1256/3.234, allocations: 60.34 MB / 1.011 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02384/3.258, allocations: 16.43 MB / 1.027 GB, free: 30.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008639/3.267, allocations: 4.401 MB / 1.031 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006356/3.267, allocations: 236.1 kB / 1.032 GB, free: 28.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.258e-05/3.267, allocations: 103.6 kB / 1.032 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=653): time 1.242e-05/3.267, allocations: 0 / 1.032 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=653): time 0.01766/3.285, allocations: 8.149 MB / 1.04 GB, free: 25.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/3.285, allocations: 118 kB / 1.04 GB, free: 25.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01565/3.301, allocations: 7.737 MB / 1.047 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001084/3.302, allocations: 136.7 kB / 1.047 GB, free: 23.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00394/3.306, allocations: 4.483 MB / 1.052 GB, free: 19.76 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002366/3.308, allocations: 2.189 MB / 1.054 GB, free: 18.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007169/3.309, allocations: 151.3 kB / 1.054 GB, free: 17.94 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005004/3.31, allocations: 0.6263 MB / 1.055 GB, free: 17.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008104/3.318, allocations: 3.993 MB / 1.059 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009772/3.327, allocations: 6.72 MB / 1.065 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/3.338, allocations: 5.518 MB / 1.07 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.304e-05/3.338, allocations: 28 kB / 1.071 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.04416/3.382, allocations: 11.56 MB / 1.082 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001815/3.382, allocations: 44 kB / 1.082 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003014/3.383, allocations: 92 kB / 1.082 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001636/3.384, allocations: 423.6 kB / 1.082 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/3.395, allocations: 2.006 MB / 1.084 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/3.406, allocations: 8.892 MB / 1.093 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009687/3.415, allocations: 1.364 MB / 1.094 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001999/3.417, allocations: 372.4 kB / 1.095 GB, free: 13.7 MB / 0.5573 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.00319/3.421, allocations: 0.6037 MB / 1.095 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002304/3.423, allocations: 0.7055 MB / 1.096 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02802/3.451, allocations: 10.45 MB / 1.106 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.98e-05/3.451, allocations: 64 kB / 1.106 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/3.451, allocations: 4 kB / 1.106 GB, free: 3.875 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001335/3.451, allocations: 36.8 kB / 1.106 GB, free: 3.875 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5967/4.048, allocations: 153.3 MB / 1.256 GB, free: 75.96 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002534/4.048, allocations: 84 kB / 1.256 GB, free: 75.88 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007743/4.056, allocations: 1.543 MB / 1.258 GB, free: 74.71 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001223/4.057, allocations: 392.1 kB / 1.258 GB, free: 74.37 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001293/4.059, allocations: 246.4 kB / 1.258 GB, free: 74.14 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006666/4.065, allocations: 8.767 MB / 1.267 GB, free: 65.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.1e-05/4.065, allocations: 141.3 kB / 1.267 GB, free: 65.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03422/4.1, allocations: 33.51 MB / 1.3 GB, free: 30.07 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005361/4.105, allocations: 1.244 MB / 1.301 GB, free: 29 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004264/4.109, allocations: 241.3 kB / 1.301 GB, free: 28.78 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01405/4.124, allocations: 0.5669 MB / 1.302 GB, free: 28.37 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002677/4.126, allocations: 0.7209 MB / 1.302 GB, free: 27.88 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001513/4.128, allocations: 310.9 kB / 1.303 GB, free: 27.59 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.02235/4.15, allocations: 5.927 MB / 1.308 GB, free: 22.49 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.59e-06/4.15, allocations: 0 / 1.308 GB, free: 22.49 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.05791/4.208, allocations: 2.625 MB / 1.311 GB, free: 20.05 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.002931/4.211, allocations: 0.5034 MB / 1.311 GB, free: 19.73 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0281/4.239, allocations: 9.878 MB / 1.321 GB, free: 11.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 0.0001405/4.24, allocations: 15.66 kB / 1.321 GB, free: 11.39 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0195/4.259, allocations: 5.198 MB / 1.326 GB, free: 7.074 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01826/4.277, allocations: 1.354 MB / 1.328 GB, free: 5.961 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06633/4.344, allocations: 21.27 MB / 1.348 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3705/4.714, allocations: 8.142 MB / 1.356 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01273/4.727, allocations: 3.586 MB / 1.36 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003573/4.731, allocations: 0.5825 MB / 1.36 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of SimCode: time 2.008e-06/4.731, allocations: 0 / 1.36 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.2562/4.987, allocations: 94.32 MB / 1.452 GB, free: 96.92 MB / 0.5886 GB