Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.661/1.661, allocations: 171.2 MB / 187.3 MB, free: 1.141 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003397, allocations: 8 kB / 233.8 MB, free: 3.086 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09643/0.09679, allocations: 38.77 MB / 272.5 MB, free: 12.24 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3583/0.4551, allocations: 74.85 MB / 347.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.4555, allocations: 84.14 kB / 347.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7631/1.219, allocations: 156.2 MB / 0.4919 GB, free: 59.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.757e-06/1.219, allocations: 0 / 0.4919 GB, free: 59.79 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003236/1.219, allocations: 95.94 kB / 0.492 GB, free: 59.69 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.02099/1.24, allocations: 4.291 MB / 0.4961 GB, free: 55.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.24, allocations: 15.97 kB / 0.4962 GB, free: 55.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/1.243, allocations: 446.7 kB / 0.4966 GB, free: 54.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/1.254, allocations: 2.649 MB / 0.4992 GB, free: 52.22 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001074/1.255, allocations: 349 kB / 0.4995 GB, free: 51.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002759/1.258, allocations: 443.9 kB / 0.4999 GB, free: 51.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02627/1.284, allocations: 7.034 MB / 0.5068 GB, free: 44.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002441/1.284, allocations: 11.94 kB / 0.5068 GB, free: 44.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001595/1.286, allocations: 188 kB / 0.507 GB, free: 44.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002596/1.286, allocations: 195.9 kB / 0.5072 GB, free: 43.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/1.301, allocations: 5.026 MB / 0.5121 GB, free: 38.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05056/1.351, allocations: 21.85 MB / 0.5334 GB, free: 16.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005623/1.357, allocations: 2.543 MB / 0.5359 GB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003293/1.357, allocations: 67.17 kB / 0.536 GB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/1.357, allocations: 52.56 kB / 0.536 GB, free: 14.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=284): time 6.742e-06/1.357, allocations: 0 / 0.536 GB, free: 14.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=284): time 0.02047/1.378, allocations: 12.15 MB / 0.5479 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/1.378, allocations: 124.8 kB / 0.548 GB, free: 0.6914 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2556/1.634, allocations: 0.8507 MB / 0.5488 GB, free: 62.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007342/1.634, allocations: 57.89 kB / 0.5489 GB, free: 62.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001312/1.636, allocations: 1.548 MB / 0.5504 GB, free: 61.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001835/1.638, allocations: 0.9268 MB / 0.5513 GB, free: 60.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003283/1.638, allocations: 42.56 kB / 0.5513 GB, free: 60.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003842/1.638, allocations: 426.3 kB / 0.5518 GB, free: 60.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005288/1.644, allocations: 1.885 MB / 0.5536 GB, free: 60.67 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005305/1.649, allocations: 2.329 MB / 0.5559 GB, free: 60.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005085/1.654, allocations: 2.279 MB / 0.5581 GB, free: 60.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/1.654, allocations: 3.062 kB / 0.5581 GB, free: 60.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01541/1.67, allocations: 5.257 MB / 0.5632 GB, free: 60 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/1.67, allocations: 12.41 kB / 0.5632 GB, free: 60 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.744e-05/1.67, allocations: 11 kB / 0.5633 GB, free: 60 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00437/1.674, allocations: 1.398 MB / 0.5646 GB, free: 59.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/1.677, allocations: 341.5 kB / 0.5649 GB, free: 59.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007875/1.685, allocations: 5.129 MB / 0.57 GB, free: 57.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/1.687, allocations: 236.5 kB / 0.5702 GB, free: 57.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006527/1.688, allocations: 100.6 kB / 0.5703 GB, free: 57.72 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.004646/1.693, allocations: 1.705 MB / 0.5719 GB, free: 57.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006223/1.693, allocations: 143.2 kB / 0.5721 GB, free: 57.53 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/1.706, allocations: 5.067 MB / 0.577 GB, free: 57.35 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01523/1.721, allocations: 4.733 MB / 0.5816 GB, free: 57.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-05/1.721, allocations: 3.156 kB / 0.5817 GB, free: 57.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.138e-05/1.721, allocations: 14.55 kB / 0.5817 GB, free: 57.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07142/1.793, allocations: 10.88 MB / 0.5923 GB, free: 53.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-05/1.793, allocations: 10.27 kB / 0.5923 GB, free: 53.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002672/1.796, allocations: 216.3 kB / 0.5925 GB, free: 53.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005014/1.801, allocations: 1.397 MB / 0.5939 GB, free: 52.72 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007926/1.802, allocations: 59.81 kB / 0.5939 GB, free: 52.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008749/1.81, allocations: 5.101 MB / 0.5989 GB, free: 49.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/1.81, allocations: 5.938 kB / 0.5989 GB, free: 49.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01866/1.829, allocations: 8.074 MB / 0.6068 GB, free: 45.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/1.83, allocations: 271.7 kB / 0.6071 GB, free: 45.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008317/1.83, allocations: 36.94 kB / 0.6071 GB, free: 45.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/1.832, allocations: 63.58 kB / 0.6072 GB, free: 45.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008501/1.833, allocations: 246.1 kB / 0.6074 GB, free: 45.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002833/1.833, allocations: 77.84 kB / 0.6075 GB, free: 45.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001127/1.834, allocations: 0.5894 MB / 0.608 GB, free: 44.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.834, allocations: 0 / 0.608 GB, free: 44.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003886/1.838, allocations: 0.9875 MB / 0.609 GB, free: 44.62 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.0007601/1.839, allocations: 196.8 kB / 0.6092 GB, free: 44.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01163/1.851, allocations: 4.449 MB / 0.6135 GB, free: 42.78 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/1.851, allocations: 2.969 kB / 0.6135 GB, free: 42.78 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00625/1.857, allocations: 2.251 MB / 0.6157 GB, free: 40.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003482/1.861, allocations: 307.8 kB / 0.616 GB, free: 40.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/1.884, allocations: 10.14 MB / 0.6259 GB, free: 31.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004314/1.888, allocations: 3.244 MB / 0.6291 GB, free: 28.85 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006859/1.889, allocations: 87.38 kB / 0.6292 GB, free: 28.77 MB / 346.7 MB Notification: Performance of SimCode: time 9.61e-07/1.889, allocations: 0 / 0.6292 GB, free: 28.77 MB / 346.7 MB Notification: Performance of Templates: time 0.5069/2.396, allocations: 142.9 MB / 0.7687 GB, free: 26.37 MB / 362.7 MB