Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma|source.voltageSource.2..pin_p.reference.gamma|source.voltageSource.3..pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.845/1.845, allocations: 171.1 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003561, allocations: 8 kB / 233.9 MB, free: 296 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09074/0.09112, allocations: 38.77 MB / 272.6 MB, free: 9.434 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4293/0.5205, allocations: 85.18 MB / 357.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/0.5209, allocations: 95.94 kB / 357.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.073/5.594, allocations: 0.778 GB / 1.127 GB, free: 20.76 MB / 410.8 MB Notification: Performance of FrontEnd: time 3.847e-06/5.594, allocations: 1.531 kB / 1.127 GB, free: 20.76 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.002117/5.596, allocations: 385.6 kB / 1.128 GB, free: 20.76 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4707 * Number of variables: 4707 Notification: Performance of Generate backend data structure: time 0.08601/5.682, allocations: 15.69 MB / 1.143 GB, free: 18 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/5.682, allocations: 8.25 kB / 1.143 GB, free: 18 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/5.697, allocations: 2.079 MB / 1.145 GB, free: 17.16 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03697/5.734, allocations: 10.59 MB / 1.156 GB, free: 15.88 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002661/5.737, allocations: 1.265 MB / 1.157 GB, free: 15.85 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008093/5.745, allocations: 1.626 MB / 1.158 GB, free: 15.84 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09621/5.841, allocations: 27.85 MB / 1.186 GB, free: 13.72 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001084/5.842, allocations: 21.86 kB / 1.186 GB, free: 13.71 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007311/5.85, allocations: 0.7118 MB / 1.186 GB, free: 13.71 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001195/5.851, allocations: 0.7433 MB / 1.187 GB, free: 13.71 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06491/5.916, allocations: 20.53 MB / 1.207 GB, free: 13.57 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6713/6.587, allocations: 85.83 MB / 1.291 GB, free: 43.93 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.032/6.619, allocations: 13.91 MB / 1.304 GB, free: 41.51 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001588/6.621, allocations: 236.8 kB / 1.305 GB, free: 41.46 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/6.621, allocations: 120.4 kB / 1.305 GB, free: 41.41 MB / 442.8 MB Notification: Performance of pre-optimization done (n=1122): time 2.352e-05/6.621, allocations: 3 kB / 1.305 GB, free: 41.41 MB / 442.8 MB Notification: Performance of matching and sorting (n=1122): time 0.4638/7.085, allocations: 84.56 MB / 1.387 GB, free: 23.62 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/7.085, allocations: 215.6 kB / 1.388 GB, free: 23.45 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008023/7.093, allocations: 3.339 MB / 1.391 GB, free: 23.22 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002567/7.096, allocations: 155.3 kB / 1.391 GB, free: 23.18 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004534/7.1, allocations: 5.572 MB / 1.396 GB, free: 20.87 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.006545/7.107, allocations: 3.654 MB / 1.4 GB, free: 18.11 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001944/7.109, allocations: 151.1 kB / 1.4 GB, free: 18.07 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001247/7.11, allocations: 0.7423 MB / 1.401 GB, free: 17.61 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02027/7.13, allocations: 7.72 MB / 1.408 GB, free: 14.18 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02272/7.153, allocations: 9.242 MB / 1.417 GB, free: 9.086 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02954/7.183, allocations: 9.272 MB / 1.427 GB, free: 4.938 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.198e-05/7.183, allocations: 8 kB / 1.427 GB, free: 4.93 MB / 442.8 MB Notification: Performance of matching and sorting (n=1307) (initialization): time 0.09738/7.28, allocations: 23.23 MB / 1.449 GB, free: 3.906 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/7.28, allocations: 22.06 kB / 1.449 GB, free: 3.887 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002299/7.281, allocations: 35.95 kB / 1.449 GB, free: 3.852 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4678/7.748, allocations: 11.83 MB / 1.461 GB, free: 62.28 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01154/7.76, allocations: 0.902 MB / 1.462 GB, free: 62.28 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06948/7.83, allocations: 22.84 MB / 1.484 GB, free: 57.97 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009338/7.839, allocations: 0.8476 MB / 1.485 GB, free: 57.97 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003116/7.842, allocations: 358.4 kB / 1.485 GB, free: 57.97 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 158 * 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 (540): * Single equations (assignments): 395 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 137 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {6 9,6 9,6 9,6 9,6 9,54 302,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0213/7.864, allocations: 6.762 MB / 1.492 GB, free: 57.86 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004172/7.868, allocations: 0.573 MB / 1.492 GB, free: 57.67 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1054/7.973, allocations: 24.03 MB / 1.516 GB, free: 57.12 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0622/8.035, allocations: 21.47 MB / 1.537 GB, free: 56.55 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-05/8.035, allocations: 6.562 kB / 1.537 GB, free: 56.55 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001393/8.036, allocations: 35.84 kB / 1.537 GB, free: 56.55 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1501/8.186, allocations: 44.93 MB / 1.581 GB, free: 32.89 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002207/8.186, allocations: 1.719 kB / 1.581 GB, free: 32.89 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005303/8.191, allocations: 0.5621 MB / 1.581 GB, free: 32.48 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03446/8.226, allocations: 11.01 MB / 1.592 GB, free: 23.18 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002828/8.229, allocations: 226 kB / 1.592 GB, free: 22.99 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04823/8.277, allocations: 22.78 MB / 1.614 GB, free: 2.539 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/8.277, allocations: 7.172 kB / 1.614 GB, free: 2.535 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6234/8.901, allocations: 35.78 MB / 1.649 GB, free: 63.34 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00936/8.91, allocations: 2.429 MB / 1.652 GB, free: 62.93 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003949/8.914, allocations: 132.4 kB / 1.652 GB, free: 62.93 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007434/8.921, allocations: 261.5 kB / 1.652 GB, free: 62.93 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004429/8.926, allocations: 0.8862 MB / 1.653 GB, free: 62.93 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002782/8.929, allocations: 274.4 kB / 1.653 GB, free: 62.93 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.005739/8.935, allocations: 2.305 MB / 1.656 GB, free: 62.78 MB / 458.8 MB Notification: Performance of sort global known variables: time 8.22e-07/8.935, allocations: 2.781 kB / 1.656 GB, free: 62.78 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01757/8.952, allocations: 3.745 MB / 1.659 GB, free: 61.98 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (source.voltageSource[1].pin_p.reference.gamma,source.voltageSource[3].pin_p.reference.gamma,source.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 (356): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 137 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {6 9,6 9,6 9,6 9,6 9,54 302,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003403/8.956, allocations: 353.6 kB / 1.66 GB, free: 61.89 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.05611/9.012, allocations: 18.66 MB / 1.678 GB, free: 61.5 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/9.012, allocations: 0 / 1.678 GB, free: 61.5 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.03211/9.044, allocations: 9.899 MB / 1.687 GB, free: 61.23 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01397/9.058, allocations: 1.318 MB / 1.689 GB, free: 61.2 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1001/9.158, allocations: 40.46 MB / 1.728 GB, free: 45.25 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02719/9.185, allocations: 11.57 MB / 1.74 GB, free: 38.14 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.006058/9.191, allocations: 1.197 MB / 1.741 GB, free: 37.29 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00166/9.193, allocations: 241.5 kB / 1.741 GB, free: 37.06 MB / 458.8 MB Notification: Performance of SimCode: time 1.172e-06/9.193, allocations: 0 / 1.741 GB, free: 37.06 MB / 458.8 MB Notification: Performance of Templates: time 0.9746/10.17, allocations: 210 MB / 1.946 GB, free: 8.66 MB / 490.8 MB