Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadModel(ModelicaTest): time 2.181/2.181, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.775e-05/2.79e-05, allocations: 4 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3216, allocations: 54.85 MB / 359.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.4599, allocations: 90.77 MB / 450.5 MB, free: 6.227 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.4602, allocations: 83.95 kB / 450.6 MB, free: 6.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1168/0.577, allocations: 32.53 MB / 483.1 MB, free: 5.297 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.402e-06/0.5771, allocations: 0 / 483.1 MB, free: 5.297 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.942e-05/0.5771, allocations: 24 kB / 483.2 MB, free: 5.273 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.003856/0.581, allocations: 1.237 MB / 484.4 MB, free: 3.988 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.5811, allocations: 15.97 kB / 484.4 MB, free: 3.973 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009565/0.5907, allocations: 1.017 MB / 485.4 MB, free: 2.953 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.592, allocations: 0.5122 MB / 485.9 MB, free: 2.402 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.5921, allocations: 90.45 kB / 486 MB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002714/0.5924, allocations: 123.9 kB / 486.2 MB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00287/0.5953, allocations: 1.106 MB / 487.3 MB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.401e-05/0.5953, allocations: 3.984 kB / 487.3 MB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.5955, allocations: 52 kB / 487.3 MB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.5956, allocations: 31.95 kB / 487.3 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003384/0.599, allocations: 1.36 MB / 488.7 MB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.6097, allocations: 4.858 MB / 493.6 MB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/0.6122, allocations: 1.153 MB / 494.7 MB, free: 9.211 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007902/0.613, allocations: 347.2 kB / 495.1 MB, free: 8.871 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.6132, allocations: 101.9 kB / 495.2 MB, free: 8.754 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.6133, allocations: 43.34 kB / 495.2 MB, free: 8.699 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 3.964e-06/0.6133, allocations: 0 / 495.2 MB, free: 8.699 MB / 426.7 MB Notification: Performance of matching and sorting (n=91): time 0.001912/0.6152, allocations: 0.704 MB / 495.9 MB, free: 7.984 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.6153, allocations: 64.19 kB / 496 MB, free: 7.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.6166, allocations: 0.6793 MB / 496.6 MB, free: 7.227 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.619e-05/0.6167, allocations: 41.7 kB / 496.7 MB, free: 7.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.6171, allocations: 0.4893 MB / 497.2 MB, free: 6.684 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/0.6175, allocations: 307.5 kB / 497.5 MB, free: 6.379 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.6176, allocations: 24 kB / 497.5 MB, free: 6.355 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.6178, allocations: 350.8 kB / 497.8 MB, free: 6.004 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008321/0.6186, allocations: 318.6 kB / 498.1 MB, free: 5.691 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.6197, allocations: 0.5648 MB / 498.7 MB, free: 5.016 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.6207, allocations: 404.7 kB / 499.1 MB, free: 4.621 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.397e-06/0.6208, allocations: 4 kB / 499.1 MB, free: 4.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002725/0.6235, allocations: 1.05 MB / 0.4884 GB, free: 3.551 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.6235, allocations: 8 kB / 0.4884 GB, free: 3.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/0.6236, allocations: 8 kB / 0.4885 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003581/0.6239, allocations: 69.67 kB / 0.4885 GB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.6254, allocations: 259.6 kB / 0.4888 GB, free: 3.207 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.6282, allocations: 2.627 MB / 0.4913 GB, free: 324 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.6294, allocations: 162.2 kB / 0.4915 GB, free: 160 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.6295, allocations: 48.16 kB / 0.4915 GB, free: 112 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003041/0.6299, allocations: 170.6 kB / 0.4917 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.6301, allocations: 86.97 kB / 0.4918 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/0.6326, allocations: 1.054 MB / 0.4928 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.6327, allocations: 12 kB / 0.4928 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.226e-06/0.6327, allocations: 0 / 0.4928 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.6327, allocations: 7.969 kB / 0.4928 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005315/0.638, allocations: 2.659 MB / 0.4954 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/0.6381, allocations: 8 kB / 0.4954 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.6391, allocations: 179.7 kB / 0.4956 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003007/0.6394, allocations: 61.98 kB / 0.4957 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.002e-05/0.6395, allocations: 32 kB / 0.4957 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/0.6424, allocations: 2.604 MB / 0.4982 GB, free: 8.695 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.662e-05/0.6424, allocations: 16.11 kB / 0.4983 GB, free: 8.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003258/0.6457, allocations: 1.694 MB / 0.4999 GB, free: 6.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/0.6461, allocations: 207.8 kB / 0.5001 GB, free: 6.508 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.6463, allocations: 31.98 kB / 0.5001 GB, free: 6.477 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008712/0.6472, allocations: 60.03 kB / 0.5002 GB, free: 6.418 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.6474, allocations: 80.58 kB / 0.5003 GB, free: 6.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.256e-05/0.6475, allocations: 35.98 kB / 0.5003 GB, free: 6.305 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001009/0.6485, allocations: 0.5265 MB / 0.5008 GB, free: 5.785 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.77e-07/0.6485, allocations: 0 / 0.5008 GB, free: 5.785 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001269/0.6498, allocations: 299.5 kB / 0.5011 GB, free: 5.492 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (variableAdmittance.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0003852/0.6502, allocations: 186.8 kB / 0.5013 GB, free: 5.297 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.6525, allocations: 0.9909 MB / 0.5023 GB, free: 4.293 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.867e-06/0.6526, allocations: 6.062 kB / 0.5023 GB, free: 4.289 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.6538, allocations: 0.5779 MB / 0.5028 GB, free: 3.691 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007882/0.6546, allocations: 112.7 kB / 0.5029 GB, free: 3.578 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005793/0.6604, allocations: 1.793 MB / 0.5047 GB, free: 1.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008818/0.6613, allocations: 1.023 MB / 0.5057 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005026/0.6618, allocations: 91.42 kB / 0.5058 GB, free: 0.543 MB / 442.7 MB Notification: Performance of SimCode: time 1.899e-06/0.6618, allocations: 0 / 0.5058 GB, free: 0.543 MB / 442.7 MB Notification: Performance of Templates: time 0.2746/0.9365, allocations: 18.91 MB / 0.5242 GB, free: 123.8 MB / 458.7 MB