Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma|voltageSource.voltageSource.2..pin_p.reference.gamma|voltageSource.voltageSource.3..pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadModel(Modelica): time 1.694/1.694, allocations: 171.1 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003554, allocations: 8 kB / 233.2 MB, free: 3.012 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0712/0.07158, allocations: 38.78 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2977/0.3694, allocations: 74.85 MB / 346.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.3697, allocations: 82.77 kB / 347 MB, free: 14.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6511/1.021, allocations: 156.2 MB / 0.4913 GB, free: 59.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.711e-06/1.021, allocations: 0 / 0.4913 GB, free: 59.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002086/1.021, allocations: 95.94 kB / 0.4914 GB, free: 59.57 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.01617/1.037, allocations: 4.291 MB / 0.4956 GB, free: 55.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/1.037, allocations: 8.031 kB / 0.4956 GB, free: 55.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/1.039, allocations: 450.7 kB / 0.4961 GB, free: 54.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006229/1.046, allocations: 2.652 MB / 0.4987 GB, free: 52.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000483/1.046, allocations: 341 kB / 0.499 GB, free: 51.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/1.048, allocations: 447.9 kB / 0.4994 GB, free: 51.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01842/1.066, allocations: 7.003 MB / 0.5063 GB, free: 44.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001525/1.066, allocations: 3.984 kB / 0.5063 GB, free: 44.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009479/1.067, allocations: 192 kB / 0.5064 GB, free: 43.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/1.068, allocations: 199.9 kB / 0.5066 GB, free: 43.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/1.08, allocations: 5.022 MB / 0.5115 GB, free: 38.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04431/1.125, allocations: 21.85 MB / 0.5329 GB, free: 16.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004724/1.129, allocations: 2.548 MB / 0.5354 GB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/1.13, allocations: 59.25 kB / 0.5354 GB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/1.13, allocations: 56.56 kB / 0.5355 GB, free: 14.15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=284): time 7.824e-06/1.13, allocations: 0 / 0.5355 GB, free: 14.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=284): time 0.01784/1.148, allocations: 12.15 MB / 0.5473 GB, free: 0.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/1.148, allocations: 120.8 kB / 0.5474 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2116/1.359, allocations: 0.7655 MB / 0.5482 GB, free: 62.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005175/1.36, allocations: 57.05 kB / 0.5483 GB, free: 62.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009174/1.361, allocations: 1.546 MB / 0.5498 GB, free: 61.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001179/1.362, allocations: 0.9294 MB / 0.5507 GB, free: 61.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/1.362, allocations: 40.06 kB / 0.5507 GB, free: 61.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002399/1.363, allocations: 431.1 kB / 0.5511 GB, free: 60.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003909/1.366, allocations: 1.884 MB / 0.553 GB, free: 60.69 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004069/1.371, allocations: 2.326 MB / 0.5552 GB, free: 60.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006196/1.377, allocations: 2.27 MB / 0.5574 GB, free: 60.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-05/1.377, allocations: 5.906 kB / 0.5575 GB, free: 60.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01176/1.389, allocations: 5.26 MB / 0.5626 GB, free: 60.03 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/1.389, allocations: 10.16 kB / 0.5626 GB, free: 60.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.151e-05/1.389, allocations: 14.22 kB / 0.5626 GB, free: 60.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003174/1.392, allocations: 1.392 MB / 0.564 GB, free: 60 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/1.394, allocations: 343.4 kB / 0.5643 GB, free: 60 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006375/1.4, allocations: 5.13 MB / 0.5693 GB, free: 57.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/1.402, allocations: 232.5 kB / 0.5695 GB, free: 57.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/1.402, allocations: 103 kB / 0.5696 GB, free: 57.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.003525/1.406, allocations: 1.705 MB / 0.5713 GB, free: 57.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005071/1.406, allocations: 141.2 kB / 0.5714 GB, free: 57.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009941/1.416, allocations: 5.066 MB / 0.5764 GB, free: 57.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009503/1.426, allocations: 4.739 MB / 0.581 GB, free: 57.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/1.426, allocations: 0 / 0.581 GB, free: 57.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.573e-05/1.426, allocations: 10.67 kB / 0.581 GB, free: 57.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02222/1.448, allocations: 10.88 MB / 0.5916 GB, free: 53.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.313e-05/1.448, allocations: 6.219 kB / 0.5916 GB, free: 53.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/1.449, allocations: 225.2 kB / 0.5919 GB, free: 53.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003139/1.452, allocations: 1.393 MB / 0.5932 GB, free: 52.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004969/1.453, allocations: 63.27 kB / 0.5933 GB, free: 52.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006191/1.459, allocations: 5.097 MB / 0.5983 GB, free: 49.28 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.459, allocations: 8.156 kB / 0.5983 GB, free: 49.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01569/1.475, allocations: 8.246 MB / 0.6063 GB, free: 45.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004998/1.475, allocations: 271.2 kB / 0.6066 GB, free: 44.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006384/1.476, allocations: 42.31 kB / 0.6066 GB, free: 44.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.477, allocations: 57.7 kB / 0.6067 GB, free: 44.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005904/1.478, allocations: 248.2 kB / 0.6069 GB, free: 44.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002652/1.478, allocations: 74.33 kB / 0.607 GB, free: 44.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009868/1.479, allocations: 0.5952 MB / 0.6076 GB, free: 44.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.7e-07/1.479, allocations: 0 / 0.6076 GB, free: 44.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003874/1.483, allocations: 0.9823 MB / 0.6085 GB, free: 44.29 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 3 (voltageSource.voltageSource[1].pin_p.reference.gamma,voltageSource.voltageSource[3].pin_p.reference.gamma,voltageSource.voltageSource[2].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (139): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008673/1.484, allocations: 201.2 kB / 0.6087 GB, free: 44.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00981/1.494, allocations: 4.446 MB / 0.6131 GB, free: 42.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.563e-06/1.494, allocations: 0 / 0.6131 GB, free: 42.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005015/1.499, allocations: 2.255 MB / 0.6153 GB, free: 40.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/1.501, allocations: 307.2 kB / 0.6156 GB, free: 40.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/1.52, allocations: 10.13 MB / 0.6255 GB, free: 31.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004672/1.525, allocations: 3.243 MB / 0.6286 GB, free: 28.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005386/1.526, allocations: 87.44 kB / 0.6287 GB, free: 28.42 MB / 346.7 MB Notification: Performance of SimCode: time 1.8e-06/1.526, allocations: 0 / 0.6287 GB, free: 28.42 MB / 346.7 MB Notification: Performance of Templates: time 0.3829/1.908, allocations: 142.9 MB / 0.7683 GB, free: 28.48 MB / 362.7 MB