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.662/1.662, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005553/0.0005556, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09692/0.0975, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.03974/0.1373, allocations: 23.79 MB / 296.4 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2484/0.3858, allocations: 5.893 MB / 302.3 MB, free: 8.371 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00823/0.3941, allocations: 212.9 kB / 302.5 MB, free: 8.371 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008346/0.4025, allocations: 1.462 MB / 304 MB, free: 8.371 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008637/0.4112, allocations: 1.625 MB / 305.6 MB, free: 8.363 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007282/0.4185, allocations: 1.368 MB / 307 MB, free: 8.309 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.02102/0.4396, allocations: 10.76 MB / 317.7 MB, free: 7.711 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1084/0.548, allocations: 39.11 MB / 356.8 MB, free: 10.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01623/0.5643, allocations: 6.012 MB / 362.9 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02194/0.5863, allocations: 6.814 MB / 369.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00559/0.5919, allocations: 1.133 MB / 370.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01016/0.6021, allocations: 1.291 MB / 372.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007216/0.6094, allocations: 2.834 MB / 374.9 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01008/0.6196, allocations: 3.549 MB / 378.5 MB, free: 5.109 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05434/0.674, allocations: 32.7 MB / 411.2 MB, free: 4.383 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.674, allocations: 4 kB / 411.2 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.674, allocations: 0 / 411.2 MB, free: 4.379 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0009621/0.675, allocations: 0 / 411.2 MB, free: 4.379 MB / 330.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.07316/0.7482, allocations: 16.75 MB / 427.9 MB, free: 3.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.7483, allocations: 8.031 kB / 427.9 MB, free: 3.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0141/0.7624, allocations: 2.385 MB / 430.3 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5306/1.293, allocations: 9.2 MB / 439.5 MB, free: 77.6 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001729/1.295, allocations: 1.328 MB / 440.8 MB, free: 76.99 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006659/1.301, allocations: 1.752 MB / 442.6 MB, free: 76.41 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08122/1.383, allocations: 26.26 MB / 468.9 MB, free: 62.89 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009241/1.384, allocations: 13.12 kB / 468.9 MB, free: 62.88 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005432/1.389, allocations: 0.7237 MB / 469.6 MB, free: 62.16 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003724/1.39, allocations: 447.2 kB / 470 MB, free: 61.72 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05917/1.449, allocations: 20.25 MB / 490.3 MB, free: 41.45 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2181/1.667, allocations: 82.93 MB / 0.5598 GB, free: 5.121 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01437/1.681, allocations: 5.13 MB / 0.5648 GB, free: 15.58 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004034/1.682, allocations: 41.84 kB / 0.5648 GB, free: 15.55 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.62e-05/1.682, allocations: 64.56 kB / 0.5649 GB, free: 15.48 MB / 410.8 MB Notification: Performance of pre-optimization done (n=198): time 8.726e-06/1.682, allocations: 0 / 0.5649 GB, free: 15.48 MB / 410.8 MB Notification: Performance of matching and sorting (n=198): time 0.07216/1.754, allocations: 9.483 MB / 0.5742 GB, free: 5.914 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.754, allocations: 154.5 kB / 0.5743 GB, free: 5.734 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.508/2.262, allocations: 6.303 MB / 0.5805 GB, free: 125.5 MB / 410.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0004058/2.263, allocations: 59.36 kB / 0.5805 GB, free: 125.5 MB / 410.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.009232/2.272, allocations: 7.818 MB / 0.5882 GB, free: 121 MB / 410.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.001923/2.274, allocations: 0.7804 MB / 0.5889 GB, free: 120.5 MB / 410.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/2.275, allocations: 155 kB / 0.5891 GB, free: 120.3 MB / 410.9 MB Notification: Performance of setup shared object (initialization): time 0.000962/2.276, allocations: 0.6312 MB / 0.5897 GB, free: 119.9 MB / 410.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008765/2.285, allocations: 2.927 MB / 0.5925 GB, free: 118.8 MB / 410.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01071/2.296, allocations: 7.614 MB / 0.6 GB, free: 111.4 MB / 410.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/2.307, allocations: 5.067 MB / 0.6049 GB, free: 109.2 MB / 410.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002727/2.307, allocations: 51.41 kB / 0.605 GB, free: 109.2 MB / 410.9 MB Notification: Performance of matching and sorting (n=984) (initialization): time 0.02845/2.335, allocations: 11.27 MB / 0.616 GB, free: 104.6 MB / 410.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001647/2.336, allocations: 79.81 kB / 0.616 GB, free: 104.6 MB / 410.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002875/2.336, allocations: 167.9 kB / 0.6162 GB, free: 104.6 MB / 410.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/2.346, allocations: 1.814 MB / 0.618 GB, free: 104.3 MB / 410.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009262/2.355, allocations: 1.637 MB / 0.6196 GB, free: 104.1 MB / 410.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02662/2.382, allocations: 12.63 MB / 0.6319 GB, free: 97.38 MB / 410.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009266/2.391, allocations: 1.048 MB / 0.6329 GB, free: 96.72 MB / 410.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001541/2.393, allocations: 462.4 kB / 0.6334 GB, free: 96.66 MB / 410.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 759 * 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 (885): * Single equations (assignments): 882 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.01538/2.408, allocations: 6.968 MB / 0.6402 GB, free: 93.45 MB / 410.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00168/2.41, allocations: 497.1 kB / 0.6407 GB, free: 93.18 MB / 410.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/2.421, allocations: 4.293 MB / 0.6448 GB, free: 91.43 MB / 410.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.847e-05/2.422, allocations: 14.34 kB / 0.6449 GB, free: 91.43 MB / 410.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/2.422, allocations: 0.75 kB / 0.6449 GB, free: 91.43 MB / 410.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00277/2.424, allocations: 0.8128 MB / 0.6457 GB, free: 90.89 MB / 410.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001585/2.426, allocations: 33.94 kB / 0.6457 GB, free: 90.86 MB / 410.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003566/2.43, allocations: 122.9 kB / 0.6458 GB, free: 90.83 MB / 410.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006324/2.43, allocations: 184 kB / 0.646 GB, free: 90.81 MB / 410.9 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01234/2.443, allocations: 4.344 MB / 0.6502 GB, free: 87.14 MB / 410.9 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009106/2.452, allocations: 4.814 MB / 0.6549 GB, free: 82.3 MB / 410.9 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002584/2.454, allocations: 1.362 MB / 0.6563 GB, free: 80.94 MB / 410.9 MB Notification: Performance of sorting global known variables: time 0.009765/2.464, allocations: 4.215 MB / 0.6604 GB, free: 76.75 MB / 410.9 MB Notification: Performance of Backend: time 1.783e-06/2.464, allocations: 0 / 0.6604 GB, free: 76.75 MB / 410.9 MB Notification: Performance of simCode: created initialization part: time 0.01986/2.484, allocations: 6.017 MB / 0.6662 GB, free: 70.76 MB / 410.9 MB Notification: Performance of SimCode: time 0.102/2.586, allocations: 32.38 MB / 0.6979 GB, free: 38.31 MB / 410.9 MB Notification: Performance of Templates: time 0.5901/3.176, allocations: 79.18 MB / 0.7752 GB, free: 97.5 MB / 410.9 MB