Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.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.OneBusOneLoad,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.i.im|infiniteBus.i.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|infiniteBus.v.im|infiniteBus.v.re|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",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusOneLoad,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.i.im|infiniteBus.i.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|infiniteBus.v.im|infiniteBus.v.re|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",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009617/0.0009616, allocations: 110.8 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.0009895/0.0009896, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.24/1.24, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05621/0.05621, allocations: 14.17 MB / 284.8 MB, free: 13.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.843e-05, allocations: 4.531 kB / 397.1 MB, free: 44.08 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.003565/0.003591, allocations: 4.165 MB / 401.3 MB, free: 41.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002706/0.00631, allocations: 2.46 MB / 403.7 MB, free: 39.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/0.006665, allocations: 7.438 kB / 403.7 MB, free: 39.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005687/0.007241, allocations: 239 kB / 404 MB, free: 38.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.009104, allocations: 1.113 MB / 405.1 MB, free: 38.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.009525, allocations: 246.4 kB / 405.3 MB, free: 37.88 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008357/0.01037, allocations: 1.084 MB / 406.4 MB, free: 37.22 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.0105, allocations: 60.59 kB / 406.5 MB, free: 37.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.01079, allocations: 348.9 kB / 406.8 MB, free: 36.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.0111, allocations: 355.3 kB / 407.2 MB, free: 36.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.01114, allocations: 21.25 kB / 407.2 MB, free: 36.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004999/0.01165, allocations: 292.7 kB / 407.5 MB, free: 36.64 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005617/0.01222, allocations: 1.002 MB / 408.5 MB, free: 35.92 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002482/0.01247, allocations: 0.6169 MB / 409.1 MB, free: 35.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.462e-05/0.01255, allocations: 78.66 kB / 409.2 MB, free: 35.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.74e-05/0.01265, allocations: 44.06 kB / 409.2 MB, free: 35.4 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: 83 (62) * Number of variables: 83 (83) Notification: Performance of Bindings: time 0.001742/0.0144, allocations: 3.131 MB / 412.3 MB, free: 32.53 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001065/0.01452, allocations: 135.6 kB / 412.5 MB, free: 32.4 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0008915/0.01541, allocations: 1.467 MB / 413.9 MB, free: 30.9 MB / 318.1 MB Notification: Performance of simplify1: time 4.6e-05/0.01547, allocations: 83.91 kB / 414 MB, free: 30.82 MB / 318.1 MB Notification: Performance of Alias: time 0.001023/0.0165, allocations: 1.371 MB / 415.4 MB, free: 29.29 MB / 318.1 MB Notification: Performance of simplify2: time 4.134e-05/0.01655, allocations: 71.92 kB / 415.5 MB, free: 29.22 MB / 318.1 MB Notification: Performance of Events: time 3.748e-05/0.01659, allocations: 71.89 kB / 415.5 MB, free: 29.15 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001624/0.01676, allocations: 281.5 kB / 415.8 MB, free: 28.86 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0003003/0.01707, allocations: 433.5 kB / 416.2 MB, free: 28.43 MB / 318.1 MB Notification: Performance of Causalize: time 0.001409/0.01848, allocations: 1.908 MB / 418.1 MB, free: 26.5 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004464/0.01893, allocations: 0.7884 MB / 418.9 MB, free: 25.69 MB / 318.1 MB Notification: Performance of Inline: time 0.001349/0.02029, allocations: 2.046 MB / 421 MB, free: 23.61 MB / 318.1 MB Notification: Performance of Partitioning: time 7.759e-05/0.02038, allocations: 115.6 kB / 421.1 MB, free: 23.48 MB / 318.1 MB Notification: Performance of Cleanup: time 3.585e-05/0.02042, allocations: 63.94 kB / 421.2 MB, free: 23.42 MB / 318.1 MB Notification: Performance of Causalize: time 0.002047/0.02247, allocations: 2.738 MB / 423.9 MB, free: 20.67 MB / 318.1 MB Notification: Performance of Tearing: time 0.000674/0.02315, allocations: 1.035 MB / 424.9 MB, free: 19.59 MB / 318.1 MB Notification: Performance of Initialization: time 7.82e-07/0.02316, allocations: 0 / 424.9 MB, free: 19.59 MB / 318.1 MB Notification: Performance of Tearing: time 0.0006199/0.02379, allocations: 1.041 MB / 426 MB, free: 18.5 MB / 318.1 MB Notification: Performance of Categorize: time 1.482e-05/0.02381, allocations: 4 kB / 426 MB, free: 18.5 MB / 318.1 MB Notification: Performance of Solve: time 0.0002947/0.02411, allocations: 237.9 kB / 426.2 MB, free: 18.27 MB / 318.1 MB Notification: Performance of Jacobian: time 3.817e-06/0.02413, allocations: 0 / 426.2 MB, free: 18.27 MB / 318.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: ........... 41 (scalar:41, 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: ........... 65 (scalar:65, 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 5.815e-05/0.02419, allocations: 28.72 kB / 426.2 MB, free: 18.24 MB / 318.1 MB Notification: Performance of SimCode: time 0.00232/0.02651, allocations: 2.791 MB / 429 MB, free: 15.41 MB / 318.1 MB Notification: Performance of Templates: time 0.009832/0.03636, allocations: 7.503 MB / 436.5 MB, free: 7.91 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusOneLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches