Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.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.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadModel(Modelica): time 1.967/1.967, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003372, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1028, allocations: 44.52 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.0474/0.1502, allocations: 25.08 MB / 334.2 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01966/0.1699, allocations: 7.036 MB / 341.2 MB, free: 136 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005248/0.1752, allocations: 203.4 kB / 341.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007227/0.1825, allocations: 1.566 MB / 343 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0126/0.1952, allocations: 2.509 MB / 345.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007783/0.203, allocations: 1.399 MB / 346.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.04195/0.2449, allocations: 18.55 MB / 365.4 MB, free: 7.852 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3754/0.6204, allocations: 35.51 MB / 400.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0111/0.6315, allocations: 6.43 MB / 407.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01536/0.6469, allocations: 7.801 MB / 415.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005044/0.652, allocations: 1.172 MB / 416.3 MB, free: 9.754 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007888/0.6599, allocations: 1.349 MB / 417.7 MB, free: 8.469 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006454/0.6665, allocations: 3.38 MB / 421.1 MB, free: 7.027 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006724/0.6732, allocations: 3.715 MB / 424.8 MB, free: 5.191 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04828/0.7215, allocations: 33.69 MB / 458.5 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7216, allocations: 0 / 458.5 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.7216, allocations: 2.406 kB / 458.5 MB, free: 4.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.001001/0.7226, allocations: 0 / 458.5 MB, free: 4.551 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: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.07996/0.8026, allocations: 18.98 MB / 477.5 MB, free: 1.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.8027, allocations: 8.031 kB / 477.5 MB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1031/0.9058, allocations: 12.33 MB / 489.8 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03289/0.9387, allocations: 10.44 MB / 0.4885 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002083/0.9408, allocations: 1.4 MB / 0.4899 GB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00827/0.9491, allocations: 1.838 MB / 0.4917 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6371/1.586, allocations: 30.58 MB / 0.5215 GB, free: 95.34 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001021/1.587, allocations: 17.44 kB / 0.5215 GB, free: 95.34 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006417/1.594, allocations: 0.7575 MB / 0.5223 GB, free: 94.75 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001606/1.595, allocations: 0.9915 MB / 0.5233 GB, free: 94.66 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07976/1.675, allocations: 27.76 MB / 0.5504 GB, free: 83.29 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.21/1.885, allocations: 94.58 MB / 0.6427 GB, free: 15.32 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.7091/2.594, allocations: 53.35 MB / 0.6948 GB, free: 88.69 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04801/2.643, allocations: 16.83 MB / 0.7113 GB, free: 82.53 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.105e-05/2.643, allocations: 80.5 kB / 0.7113 GB, free: 82.46 MB / 458.9 MB Notification: Performance of pre-optimization done (n=445): time 9.488e-06/2.643, allocations: 3.047 kB / 0.7113 GB, free: 82.46 MB / 458.9 MB Notification: Performance of matching and sorting (n=445): time 0.06227/2.705, allocations: 14.8 MB / 0.7258 GB, free: 77.73 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/2.705, allocations: 121.9 kB / 0.7259 GB, free: 77.63 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01715/2.722, allocations: 7.423 MB / 0.7331 GB, free: 74.94 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0008423/2.723, allocations: 96.86 kB / 0.7332 GB, free: 74.85 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.00599/2.729, allocations: 8.498 MB / 0.7415 GB, free: 68.47 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.002272/2.731, allocations: 1.612 MB / 0.7431 GB, free: 67.27 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/2.733, allocations: 217.4 kB / 0.7433 GB, free: 67.1 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 0.0009586/2.734, allocations: 0.7664 MB / 0.7441 GB, free: 66.61 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0116/2.745, allocations: 4.755 MB / 0.7487 GB, free: 64.89 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01478/2.76, allocations: 10.4 MB / 0.7589 GB, free: 55.46 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01572/2.776, allocations: 7.333 MB / 0.766 GB, free: 52.27 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001882/2.776, allocations: 57.53 kB / 0.7661 GB, free: 52.27 MB / 458.9 MB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.03977/2.816, allocations: 16.18 MB / 0.7819 GB, free: 41.12 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/2.816, allocations: 92.25 kB / 0.782 GB, free: 41.04 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003067/2.816, allocations: 200.7 kB / 0.7822 GB, free: 40.84 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009675/2.826, allocations: 1.828 MB / 0.784 GB, free: 39.02 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01533/2.842, allocations: 2.48 MB / 0.7864 GB, free: 36.53 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03076/2.872, allocations: 12.34 MB / 0.7984 GB, free: 24.06 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01744/2.89, allocations: 1.548 MB / 0.7999 GB, free: 22.5 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002524/2.892, allocations: 0.6054 MB / 0.8005 GB, free: 21.89 MB / 458.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 894 * 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 (1308): * Single equations (assignments): 1299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,75.0%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02141/2.914, allocations: 7.394 MB / 0.8078 GB, free: 14.48 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00207/2.916, allocations: 0.6326 MB / 0.8084 GB, free: 13.84 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02524/2.941, allocations: 8.366 MB / 0.8165 GB, free: 5.441 MB / 458.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.951e-05/2.941, allocations: 23.92 kB / 0.8166 GB, free: 5.418 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.93e-05/2.941, allocations: 0 / 0.8166 GB, free: 5.418 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004518/2.946, allocations: 1.382 MB / 0.8179 GB, free: 4.008 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002082/2.948, allocations: 76 kB / 0.818 GB, free: 3.934 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005651/2.954, allocations: 311.6 kB / 0.8183 GB, free: 3.629 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001085/2.955, allocations: 331.2 kB / 0.8186 GB, free: 3.305 MB / 458.9 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02386/2.979, allocations: 8.012 MB / 0.8264 GB, free: 11.37 MB / 474.9 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02567/3.004, allocations: 10.17 MB / 0.8364 GB, free: 1.148 MB / 474.9 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0074/3.012, allocations: 3.144 MB / 0.8394 GB, free: 14 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.01243/3.024, allocations: 4.867 MB / 0.8442 GB, free: 9.145 MB / 490.9 MB Notification: Performance of Backend: time 9.52e-07/3.024, allocations: 4 kB / 0.8442 GB, free: 9.141 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.02768/3.052, allocations: 8.685 MB / 0.8527 GB, free: 0.5 MB / 490.9 MB Notification: Performance of SimCode: time 0.4119/3.464, allocations: 35.22 MB / 0.8871 GB, free: 188.4 MB / 0.5107 GB Notification: Performance of Templates: time 0.4274/3.892, allocations: 111.9 MB / 0.9963 GB, free: 111.1 MB / 0.5107 GB