Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.TestTransformerFixedRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="infiniteBus.ERef|infiniteBus.PStart|infiniteBus.QStart|infiniteBus.R|infiniteBus.SNom|infiniteBus.UNom|infiniteBus.UPhaseStart|infiniteBus.URef|infiniteBus.UStart|infiniteBus.X|infiniteBus.Z.im|infiniteBus.Z.re|infiniteBus.localInit|infiniteBus.port.IBase|infiniteBus.port.IStart|infiniteBus.port.PStart|infiniteBus.port.QStart|infiniteBus.port.SBase|infiniteBus.port.SNom|infiniteBus.port.UBase|infiniteBus.port.UNom|infiniteBus.port.UPhaseStart|infiniteBus.port.UStart|infiniteBus.port.VBase|infiniteBus.port.VStart|infiniteBus.port.i.im|infiniteBus.port.i.re|infiniteBus.port.iStart.im|infiniteBus.port.iStart.re|infiniteBus.port.portVariablesPhases|infiniteBus.port.v.im|infiniteBus.port.v.re|infiniteBus.port.vStart.im|infiniteBus.port.vStart.re|infiniteBus.portVariablesPhases|infiniteBus.theta|loadPQ.PRef|loadPQ.PRefConst|loadPQ.PStart|loadPQ.QRef|loadPQ.QRefConst|loadPQ.QStart|loadPQ.SNom|loadPQ.UNom|loadPQ.UPhaseStart|loadPQ.URef|loadPQ.UStart|loadPQ.alpha|loadPQ.beta|loadPQ.localInit|loadPQ.port.IBase|loadPQ.port.IStart|loadPQ.port.PStart|loadPQ.port.QStart|loadPQ.port.SBase|loadPQ.port.SNom|loadPQ.port.UBase|loadPQ.port.UNom|loadPQ.port.UPhaseStart|loadPQ.port.UStart|loadPQ.port.VBase|loadPQ.port.VStart|loadPQ.port.i.im|loadPQ.port.i.re|loadPQ.port.iStart.im|loadPQ.port.iStart.re|loadPQ.port.portVariablesPhases|loadPQ.port.v.im|loadPQ.port.v.re|loadPQ.port.vStart.im|loadPQ.port.vStart.re|loadPQ.portVariablesPhases|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time|transformer.B|transformer.G|transformer.PStartA|transformer.PStartB|transformer.QStartA|transformer.QStartB|transformer.R|transformer.SNom|transformer.UNomA|transformer.UNomB|transformer.UPhaseStartA|transformer.UPhaseStartB|transformer.UStartA|transformer.UStartB|transformer.X|transformer.YB.im|transformer.YB.re|transformer.computePowerBalance|transformer.iA.im|transformer.iA.re|transformer.iB.im|transformer.iB.re|transformer.portA.IBase|transformer.portA.IStart|transformer.portA.PStart|transformer.portA.QStart|transformer.portA.SBase|transformer.portA.SNom|transformer.portA.UBase|transformer.portA.UNom|transformer.portA.UPhaseStart|transformer.portA.UStart|transformer.portA.VBase|transformer.portA.VStart|transformer.portA.iStart.im|transformer.portA.iStart.re|transformer.portA.portVariablesPhases|transformer.portA.vStart.im|transformer.portA.vStart.re|transformer.portB.IBase|transformer.portB.IStart|transformer.portB.PStart|transformer.portB.QStart|transformer.portB.SBase|transformer.portB.SNom|transformer.portB.UBase|transformer.portB.UNom|transformer.portB.UPhaseStart|transformer.portB.UStart|transformer.portB.VBase|transformer.portB.VStart|transformer.portB.iStart.im|transformer.portB.iStart.re|transformer.portB.portVariablesPhases|transformer.portB.vStart.im|transformer.portB.vStart.re|transformer.portVariablesPhases|transformer.rFixed|transformer.thetaFixed|transformer.vA.im|transformer.vA.re|transformer.vB.im|transformer.vB.re",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio") translateModel(PowerGrids.Electrical.Test.TestTransformerFixedRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="infiniteBus.ERef|infiniteBus.PStart|infiniteBus.QStart|infiniteBus.R|infiniteBus.SNom|infiniteBus.UNom|infiniteBus.UPhaseStart|infiniteBus.URef|infiniteBus.UStart|infiniteBus.X|infiniteBus.Z.im|infiniteBus.Z.re|infiniteBus.localInit|infiniteBus.port.IBase|infiniteBus.port.IStart|infiniteBus.port.PStart|infiniteBus.port.QStart|infiniteBus.port.SBase|infiniteBus.port.SNom|infiniteBus.port.UBase|infiniteBus.port.UNom|infiniteBus.port.UPhaseStart|infiniteBus.port.UStart|infiniteBus.port.VBase|infiniteBus.port.VStart|infiniteBus.port.i.im|infiniteBus.port.i.re|infiniteBus.port.iStart.im|infiniteBus.port.iStart.re|infiniteBus.port.portVariablesPhases|infiniteBus.port.v.im|infiniteBus.port.v.re|infiniteBus.port.vStart.im|infiniteBus.port.vStart.re|infiniteBus.portVariablesPhases|infiniteBus.theta|loadPQ.PRef|loadPQ.PRefConst|loadPQ.PStart|loadPQ.QRef|loadPQ.QRefConst|loadPQ.QStart|loadPQ.SNom|loadPQ.UNom|loadPQ.UPhaseStart|loadPQ.URef|loadPQ.UStart|loadPQ.alpha|loadPQ.beta|loadPQ.localInit|loadPQ.port.IBase|loadPQ.port.IStart|loadPQ.port.PStart|loadPQ.port.QStart|loadPQ.port.SBase|loadPQ.port.SNom|loadPQ.port.UBase|loadPQ.port.UNom|loadPQ.port.UPhaseStart|loadPQ.port.UStart|loadPQ.port.VBase|loadPQ.port.VStart|loadPQ.port.i.im|loadPQ.port.i.re|loadPQ.port.iStart.im|loadPQ.port.iStart.re|loadPQ.port.portVariablesPhases|loadPQ.port.v.im|loadPQ.port.v.re|loadPQ.port.vStart.im|loadPQ.port.vStart.re|loadPQ.portVariablesPhases|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time|transformer.B|transformer.G|transformer.PStartA|transformer.PStartB|transformer.QStartA|transformer.QStartB|transformer.R|transformer.SNom|transformer.UNomA|transformer.UNomB|transformer.UPhaseStartA|transformer.UPhaseStartB|transformer.UStartA|transformer.UStartB|transformer.X|transformer.YB.im|transformer.YB.re|transformer.computePowerBalance|transformer.iA.im|transformer.iA.re|transformer.iB.im|transformer.iB.re|transformer.portA.IBase|transformer.portA.IStart|transformer.portA.PStart|transformer.portA.QStart|transformer.portA.SBase|transformer.portA.SNom|transformer.portA.UBase|transformer.portA.UNom|transformer.portA.UPhaseStart|transformer.portA.UStart|transformer.portA.VBase|transformer.portA.VStart|transformer.portA.iStart.im|transformer.portA.iStart.re|transformer.portA.portVariablesPhases|transformer.portA.vStart.im|transformer.portA.vStart.re|transformer.portB.IBase|transformer.portB.IStart|transformer.portB.PStart|transformer.portB.QStart|transformer.portB.SBase|transformer.portB.SNom|transformer.portB.UBase|transformer.portB.UNom|transformer.portB.UPhaseStart|transformer.portB.UStart|transformer.portB.VBase|transformer.portB.VStart|transformer.portB.iStart.im|transformer.portB.iStart.re|transformer.portB.portVariablesPhases|transformer.portB.vStart.im|transformer.portB.vStart.re|transformer.portVariablesPhases|transformer.rFixed|transformer.thetaFixed|transformer.vA.im|transformer.vA.re|transformer.vB.im|transformer.vB.re",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 107.2 kB / 16.42 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 190 kB / 17.36 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06472/0.06472, allocations: 14.17 MB / 284.8 MB, free: 13.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.652e-05, allocations: 3.688 kB / 397.1 MB, free: 43.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.006576/0.006611, allocations: 7.148 MB / 404.3 MB, free: 38.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004972/0.0116, allocations: 3.54 MB / 407.8 MB, free: 35.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008118/0.01243, allocations: 12.56 kB / 407.8 MB, free: 35.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.01364, allocations: 413.4 kB / 408.2 MB, free: 35.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003386/0.01709, allocations: 1.604 MB / 409.8 MB, free: 34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009285/0.01803, allocations: 0.5739 MB / 410.4 MB, free: 33.56 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002737/0.02077, allocations: 2.156 MB / 412.6 MB, free: 32.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.021, allocations: 109.5 kB / 412.7 MB, free: 32.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006875/0.0217, allocations: 0.651 MB / 413.3 MB, free: 31.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005902/0.0223, allocations: 0.7197 MB / 414 MB, free: 30.83 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.871e-05/0.02238, allocations: 40 kB / 414.1 MB, free: 30.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009591/0.02334, allocations: 423.7 kB / 414.5 MB, free: 30.38 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0008891/0.02424, allocations: 2.065 MB / 416.6 MB, free: 28.29 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004311/0.02468, allocations: 1.274 MB / 417.8 MB, free: 27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.02481, allocations: 155.6 kB / 418 MB, free: 26.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001995/0.02502, allocations: 87.89 kB / 418.1 MB, free: 26.76 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 (129) * Number of variables: 183 (183) Notification: Performance of Bindings: time 0.003698/0.02872, allocations: 6.512 MB / 424.6 MB, free: 20.06 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002623/0.02899, allocations: 415.3 kB / 425 MB, free: 19.66 MB / 318.1 MB Notification: Performance of Early Inline: time 0.002258/0.03126, allocations: 3.415 MB / 428.4 MB, free: 16.2 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001201/0.03139, allocations: 199.8 kB / 428.6 MB, free: 16 MB / 318.1 MB Notification: Performance of Alias: time 0.002285/0.03368, allocations: 2.72 MB / 431.3 MB, free: 13 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001067/0.0338, allocations: 183.8 kB / 431.5 MB, free: 12.82 MB / 318.1 MB Notification: Performance of Detect States: time 0.0003692/0.03418, allocations: 0.5804 MB / 432.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of Events: time 0.0001078/0.03429, allocations: 163.9 kB / 432.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0007858/0.03509, allocations: 0.9964 MB / 433.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of Causalize: time 0.003669/0.03876, allocations: 4.367 MB / 437.6 MB, free: 6.617 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.001226/0.04, allocations: 1.835 MB / 439.4 MB, free: 4.742 MB / 318.1 MB Notification: Performance of Inline: time 0.003133/0.04315, allocations: 4.528 MB / 444 MB, free: 160 kB / 318.1 MB Notification: Performance of Partitioning: time 0.0003108/0.04347, allocations: 215.7 kB / 444.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Cleanup: time 0.0001251/0.0436, allocations: 151.8 kB / 444.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of Causalize: time 0.00665/0.05025, allocations: 5.964 MB / 450.3 MB, free: 9.758 MB / 334.1 MB Notification: Performance of Tearing: time 0.007471/0.05774, allocations: 6.308 MB / 456.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of Initialization: time 3.857e-06/0.05777, allocations: 0 / 456.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of Tearing: time 0.007343/0.06512, allocations: 6.273 MB / 462.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Categorize: time 4.593e-05/0.06519, allocations: 4 kB / 462.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Solve: time 0.001267/0.06646, allocations: 499.6 kB / 463.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Jacobian: time 6.212e-06/0.06648, allocations: 0 / 463.4 MB, free: 12.57 MB / 350.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 93 (scalar:93, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 134 (scalar:134, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 8.943e-05/0.06657, allocations: 51.05 kB / 463.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of SimCode: time 0.005494/0.07208, allocations: 4.931 MB / 468.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of Templates: time 0.02277/0.09487, allocations: 13.9 MB / 482.2 MB, free: 9.633 MB / 366.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTransformerFixedRatio_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches