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.001202/0.001202, allocations: 106 kB / 16.42 MB, free: 6.512 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: 192.2 kB / 17.35 MB, free: 5.754 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.652/1.652, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05999/0.05999, allocations: 14.18 MB / 284.8 MB, free: 13.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/2.849e-05, allocations: 2.281 kB / 397.1 MB, free: 43.9 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.00771/0.007747, allocations: 7.151 MB / 404.3 MB, free: 38.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006741/0.01453, allocations: 3.53 MB / 407.8 MB, free: 35.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.01589, allocations: 13.19 kB / 407.8 MB, free: 35.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.01731, allocations: 413.5 kB / 408.2 MB, free: 35.33 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004367/0.02176, allocations: 1.563 MB / 409.8 MB, free: 34.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.0228, allocations: 0.5718 MB / 410.3 MB, free: 33.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00336/0.02617, allocations: 2.153 MB / 412.5 MB, free: 32.35 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/0.02651, allocations: 113.8 kB / 412.6 MB, free: 32.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.02779, allocations: 0.6514 MB / 413.3 MB, free: 31.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006925/0.0285, allocations: 0.7119 MB / 414 MB, free: 30.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.439e-05/0.02857, allocations: 40 kB / 414 MB, free: 30.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.02983, allocations: 431.7 kB / 414.4 MB, free: 30.47 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001075/0.03092, allocations: 2.061 MB / 416.5 MB, free: 28.39 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005295/0.03146, allocations: 1.282 MB / 417.8 MB, free: 27.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.03165, allocations: 155.6 kB / 417.9 MB, free: 26.94 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002775/0.03193, allocations: 79.91 kB / 418 MB, free: 26.86 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.004374/0.03631, allocations: 6.515 MB / 424.5 MB, free: 20.16 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0003095/0.03663, allocations: 415.3 kB / 424.9 MB, free: 19.75 MB / 318.1 MB Notification: Performance of Early Inline: time 0.002632/0.03927, allocations: 3.415 MB / 428.3 MB, free: 16.29 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001367/0.03942, allocations: 195.8 kB / 428.5 MB, free: 16.1 MB / 318.1 MB Notification: Performance of Alias: time 0.002471/0.0419, allocations: 2.716 MB / 431.3 MB, free: 13.1 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001418/0.04205, allocations: 179.8 kB / 431.4 MB, free: 12.93 MB / 318.1 MB Notification: Performance of Events: time 0.0001095/0.04217, allocations: 167.7 kB / 431.6 MB, free: 12.76 MB / 318.1 MB Notification: Performance of Detect States: time 0.0007434/0.04292, allocations: 0.5839 MB / 432.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of Partitioning: time 0.001007/0.04394, allocations: 0.9925 MB / 433.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of Causalize: time 0.004006/0.04796, allocations: 4.367 MB / 437.5 MB, free: 6.719 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.001368/0.04933, allocations: 1.834 MB / 439.4 MB, free: 4.844 MB / 318.1 MB Notification: Performance of Inline: time 0.003418/0.05276, allocations: 4.443 MB / 443.8 MB, free: 352 kB / 318.1 MB Notification: Performance of Partitioning: time 0.0001965/0.05297, allocations: 215.6 kB / 444 MB, free: 124 kB / 318.1 MB Notification: Performance of Cleanup: time 0.00013/0.05311, allocations: 155.9 kB / 444.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of Causalize: time 0.007653/0.06077, allocations: 5.964 MB / 450.1 MB, free: 9.941 MB / 334.1 MB Notification: Performance of Tearing: time 0.002725/0.06353, allocations: 2.156 MB / 452.3 MB, free: 7.738 MB / 334.1 MB Notification: Performance of Initialization: time 1.573e-06/0.06356, allocations: 0 / 452.3 MB, free: 7.738 MB / 334.1 MB Notification: Performance of Tearing: time 0.002389/0.06596, allocations: 2.175 MB / 454.5 MB, free: 5.512 MB / 334.1 MB Notification: Performance of Categorize: time 5.553e-05/0.06603, allocations: 11.92 kB / 454.5 MB, free: 5.5 MB / 334.1 MB Notification: Performance of Solve: time 0.001261/0.0673, allocations: 0.4918 MB / 455 MB, free: 5 MB / 334.1 MB Notification: Performance of Jacobian: time 6.142e-06/0.06732, allocations: 0 / 455 MB, free: 5 MB / 334.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: 0, nonlinear:1) 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: 0, nonlinear:1) Notification: Performance of backend: time 0.0001069/0.06743, allocations: 40.73 kB / 455 MB, free: 4.961 MB / 334.1 MB Notification: Performance of SimCode: time 0.006295/0.07374, allocations: 4.884 MB / 459.9 MB, free: 8 kB / 334.1 MB Notification: Performance of Templates: time 0.0301/0.1039, allocations: 14.44 MB / 474.3 MB, free: 1.574 MB / 350.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