Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.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.TestTerminalVoltageTransducerIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="I.k.im|I.k.re|I.y.im|I.y.re|V.k.im|V.k.re|V.y.im|V.y.re|terminalVoltageTransducer.It.im|terminalVoltageTransducer.It.re|terminalVoltageTransducer.Rc|terminalVoltageTransducer.Tr|terminalVoltageTransducer.Vc|terminalVoltageTransducer.Vt.im|terminalVoltageTransducer.Vt.re|terminalVoltageTransducer.Xc|terminalVoltageTransducer.add1.k1.im|terminalVoltageTransducer.add1.k1.re|terminalVoltageTransducer.add1.k2.im|terminalVoltageTransducer.add1.k2.re|terminalVoltageTransducer.add1.u1.im|terminalVoltageTransducer.add1.u1.re|terminalVoltageTransducer.add1.useConjugateInput1|terminalVoltageTransducer.add1.useConjugateInput2|terminalVoltageTransducer.complexToPolar.useConjugateInput|terminalVoltageTransducer.constRc.k|terminalVoltageTransducer.constRc.y|terminalVoltageTransducer.constXc.k|terminalVoltageTransducer.constXc.y|terminalVoltageTransducer.constZc.im|terminalVoltageTransducer.constZc.re|terminalVoltageTransducer.constZc.y.im|terminalVoltageTransducer.constZc.y.re|terminalVoltageTransducer.firstOrder.T|terminalVoltageTransducer.firstOrder.initType|terminalVoltageTransducer.firstOrder.k|terminalVoltageTransducer.firstOrder.y|terminalVoltageTransducer.firstOrder.y_start|terminalVoltageTransducer.initType|terminalVoltageTransducer.prod1.u1.im|terminalVoltageTransducer.prod1.u1.re|terminalVoltageTransducer.prod1.u2.im|terminalVoltageTransducer.prod1.u2.re|terminalVoltageTransducer.prod1.useConjugateInput1|terminalVoltageTransducer.prod1.useConjugateInput2|terminalVoltageTransducer.yStart|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE") translateModel(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="I.k.im|I.k.re|I.y.im|I.y.re|V.k.im|V.k.re|V.y.im|V.y.re|terminalVoltageTransducer.It.im|terminalVoltageTransducer.It.re|terminalVoltageTransducer.Rc|terminalVoltageTransducer.Tr|terminalVoltageTransducer.Vc|terminalVoltageTransducer.Vt.im|terminalVoltageTransducer.Vt.re|terminalVoltageTransducer.Xc|terminalVoltageTransducer.add1.k1.im|terminalVoltageTransducer.add1.k1.re|terminalVoltageTransducer.add1.k2.im|terminalVoltageTransducer.add1.k2.re|terminalVoltageTransducer.add1.u1.im|terminalVoltageTransducer.add1.u1.re|terminalVoltageTransducer.add1.useConjugateInput1|terminalVoltageTransducer.add1.useConjugateInput2|terminalVoltageTransducer.complexToPolar.useConjugateInput|terminalVoltageTransducer.constRc.k|terminalVoltageTransducer.constRc.y|terminalVoltageTransducer.constXc.k|terminalVoltageTransducer.constXc.y|terminalVoltageTransducer.constZc.im|terminalVoltageTransducer.constZc.re|terminalVoltageTransducer.constZc.y.im|terminalVoltageTransducer.constZc.y.re|terminalVoltageTransducer.firstOrder.T|terminalVoltageTransducer.firstOrder.initType|terminalVoltageTransducer.firstOrder.k|terminalVoltageTransducer.firstOrder.y|terminalVoltageTransducer.firstOrder.y_start|terminalVoltageTransducer.initType|terminalVoltageTransducer.prod1.u1.im|terminalVoltageTransducer.prod1.u1.re|terminalVoltageTransducer.prod1.u2.im|terminalVoltageTransducer.prod1.u2.re|terminalVoltageTransducer.prod1.useConjugateInput1|terminalVoltageTransducer.prod1.useConjugateInput2|terminalVoltageTransducer.yStart|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.001141/0.001141, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.159/1.159, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05829/0.05829, allocations: 14.16 MB / 284.8 MB, free: 13.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/1.904e-05, allocations: 2.281 kB / 399.2 MB, free: 42.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.0024/0.002428, allocations: 1.922 MB / 401.2 MB, free: 41.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005975/0.003038, allocations: 377.4 kB / 401.5 MB, free: 41.08 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.194e-05/0.003141, allocations: 4.5 kB / 401.5 MB, free: 41.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.003358, allocations: 67.02 kB / 401.6 MB, free: 41.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.003496, allocations: 46.7 kB / 401.6 MB, free: 41.01 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.003926, allocations: 216.9 kB / 401.8 MB, free: 40.88 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.004237, allocations: 222.8 kB / 402.1 MB, free: 40.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.004404, allocations: 86.39 kB / 402.1 MB, free: 40.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.372e-05/0.004464, allocations: 65.89 kB / 402.2 MB, free: 40.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.423e-05/0.004554, allocations: 87.5 kB / 402.3 MB, free: 40.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.004585, allocations: 23.09 kB / 402.3 MB, free: 40.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.004696, allocations: 57.48 kB / 402.4 MB, free: 40.59 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001411/0.004843, allocations: 331.6 kB / 402.7 MB, free: 40.33 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 7.268e-05/0.004922, allocations: 249 kB / 402.9 MB, free: 40.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.004949, allocations: 21.16 kB / 403 MB, free: 40.13 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.208e-05/0.004976, allocations: 8.062 kB / 403 MB, free: 40.13 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: 41 (32) * Number of variables: 41 (41) Notification: Performance of Bindings: time 0.0008012/0.005782, allocations: 1.365 MB / 404.3 MB, free: 39.01 MB / 318.1 MB Notification: Performance of FunctionAlias: time 9.132e-05/0.00588, allocations: 103.6 kB / 404.4 MB, free: 38.93 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0004852/0.006371, allocations: 0.7026 MB / 405.1 MB, free: 38.36 MB / 318.1 MB Notification: Performance of simplify1: time 2.73e-05/0.006407, allocations: 38.98 kB / 405.2 MB, free: 38.33 MB / 318.1 MB Notification: Performance of Alias: time 0.0005983/0.00701, allocations: 0.6219 MB / 405.8 MB, free: 37.84 MB / 318.1 MB Notification: Performance of simplify2: time 2.613e-05/0.007047, allocations: 38.7 kB / 405.8 MB, free: 37.81 MB / 318.1 MB Notification: Performance of Events: time 2.534e-05/0.007077, allocations: 43.47 kB / 405.9 MB, free: 37.77 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001383/0.00722, allocations: 163.6 kB / 406 MB, free: 37.63 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002004/0.007428, allocations: 242 kB / 406.3 MB, free: 37.48 MB / 318.1 MB Notification: Performance of Causalize: time 0.0009767/0.008411, allocations: 1.035 MB / 407.3 MB, free: 37.03 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002641/0.008683, allocations: 456.2 kB / 407.8 MB, free: 36.65 MB / 318.1 MB Notification: Performance of Inline: time 0.0006802/0.009369, allocations: 0.95 MB / 408.7 MB, free: 35.89 MB / 318.1 MB Notification: Performance of Partitioning: time 4.744e-05/0.009428, allocations: 60.8 kB / 408.8 MB, free: 35.84 MB / 318.1 MB Notification: Performance of Cleanup: time 1.865e-05/0.009453, allocations: 38.34 kB / 408.8 MB, free: 35.81 MB / 318.1 MB Notification: Performance of Causalize: time 0.001054/0.01051, allocations: 1.44 MB / 410.2 MB, free: 34.36 MB / 318.1 MB Notification: Performance of Tearing: time 4.599e-06/0.01053, allocations: 4 kB / 410.2 MB, free: 34.36 MB / 318.1 MB Notification: Performance of Initialization: time 3.1e-07/0.01053, allocations: 0 / 410.2 MB, free: 34.36 MB / 318.1 MB Notification: Performance of Tearing: time 1.222e-06/0.01054, allocations: 0 / 410.2 MB, free: 34.36 MB / 318.1 MB Notification: Performance of Categorize: time 6.873e-06/0.01055, allocations: 0 / 410.2 MB, free: 34.36 MB / 318.1 MB Notification: Performance of Solve: time 0.0001425/0.01069, allocations: 117.6 kB / 410.4 MB, free: 34.24 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0002683/0.01097, allocations: 488.3 kB / 410.8 MB, free: 33.73 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: ............... 1 * 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: ............................. 1 (1) {terminalVoltageTransducer.firstOrder.y} * 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: ........... 25 (scalar:25, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:6) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 38 (scalar:38, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:6) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.635e-05/0.011, allocations: 28.64 kB / 410.9 MB, free: 33.71 MB / 318.1 MB Notification: Performance of SimCode: time 0.0006728/0.01168, allocations: 1.446 MB / 412.3 MB, free: 32.23 MB / 318.1 MB Notification: Performance of Templates: time 0.003616/0.01531, allocations: 1.936 MB / 414.2 MB, free: 30.31 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:I.k.im,I.k.re,I.y.im,I.y.re,V.k.im,V.k.re,V.y.im,V.y.re,terminalVoltageTransducer.It.im,terminalVoltageTransducer.It.re,terminalVoltageTransducer.Rc,terminalVoltageTransducer.Tr,terminalVoltageTransducer.Vc,terminalVoltageTransducer.Vt.im,terminalVoltageTransducer.Vt.re,terminalVoltageTransducer.Xc,terminalVoltageTransducer.add1.k1.im,terminalVoltageTransducer.add1.k1.re,terminalVoltageTransducer.add1.k2.im,terminalVoltageTransducer.add1.k2.re,terminalVoltageTransducer.add1.u1.im,terminalVoltageTransducer.add1.u1.re,terminalVoltageTransducer.add1.useConjugateInput1,terminalVoltageTransducer.add1.useConjugateInput2,terminalVoltageTransducer.complexToPolar.useConjugateInput,terminalVoltageTransducer.constRc.k,terminalVoltageTransducer.constRc.y,terminalVoltageTransducer.constXc.k,terminalVoltageTransducer.constXc.y,terminalVoltageTransducer.constZc.im,terminalVoltageTransducer.constZc.re,terminalVoltageTransducer.constZc.y.im,terminalVoltageTransducer.constZc.y.re,terminalVoltageTransducer.firstOrder.T,terminalVoltageTransducer.firstOrder.initType,terminalVoltageTransducer.firstOrder.k,terminalVoltageTransducer.firstOrder.y,terminalVoltageTransducer.firstOrder.y_start,terminalVoltageTransducer.initType,terminalVoltageTransducer.prod1.u1.im,terminalVoltageTransducer.prod1.u1.re,terminalVoltageTransducer.prod1.u2.im,terminalVoltageTransducer.prod1.u2.re,terminalVoltageTransducer.prod1.useConjugateInput1,terminalVoltageTransducer.prod1.useConjugateInput2,terminalVoltageTransducer.yStart,time Variables in the result:I.k.im,I.k.re,I.y.im,I.y.re,V.k.im,V.k.re,V.y.im,V.y.re,terminalVoltageTransducer.It.im,terminalVoltageTransducer.It.re,terminalVoltageTransducer.Rc,terminalVoltageTransducer.Tr,terminalVoltageTransducer.Vc,terminalVoltageTransducer.Vt.im,terminalVoltageTransducer.Vt.re,terminalVoltageTransducer.Xc,terminalVoltageTransducer.add1.k1.im,terminalVoltageTransducer.add1.k1.re,terminalVoltageTransducer.add1.k2.im,terminalVoltageTransducer.add1.k2.re,terminalVoltageTransducer.add1.u1.im,terminalVoltageTransducer.add1.u1.re,terminalVoltageTransducer.add1.useConjugateInput1,terminalVoltageTransducer.add1.useConjugateInput2,terminalVoltageTransducer.complexToPolar.useConjugateInput,terminalVoltageTransducer.constRc.k,terminalVoltageTransducer.constRc.y,terminalVoltageTransducer.constXc.k,terminalVoltageTransducer.constXc.y,terminalVoltageTransducer.constZc.im,terminalVoltageTransducer.constZc.re,terminalVoltageTransducer.constZc.y.im,terminalVoltageTransducer.constZc.y.re,terminalVoltageTransducer.firstOrder.T,terminalVoltageTransducer.firstOrder.initType,terminalVoltageTransducer.firstOrder.k,terminalVoltageTransducer.firstOrder.y,terminalVoltageTransducer.firstOrder.y_start,terminalVoltageTransducer.initType,terminalVoltageTransducer.prod1.u1.im,terminalVoltageTransducer.prod1.u1.re,terminalVoltageTransducer.prod1.u2.im,terminalVoltageTransducer.prod1.u2.re,terminalVoltageTransducer.prod1.useConjugateInput1,terminalVoltageTransducer.prod1.useConjugateInput2,terminalVoltageTransducer.yStart,time