Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001139/0.00114, allocations: 115.3 kB / 17.75 MB, free: 5.195 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.001086/0.001086, allocations: 189.9 kB / 18.68 MB, free: 4.27 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.281/1.281, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/1.968e-05, allocations: 5.234 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004033/0.004062, allocations: 3.401 MB / 331.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.005371, allocations: 0.8773 MB / 332.8 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.005528, allocations: 7.938 kB / 332.8 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.005722, allocations: 67.3 kB / 332.9 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.005988, allocations: 122.9 kB / 333 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.006268, allocations: 135.8 kB / 333.1 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004916/0.006768, allocations: 0.5721 MB / 333.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.007044, allocations: 186 kB / 333.9 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.007247, allocations: 195.2 kB / 334.1 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.007458, allocations: 207 kB / 334.3 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.504e-05/0.00752, allocations: 47.94 kB / 334.3 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.968e-05/0.007586, allocations: 48 kB / 334.4 MB, free: 13.44 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0004424/0.008033, allocations: 0.6991 MB / 335.1 MB, free: 12.73 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002196/0.008259, allocations: 441.4 kB / 335.5 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.246e-05/0.008347, allocations: 79.75 kB / 335.6 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.97e-05/0.008392, allocations: 19.94 kB / 335.6 MB, free: 12.2 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.001652/0.01005, allocations: 2.074 MB / 337.7 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001391/0.01019, allocations: 115 kB / 337.8 MB, free: 9.898 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0008293/0.01103, allocations: 0.9834 MB / 338.8 MB, free: 8.891 MB / 286.1 MB Notification: Performance of simplify1: time 8.991e-05/0.01113, allocations: 95.89 kB / 338.9 MB, free: 8.797 MB / 286.1 MB Notification: Performance of Alias: time 0.00178/0.01291, allocations: 1.791 MB / 340.6 MB, free: 6.809 MB / 286.1 MB Notification: Performance of simplify2: time 5.85e-05/0.01298, allocations: 51.94 kB / 340.7 MB, free: 6.758 MB / 286.1 MB Notification: Performance of Events: time 0.0002016/0.01319, allocations: 184.9 kB / 340.9 MB, free: 6.578 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003954/0.01359, allocations: 293 kB / 341.2 MB, free: 6.273 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0003402/0.01394, allocations: 349.9 kB / 341.5 MB, free: 5.871 MB / 286.1 MB Notification: Performance of Causalize: time 0.001519/0.01547, allocations: 1.605 MB / 343.1 MB, free: 4.215 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006063/0.01609, allocations: 0.7146 MB / 343.8 MB, free: 3.473 MB / 286.1 MB Notification: Performance of Inline: time 0.001164/0.01726, allocations: 1.318 MB / 345.1 MB, free: 2.113 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001113/0.01738, allocations: 95.59 kB / 345.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of Cleanup: time 5.529e-05/0.01744, allocations: 59.88 kB / 345.3 MB, free: 1.953 MB / 286.1 MB Notification: Performance of Causalize: time 0.003776/0.02122, allocations: 4.114 MB / 349.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of Tearing: time 0.0005749/0.02181, allocations: 0.5098 MB / 349.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of Initialization: time 4.3e-07/0.02182, allocations: 4 kB / 349.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004954/0.02232, allocations: 0.5058 MB / 350.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of Categorize: time 2.282e-05/0.02236, allocations: 4 kB / 350.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of Solve: time 0.0003538/0.02271, allocations: 202 kB / 350.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of Jacobian: time 0.000648/0.02337, allocations: 0.5799 MB / 351.2 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.0001583/0.02354, allocations: 49.34 kB / 351.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of SimCode: time 0.00191/0.02546, allocations: 2.224 MB / 353.5 MB, free: 9.703 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.