Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.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.OneBusImpedanceVariableVoltageOneLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=600,variableFilter="UMod.height|UMod.offset|UMod.startTime|UPhase.height|UPhase.offset|UPhase.startTime|bus1.PStart|bus1.QStart|bus1.R|bus1.SNom|bus1.UFixed|bus1.UNom|bus1.UPhaseStart|bus1.UStart|bus1.X|bus1.Z.im|bus1.Z.re|bus1.i.im|bus1.i.re|bus1.localInit|bus1.port.IBase|bus1.port.IStart|bus1.port.PStart|bus1.port.QStart|bus1.port.SBase|bus1.port.SNom|bus1.port.UBase|bus1.port.UNom|bus1.port.UPhaseStart|bus1.port.UStart|bus1.port.VBase|bus1.port.VStart|bus1.port.i.im|bus1.port.i.re|bus1.port.iStart.im|bus1.port.iStart.re|bus1.port.portVariablesPhases|bus1.port.v.im|bus1.port.v.re|bus1.port.vStart.im|bus1.port.vStart.re|bus1.portVariablesPhases|bus1.thetaFixed|bus1.useThetaIn|bus1.useUIn|bus1.v.im|bus1.v.re|load1.PRef|load1.PRefConst|load1.PStart|load1.QRef|load1.QRefConst|load1.QStart|load1.SNom|load1.UNom|load1.UPhaseStart|load1.URef|load1.UStart|load1.alpha|load1.beta|load1.localInit|load1.port.IBase|load1.port.IStart|load1.port.PStart|load1.port.QStart|load1.port.SBase|load1.port.SNom|load1.port.UBase|load1.port.UNom|load1.port.UPhaseStart|load1.port.UStart|load1.port.VBase|load1.port.VStart|load1.port.i.im|load1.port.i.re|load1.port.iStart.im|load1.port.iStart.re|load1.port.portVariablesPhases|load1.port.v.im|load1.port.v.re|load1.port.vStart.im|load1.port.vStart.re|load1.portVariablesPhases|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=600,variableFilter="UMod.height|UMod.offset|UMod.startTime|UPhase.height|UPhase.offset|UPhase.startTime|bus1.PStart|bus1.QStart|bus1.R|bus1.SNom|bus1.UFixed|bus1.UNom|bus1.UPhaseStart|bus1.UStart|bus1.X|bus1.Z.im|bus1.Z.re|bus1.i.im|bus1.i.re|bus1.localInit|bus1.port.IBase|bus1.port.IStart|bus1.port.PStart|bus1.port.QStart|bus1.port.SBase|bus1.port.SNom|bus1.port.UBase|bus1.port.UNom|bus1.port.UPhaseStart|bus1.port.UStart|bus1.port.VBase|bus1.port.VStart|bus1.port.i.im|bus1.port.i.re|bus1.port.iStart.im|bus1.port.iStart.re|bus1.port.portVariablesPhases|bus1.port.v.im|bus1.port.v.re|bus1.port.vStart.im|bus1.port.vStart.re|bus1.portVariablesPhases|bus1.thetaFixed|bus1.useThetaIn|bus1.useUIn|bus1.v.im|bus1.v.re|load1.PRef|load1.PRefConst|load1.PStart|load1.QRef|load1.QRefConst|load1.QStart|load1.SNom|load1.UNom|load1.UPhaseStart|load1.URef|load1.UStart|load1.alpha|load1.beta|load1.localInit|load1.port.IBase|load1.port.IStart|load1.port.PStart|load1.port.QStart|load1.port.SBase|load1.port.SNom|load1.port.UBase|load1.port.UNom|load1.port.UPhaseStart|load1.port.UStart|load1.port.VBase|load1.port.VStart|load1.port.i.im|load1.port.i.re|load1.port.iStart.im|load1.port.iStart.re|load1.port.portVariablesPhases|load1.port.v.im|load1.port.v.re|load1.port.vStart.im|load1.port.vStart.re|load1.portVariablesPhases|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.referenceFrequency|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 105.6 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.002074/0.002074, 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.212/1.212, 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.05668/0.05668, allocations: 14.16 MB / 284.8 MB, free: 13.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/2.843e-05, allocations: 2.844 kB / 397.1 MB, free: 43.94 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.004949/0.004987, allocations: 4.308 MB / 401.4 MB, free: 40.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003549/0.008549, allocations: 2.489 MB / 403.9 MB, free: 38.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.008798, allocations: 18.75 kB / 403.9 MB, free: 38.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005169/0.009321, allocations: 239.1 kB / 404.2 MB, free: 38.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.01113, allocations: 1.113 MB / 405.3 MB, free: 37.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.01151, allocations: 261.7 kB / 405.5 MB, free: 37.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008969/0.01242, allocations: 1.113 MB / 406.6 MB, free: 36.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.01257, allocations: 78.14 kB / 406.7 MB, free: 36.9 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.01289, allocations: 360.4 kB / 407.1 MB, free: 36.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.01319, allocations: 374.5 kB / 407.4 MB, free: 36.44 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.801e-05/0.01325, allocations: 24.88 kB / 407.5 MB, free: 36.44 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004777/0.01373, allocations: 298.9 kB / 407.7 MB, free: 36.33 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005937/0.01434, allocations: 1.068 MB / 408.8 MB, free: 35.55 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002721/0.01461, allocations: 0.6588 MB / 409.5 MB, free: 35.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.797e-05/0.0147, allocations: 92.53 kB / 409.6 MB, free: 35.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001064/0.01481, allocations: 44.62 kB / 409.6 MB, free: 34.99 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: 89 (68) * Number of variables: 89 (89) Notification: Performance of Bindings: time 0.001828/0.01664, allocations: 3.298 MB / 412.9 MB, free: 31.86 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001261/0.01678, allocations: 159.6 kB / 413.1 MB, free: 31.7 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0009435/0.01773, allocations: 1.553 MB / 414.6 MB, free: 30.12 MB / 318.1 MB Notification: Performance of simplify1: time 5.268e-05/0.01779, allocations: 91.91 kB / 414.7 MB, free: 30.03 MB / 318.1 MB Notification: Performance of Alias: time 0.001111/0.01891, allocations: 1.47 MB / 416.2 MB, free: 28.39 MB / 318.1 MB Notification: Performance of simplify2: time 4.702e-05/0.01896, allocations: 79.91 kB / 416.3 MB, free: 28.32 MB / 318.1 MB Notification: Performance of Events: time 9.09e-05/0.01906, allocations: 103.9 kB / 416.4 MB, free: 28.21 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001851/0.01925, allocations: 301.5 kB / 416.7 MB, free: 27.9 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0003315/0.01959, allocations: 489.8 kB / 417.1 MB, free: 27.41 MB / 318.1 MB Notification: Performance of Causalize: time 0.001559/0.02116, allocations: 2.082 MB / 419.2 MB, free: 25.31 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005008/0.02167, allocations: 0.89 MB / 420.1 MB, free: 24.39 MB / 318.1 MB Notification: Performance of Inline: time 0.001318/0.02299, allocations: 2.195 MB / 422.3 MB, free: 22.17 MB / 318.1 MB Notification: Performance of Partitioning: time 7.968e-05/0.02308, allocations: 115.6 kB / 422.4 MB, free: 22.05 MB / 318.1 MB Notification: Performance of Cleanup: time 3.92e-05/0.02313, allocations: 67.94 kB / 422.5 MB, free: 21.98 MB / 318.1 MB Notification: Performance of Causalize: time 0.002181/0.02531, allocations: 2.92 MB / 425.4 MB, free: 19.05 MB / 318.1 MB Notification: Performance of Tearing: time 0.0006814/0.026, allocations: 1.027 MB / 426.4 MB, free: 17.97 MB / 318.1 MB Notification: Performance of Initialization: time 6.71e-07/0.02601, allocations: 0 / 426.4 MB, free: 17.97 MB / 318.1 MB Notification: Performance of Tearing: time 0.0005946/0.02661, allocations: 1.032 MB / 427.5 MB, free: 16.89 MB / 318.1 MB Notification: Performance of Categorize: time 1.168e-05/0.02663, allocations: 0 / 427.5 MB, free: 16.89 MB / 318.1 MB Notification: Performance of Solve: time 0.0002605/0.0269, allocations: 250.5 kB / 427.7 MB, free: 16.64 MB / 318.1 MB Notification: Performance of Jacobian: time 2.615e-06/0.02691, allocations: 0 / 427.7 MB, free: 16.64 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * 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: ................. 3 (3) {$SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 49 (scalar:49, 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: ........... 72 (scalar:72, 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 3.392e-05/0.02695, allocations: 34.34 kB / 427.7 MB, free: 16.61 MB / 318.1 MB Notification: Performance of SimCode: time 0.001824/0.02878, allocations: 3.019 MB / 430.8 MB, free: 13.56 MB / 318.1 MB Notification: Performance of Templates: time 0.009413/0.0382, allocations: 7.913 MB / 438.7 MB, free: 5.66 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches