Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 270 MB / 282.7 MB, free: 1.934 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.413e-05/3.422e-05, allocations: 7.984 kB / 347 MB, free: 3.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3232, allocations: 61.87 MB / 408.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.4907, allocations: 111 MB / 0.5076 GB, free: 11.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.491, allocations: 83.95 kB / 0.5077 GB, free: 11.61 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.697/2.189, allocations: 387.6 MB / 0.8862 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.054e-06/2.189, allocations: 0 / 0.8862 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005627/2.189, allocations: 247.8 kB / 0.8864 GB, free: 14.28 MB / 0.5105 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.03948/2.229, allocations: 10.43 MB / 0.8966 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/2.229, allocations: 11.97 kB / 0.8966 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05458/2.283, allocations: 7.734 MB / 0.9042 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02221/2.306, allocations: 7.656 MB / 0.9117 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0012/2.307, allocations: 0.8388 MB / 0.9125 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004792/2.312, allocations: 1.101 MB / 0.9136 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3909/2.703, allocations: 19.32 MB / 0.9324 GB, free: 56.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004273/2.703, allocations: 16.3 kB / 0.9324 GB, free: 56.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003178/2.706, allocations: 485.7 kB / 0.9329 GB, free: 56.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001032/2.707, allocations: 0.9144 MB / 0.9338 GB, free: 56.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04356/2.751, allocations: 17.24 MB / 0.9506 GB, free: 56.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1268/2.878, allocations: 60.34 MB / 1.01 GB, free: 41.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02464/2.902, allocations: 16.43 MB / 1.026 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008334/2.911, allocations: 4.403 MB / 1.03 GB, free: 28.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006593/2.911, allocations: 237.7 kB / 1.03 GB, free: 28.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.43e-05/2.911, allocations: 102.6 kB / 1.03 GB, free: 28.53 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=653): time 1.288e-05/2.911, allocations: 0 / 1.03 GB, free: 28.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=653): time 0.01769/2.929, allocations: 8.147 MB / 1.038 GB, free: 25.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/2.929, allocations: 120.2 kB / 1.038 GB, free: 25.63 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01632/2.946, allocations: 7.743 MB / 1.046 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001041/2.947, allocations: 131.9 kB / 1.046 GB, free: 22.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003324/2.95, allocations: 4.044 MB / 1.05 GB, free: 19.78 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002466/2.953, allocations: 2.193 MB / 1.052 GB, free: 18.08 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007879/2.953, allocations: 151.4 kB / 1.052 GB, free: 17.96 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004867/2.954, allocations: 0.6287 MB / 1.053 GB, free: 17.51 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008126/2.962, allocations: 3.991 MB / 1.057 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00956/2.972, allocations: 6.72 MB / 1.063 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/2.982, allocations: 5.516 MB / 1.069 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.848e-05/2.982, allocations: 24 kB / 1.069 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02682/3.009, allocations: 11.13 MB / 1.08 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/3.009, allocations: 44.72 kB / 1.08 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001686/3.009, allocations: 92 kB / 1.08 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/3.01, allocations: 424.6 kB / 1.08 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01129/3.022, allocations: 2 MB / 1.082 GB, free: 9.125 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/3.032, allocations: 8.902 MB / 1.091 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009591/3.042, allocations: 1.356 MB / 1.092 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001977/3.044, allocations: 374.2 kB / 1.092 GB, free: 14.42 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.002064/3.046, allocations: 0.6109 MB / 1.093 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001862/3.048, allocations: 0.7057 MB / 1.094 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02636/3.074, allocations: 10.44 MB / 1.104 GB, free: 4.664 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.248e-05/3.074, allocations: 64 kB / 1.104 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.842e-05/3.074, allocations: 4 kB / 1.104 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001183/3.074, allocations: 37.47 kB / 1.104 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5802/3.655, allocations: 153.3 MB / 1.254 GB, free: 76.43 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002621/3.655, allocations: 84 kB / 1.254 GB, free: 76.35 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007978/3.663, allocations: 1.539 MB / 1.255 GB, free: 75.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001193/3.664, allocations: 388.6 kB / 1.256 GB, free: 74.84 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001157/3.665, allocations: 246.5 kB / 1.256 GB, free: 74.61 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006544/3.672, allocations: 8.779 MB / 1.264 GB, free: 65.67 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.043e-05/3.672, allocations: 144.1 kB / 1.265 GB, free: 65.57 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03154/3.704, allocations: 33.5 MB / 1.297 GB, free: 30.55 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003433/3.707, allocations: 1.245 MB / 1.299 GB, free: 29.46 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002622/3.71, allocations: 237.9 kB / 1.299 GB, free: 29.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00773/3.717, allocations: 0.5711 MB / 1.299 GB, free: 28.83 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001738/3.719, allocations: 0.7259 MB / 1.3 GB, free: 28.34 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007758/3.72, allocations: 310.4 kB / 1.3 GB, free: 28.05 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0122/3.732, allocations: 5.925 MB / 1.306 GB, free: 22.95 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.162e-06/3.732, allocations: 0 / 1.306 GB, free: 22.95 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01237/3.745, allocations: 2.627 MB / 1.309 GB, free: 20.52 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.001914/3.747, allocations: 0.5006 MB / 1.309 GB, free: 20.19 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01859/3.765, allocations: 9.87 MB / 1.319 GB, free: 11.87 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-05/3.765, allocations: 16.19 kB / 1.319 GB, free: 11.85 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01004/3.775, allocations: 5.208 MB / 1.324 GB, free: 7.539 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009306/3.785, allocations: 1.353 MB / 1.325 GB, free: 6.422 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05789/3.843, allocations: 21.2 MB / 1.346 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3563/4.199, allocations: 7.776 MB / 1.354 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004026/4.203, allocations: 0.6277 MB / 1.354 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.651e-06/4.203, allocations: 0 / 1.354 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of Templates: time 1.379/5.582, allocations: 0.5054 GB / 1.859 GB, free: 127.8 MB / 0.6198 GB