Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 2.169/2.169, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003467, allocations: 8 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.126, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5155/0.6415, allocations: 87.86 MB / 396.9 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.6419, allocations: 91.11 kB / 397 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.305/0.9469, allocations: 74.68 MB / 471.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.9469, allocations: 4 kB / 471.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002979/0.9473, allocations: 87.81 kB / 471.8 MB, free: 15.79 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.01206/0.9593, allocations: 3.194 MB / 475 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.9594, allocations: 8.031 kB / 475 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003077/0.9625, allocations: 404 kB / 475.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/0.9752, allocations: 2.187 MB / 477.6 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003378/0.9755, allocations: 221.8 kB / 477.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/0.9769, allocations: 283.6 kB / 478.1 MB, free: 9.426 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/0.9903, allocations: 4.133 MB / 482.2 MB, free: 5.133 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.886e-05/0.9904, allocations: 3.984 kB / 482.2 MB, free: 5.129 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005096/0.991, allocations: 124 kB / 482.3 MB, free: 5.008 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002174/0.9912, allocations: 133.9 kB / 482.4 MB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/1.002, allocations: 3.221 MB / 485.7 MB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03255/1.035, allocations: 11 MB / 496.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004985/1.04, allocations: 2.634 MB / 499.3 MB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005029/1.04, allocations: 144.5 kB / 499.4 MB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/1.04, allocations: 51.52 kB / 499.5 MB, free: 3.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 4.859e-06/1.04, allocations: 0 / 499.5 MB, free: 3.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.01684/1.057, allocations: 5.659 MB / 0.4933 GB, free: 13.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/1.057, allocations: 90.42 kB / 0.4934 GB, free: 13.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0046/1.062, allocations: 1.902 MB / 0.4953 GB, free: 11.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000349/1.062, allocations: 49.7 kB / 0.4953 GB, free: 11.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00149/1.064, allocations: 1.322 MB / 0.4966 GB, free: 10.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007538/1.064, allocations: 455.1 kB / 0.497 GB, free: 9.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/1.065, allocations: 28 kB / 0.4971 GB, free: 9.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002466/1.065, allocations: 365.9 kB / 0.4974 GB, free: 9.449 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002347/1.067, allocations: 0.8237 MB / 0.4982 GB, free: 8.625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/1.07, allocations: 1.177 MB / 0.4994 GB, free: 7.305 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002765/1.073, allocations: 1.021 MB / 0.5004 GB, free: 6.285 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/1.073, allocations: 4 kB / 0.5004 GB, free: 6.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007719/1.081, allocations: 2.545 MB / 0.5028 GB, free: 3.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/1.081, allocations: 11.98 kB / 0.5029 GB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.947e-05/1.081, allocations: 12 kB / 0.5029 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/1.082, allocations: 380.7 kB / 0.5032 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002754/1.085, allocations: 323.5 kB / 0.5035 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/1.095, allocations: 4.367 MB / 0.5078 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/1.098, allocations: 87.83 kB / 0.5079 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004921/1.098, allocations: 67.92 kB / 0.5079 GB, free: 14.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003222/1.102, allocations: 1.048 MB / 0.509 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008682/1.103, allocations: 193.7 kB / 0.5092 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006791/1.109, allocations: 2.199 MB / 0.5113 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/1.109, allocations: 12 kB / 0.5113 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/1.109, allocations: 11.89 kB / 0.5113 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/1.11, allocations: 3.984 kB / 0.5113 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/1.125, allocations: 5.179 MB / 0.5164 GB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-05/1.125, allocations: 0 / 0.5164 GB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/1.128, allocations: 231.8 kB / 0.5166 GB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/1.129, allocations: 361.3 kB / 0.517 GB, free: 5.059 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002505/1.13, allocations: 27.98 kB / 0.517 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00907/1.139, allocations: 4.287 MB / 0.5212 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.139, allocations: 3.938 kB / 0.5212 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3146/1.453, allocations: 3.257 MB / 0.5244 GB, free: 89.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002334/1.456, allocations: 472.1 kB / 0.5248 GB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001111/1.457, allocations: 31.52 kB / 0.5248 GB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00336/1.46, allocations: 104.2 kB / 0.5249 GB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006149/1.461, allocations: 92.17 kB / 0.525 GB, free: 89.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002425/1.461, allocations: 37.56 kB / 0.5251 GB, free: 89.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004826/1.466, allocations: 1.328 MB / 0.5264 GB, free: 89.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.466, allocations: 5.469 kB / 0.5264 GB, free: 89.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004378/1.47, allocations: 0.5649 MB / 0.5269 GB, free: 89.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (98): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009/1.471, allocations: 224.4 kB / 0.5271 GB, free: 89.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007803/1.479, allocations: 2.337 MB / 0.5294 GB, free: 89.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.479, allocations: 1.156 kB / 0.5294 GB, free: 89.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004784/1.484, allocations: 1.33 MB / 0.5307 GB, free: 88.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005376/1.49, allocations: 489.8 kB / 0.5312 GB, free: 88.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/1.511, allocations: 6.721 MB / 0.5377 GB, free: 86.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003972/1.515, allocations: 2.481 MB / 0.5402 GB, free: 85.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002777/1.518, allocations: 473.4 kB / 0.5406 GB, free: 85.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007788/1.519, allocations: 131.9 kB / 0.5407 GB, free: 85.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.143e-06/1.519, allocations: 0 / 0.5407 GB, free: 85.54 MB / 410.7 MB Notification: Performance of Templates: time 0.1086/1.628, allocations: 29.12 MB / 0.5692 GB, free: 84.26 MB / 410.7 MB