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.Machines.Examples.TransformerTestbench.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.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_cpp_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.618/1.618, allocations: 171.2 MB / 184.2 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.208e-05/4.241e-05, allocations: 7.984 kB / 228.8 MB, free: 15.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2261, allocations: 38.77 MB / 267.6 MB, free: 9.441 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.3537, allocations: 85.11 MB / 352.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.3541, allocations: 83.94 kB / 352.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.82/4.174, allocations: 0.7781 GB / 1.123 GB, free: 31.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.898e-06/4.175, allocations: 3.938 kB / 1.123 GB, free: 31.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009781/4.175, allocations: 384.1 kB / 1.123 GB, free: 31.69 MB / 426.7 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.06543/4.241, allocations: 15.12 MB / 1.138 GB, free: 27.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/4.241, allocations: 11.09 kB / 1.138 GB, free: 27.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/4.252, allocations: 2.068 MB / 1.14 GB, free: 26.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02764/4.28, allocations: 10.57 MB / 1.15 GB, free: 25.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001912/4.282, allocations: 1.267 MB / 1.151 GB, free: 25.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006822/4.289, allocations: 1.619 MB / 1.153 GB, free: 25.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07851/4.367, allocations: 27.58 MB / 1.18 GB, free: 23.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006796/4.368, allocations: 25.09 kB / 1.18 GB, free: 23.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006142/4.374, allocations: 0.7018 MB / 1.181 GB, free: 23.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009989/4.375, allocations: 0.7428 MB / 1.181 GB, free: 23.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05338/4.429, allocations: 20.24 MB / 1.201 GB, free: 16.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5264/4.955, allocations: 85.46 MB / 1.284 GB, free: 27.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02359/4.979, allocations: 13.83 MB / 1.298 GB, free: 25.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0251/5.004, allocations: 12.11 MB / 1.31 GB, free: 25.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/5.005, allocations: 235.5 kB / 1.31 GB, free: 25.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/5.005, allocations: 122.5 kB / 1.31 GB, free: 25.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1122): time 2.019e-05/5.005, allocations: 2.531 kB / 1.31 GB, free: 25.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=1122): time 0.04926/5.054, allocations: 21.42 MB / 1.331 GB, free: 24.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/5.055, allocations: 218.9 kB / 1.331 GB, free: 24.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006612/5.061, allocations: 2.945 MB / 1.334 GB, free: 23.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002045/5.063, allocations: 148.3 kB / 1.334 GB, free: 23.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003171/5.066, allocations: 5.401 MB / 1.34 GB, free: 21.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005129/5.072, allocations: 3.656 MB / 1.343 GB, free: 19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002015/5.074, allocations: 151.1 kB / 1.343 GB, free: 19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001411/5.075, allocations: 0.745 MB / 1.344 GB, free: 18.67 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01633/5.091, allocations: 7.675 MB / 1.352 GB, free: 15.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01846/5.11, allocations: 9.203 MB / 1.361 GB, free: 11.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01891/5.129, allocations: 9.224 MB / 1.37 GB, free: 7.383 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.297e-05/5.129, allocations: 11.66 kB / 1.37 GB, free: 7.383 MB / 442.7 MB Notification: Performance of matching and sorting (n=1307) (initialization): time 0.1334/5.262, allocations: 24.4 MB / 1.393 GB, free: 10.83 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.739e-05/5.262, allocations: 16 kB / 1.393 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001368/5.263, allocations: 44.52 kB / 1.393 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02949/5.292, allocations: 10.76 MB / 1.404 GB, free: 1.492 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005421/5.298, allocations: 0.9255 MB / 1.405 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3594/5.657, allocations: 22.52 MB / 1.427 GB, free: 55.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007466/5.665, allocations: 0.8484 MB / 1.428 GB, free: 55.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002566/5.667, allocations: 359.4 kB / 1.428 GB, free: 55.62 MB / 458.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (552): * Single equations (assignments): 407 * 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 290,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.002844/5.67, allocations: 496.8 kB / 1.428 GB, free: 55.51 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002066/5.672, allocations: 0.5676 MB / 1.429 GB, free: 55.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05305/5.725, allocations: 23.86 MB / 1.452 GB, free: 54.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04354/5.769, allocations: 21.26 MB / 1.473 GB, free: 54.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.127e-05/5.769, allocations: 2.188 kB / 1.473 GB, free: 54.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001074/5.769, allocations: 47.05 kB / 1.473 GB, free: 54.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09804/5.867, allocations: 44.87 MB / 1.517 GB, free: 35.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001461/5.867, allocations: 3.469 kB / 1.517 GB, free: 35.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003763/5.871, allocations: 0.589 MB / 1.518 GB, free: 35.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02671/5.898, allocations: 10.68 MB / 1.528 GB, free: 31.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002153/5.9, allocations: 226.6 kB / 1.528 GB, free: 30.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03211/5.932, allocations: 22.42 MB / 1.55 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.992e-06/5.932, allocations: 4 kB / 1.55 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4096/6.342, allocations: 35.59 MB / 1.585 GB, free: 54.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00673/6.348, allocations: 2.435 MB / 1.587 GB, free: 54.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002221/6.351, allocations: 131.7 kB / 1.587 GB, free: 54.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005342/6.356, allocations: 254.1 kB / 1.588 GB, free: 54.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00335/6.359, allocations: 0.8869 MB / 1.588 GB, free: 54.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001879/6.361, allocations: 272.8 kB / 1.589 GB, free: 54.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004809/6.366, allocations: 2.28 MB / 1.591 GB, free: 54.47 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.68e-07/6.366, allocations: 0 / 1.591 GB, free: 54.47 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01383/6.38, allocations: 3.739 MB / 1.595 GB, free: 53.73 MB / 458.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (368): * Single equations (assignments): 223 * 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 290,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002408/6.383, allocations: 362.8 kB / 1.595 GB, free: 53.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.04131/6.424, allocations: 18.54 MB / 1.613 GB, free: 53.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.919e-06/6.424, allocations: 1.031 kB / 1.613 GB, free: 53.24 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0234/6.447, allocations: 9.804 MB / 1.623 GB, free: 52.99 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009172/6.457, allocations: 1.322 MB / 1.624 GB, free: 52.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07333/6.53, allocations: 29.75 MB / 1.653 GB, free: 48.78 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02465/6.555, allocations: 11.21 MB / 1.664 GB, free: 44.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001743/6.556, allocations: 274.4 kB / 1.664 GB, free: 44.82 MB / 458.7 MB Notification: Performance of SimCode: time 2.028e-06/6.556, allocations: 0 / 1.664 GB, free: 44.82 MB / 458.7 MB Notification: Performance of Templates: time 3.027/9.583, allocations: 0.943 GB / 2.607 GB, free: 94.32 MB / 0.4948 GB