Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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) 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(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 106.5 kB / 16.42 MB, free: 6.516 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.001143/0.001143, allocations: 187.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.454/1.454, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.401e-05, allocations: 2.281 kB / 327.2 MB, free: 3.332 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004242/0.004274, allocations: 3.401 MB / 330.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.005766, allocations: 0.8695 MB / 331.5 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.005962, allocations: 11.94 kB / 331.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.006185, allocations: 67.3 kB / 331.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.00649, allocations: 118.9 kB / 331.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.006796, allocations: 139.8 kB / 331.8 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005944/0.0074, allocations: 0.5643 MB / 332.4 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.007739, allocations: 182.1 kB / 332.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.007961, allocations: 203.1 kB / 332.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.008199, allocations: 203.1 kB / 332.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.129e-05/0.008278, allocations: 51.94 kB / 333 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.172e-05/0.008346, allocations: 44 kB / 333 MB, free: 13.46 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0005425/0.008893, allocations: 0.6991 MB / 333.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002601/0.009159, allocations: 445.4 kB / 334.2 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.381e-05/0.009249, allocations: 79.75 kB / 334.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.757e-05/0.009302, allocations: 15.94 kB / 334.3 MB, free: 12.21 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 (85) * Number of variables: 85 (84) Notification: Performance of Bindings: time 0.001843/0.01115, allocations: 2.078 MB / 336.3 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001656/0.01132, allocations: 114.9 kB / 336.5 MB, free: 9.91 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0009127/0.01224, allocations: 0.9873 MB / 337.4 MB, free: 8.898 MB / 286.1 MB Notification: Performance of simplify1: time 8.202e-05/0.01233, allocations: 87.88 kB / 337.5 MB, free: 8.812 MB / 286.1 MB Notification: Performance of Alias: time 0.001978/0.01432, allocations: 1.799 MB / 339.3 MB, free: 6.816 MB / 286.1 MB Notification: Performance of simplify2: time 5.45e-05/0.01438, allocations: 59.94 kB / 339.4 MB, free: 6.758 MB / 286.1 MB Notification: Performance of Events: time 0.0002236/0.01461, allocations: 172.9 kB / 339.6 MB, free: 6.59 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003367/0.01496, allocations: 304.3 kB / 339.8 MB, free: 6.277 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0003383/0.01531, allocations: 342 kB / 340.2 MB, free: 5.883 MB / 286.1 MB Notification: Performance of Causalize: time 0.001642/0.01696, allocations: 1.605 MB / 341.8 MB, free: 4.223 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006667/0.01763, allocations: 0.7075 MB / 342.5 MB, free: 3.488 MB / 286.1 MB Notification: Performance of Inline: time 0.00128/0.01892, allocations: 1.334 MB / 343.8 MB, free: 2.113 MB / 286.1 MB Notification: Performance of Partitioning: time 8.98e-05/0.01902, allocations: 83.61 kB / 343.9 MB, free: 2.023 MB / 286.1 MB Notification: Performance of Cleanup: time 5.528e-05/0.01908, allocations: 63.88 kB / 344 MB, free: 1.961 MB / 286.1 MB Notification: Performance of Causalize: time 0.003835/0.02292, allocations: 4.122 MB / 348.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of Tearing: time 0.0005196/0.02346, allocations: 0.4978 MB / 348.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of Initialization: time 4.51e-07/0.02347, allocations: 0 / 348.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004543/0.02393, allocations: 0.5142 MB / 349.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of Categorize: time 1.676e-05/0.02395, allocations: 0 / 349.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of Solve: time 0.0003247/0.02428, allocations: 206 kB / 349.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of Jacobian: time 0.000562/0.02485, allocations: 0.5789 MB / 349.9 MB, free: 12.01 MB / 302.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: ......... 7 * 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: ............................. 3 (3) {meanVoltage.x, rootMeanSquareVoltage.mean.x, meanCurrent.x} * Number of discrete states: .................... 3 (3) {meanCurrent.y, rootMeanSquareVoltage.mean.y, meanVoltage.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 13 (13) {rectifier.diode_p.off, rectifier.diode_n.off, $SEV_2, $SEV_1, $SEV_0, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $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: ........... 33 (scalar:33, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 79 (scalar:79, 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.0001248/0.02499, allocations: 42.59 kB / 349.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of SimCode: time 0.001853/0.02684, allocations: 2.227 MB / 352.2 MB, free: 9.707 MB / 302.1 MB Error: Template error: A template call failed (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null)). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates assert pure 'match'/non-failing semantics). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SerializeModelInfo.mo:116:9-116:84:writable] Error: Internal error SerializeModelInfo.serialize failed [CodegenCFunctions.tpl:5962:14-5962:14:writable] Error: Template error: daeExpLbinary:ERR.