Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_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_symb_jac_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.001598/0.001598, allocations: 112.6 kB / 17.11 MB, free: 5.988 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.001679/0.001679, allocations: 188.1 kB / 18.04 MB, free: 5.066 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.878/1.878, allocations: 205.1 MB / 223.9 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.07619/0.07619, allocations: 14.16 MB / 285.4 MB, free: 13.87 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.296e-05/4.296e-05, allocations: 2.844 kB / 399.9 MB, free: 42.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.005306/0.005361, allocations: 1.922 MB / 401.8 MB, free: 41.4 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.006551, allocations: 377.4 kB / 402.2 MB, free: 41.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003045/0.006869, allocations: 4.344 kB / 402.2 MB, free: 41.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00044/0.007317, allocations: 71.56 kB / 402.3 MB, free: 41.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004065/0.007734, allocations: 42.86 kB / 402.3 MB, free: 41.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000881/0.008679, allocations: 221.9 kB / 402.5 MB, free: 40.92 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006253/0.009314, allocations: 221.3 kB / 402.7 MB, free: 40.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003059/0.009631, allocations: 94.89 kB / 402.8 MB, free: 40.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.009767, allocations: 64.53 kB / 402.9 MB, free: 40.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.009916, allocations: 90.03 kB / 403 MB, free: 40.6 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.89e-05/0.009974, allocations: 24.62 kB / 403 MB, free: 40.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.01019, allocations: 56.42 kB / 403.1 MB, free: 40.57 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003122/0.01051, allocations: 331.8 kB / 403.4 MB, free: 40.32 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.00019/0.01071, allocations: 245.8 kB / 403.6 MB, free: 40.13 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.615e-05/0.01078, allocations: 21.34 kB / 403.7 MB, free: 40.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.984e-05/0.01087, allocations: 6.594 kB / 403.7 MB, free: 40.12 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.00201/0.01289, allocations: 1.366 MB / 405 MB, free: 39 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.000205/0.0131, allocations: 95.44 kB / 405.1 MB, free: 38.93 MB / 318.1 MB Notification: Performance of Early Inline: time 0.001011/0.01412, allocations: 0.7066 MB / 405.8 MB, free: 38.35 MB / 318.1 MB Notification: Performance of simplify1: time 5.46e-05/0.01419, allocations: 38.45 kB / 405.9 MB, free: 38.32 MB / 318.1 MB Notification: Performance of Alias: time 0.001194/0.01539, allocations: 0.6105 MB / 406.5 MB, free: 37.84 MB / 318.1 MB Notification: Performance of simplify2: time 4.434e-05/0.01544, allocations: 46.48 kB / 406.5 MB, free: 37.8 MB / 318.1 MB Notification: Performance of Detect States: time 0.0003053/0.01576, allocations: 165.7 kB / 406.7 MB, free: 37.66 MB / 318.1 MB Notification: Performance of Events: time 4.588e-05/0.01581, allocations: 35.3 kB / 406.7 MB, free: 37.63 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0003303/0.01615, allocations: 242.8 kB / 407 MB, free: 37.48 MB / 318.1 MB Notification: Performance of Causalize: time 0.001618/0.01778, allocations: 1.042 MB / 408 MB, free: 37.02 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004237/0.01821, allocations: 458.2 kB / 408.4 MB, free: 36.64 MB / 318.1 MB Notification: Performance of Inline: time 0.001239/0.01946, allocations: 0.9565 MB / 409.4 MB, free: 35.88 MB / 318.1 MB Notification: Performance of Partitioning: time 7.11e-05/0.01954, allocations: 66.73 kB / 409.5 MB, free: 35.83 MB / 318.1 MB Notification: Performance of Cleanup: time 3.245e-05/0.01958, allocations: 33.25 kB / 409.5 MB, free: 35.8 MB / 318.1 MB Notification: Performance of Causalize: time 0.001308/0.02089, allocations: 1.436 MB / 410.9 MB, free: 34.37 MB / 318.1 MB Notification: Performance of Tearing: time 1.22e-05/0.02092, allocations: 0 / 410.9 MB, free: 34.37 MB / 318.1 MB Notification: Performance of Initialization: time 3.41e-07/0.02093, allocations: 0 / 410.9 MB, free: 34.37 MB / 318.1 MB Notification: Performance of Tearing: time 2.845e-06/0.02093, allocations: 0 / 410.9 MB, free: 34.37 MB / 318.1 MB Notification: Performance of Categorize: time 1.031e-05/0.02095, allocations: 4 kB / 410.9 MB, free: 34.37 MB / 318.1 MB Notification: Performance of Solve: time 0.0001818/0.02114, allocations: 125.5 kB / 411.1 MB, free: 34.24 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0009809/0.02212, allocations: 0.9875 MB / 412 MB, free: 33.22 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 4.345e-05/0.02218, allocations: 29.53 kB / 412.1 MB, free: 33.19 MB / 318.1 MB Notification: Performance of SimCode: time 0.001582/0.02377, allocations: 1.708 MB / 413.8 MB, free: 31.46 MB / 318.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SerializeModelInfo.mo:116:9-116:84:writable] Error: Internal error SerializeModelInfo.serialize failed [CodegenCFunctions.tpl:2988:11-2988:11:writable] Error: Template error: Left hand side of an assignment is a record expression. Complex(0.0, 0.0).