Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001292, allocations: 105.5 kB / 16.42 MB, free: 6.477 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.00118/0.00118, allocations: 192.3 kB / 17.36 MB, free: 5.707 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.47/1.47, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.44e-05, allocations: 7.484 kB / 327.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005731/0.005764, allocations: 4.496 MB / 331.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003251/0.009031, allocations: 1.263 MB / 333 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003855/0.009431, allocations: 23.88 kB / 333 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004471/0.009886, allocations: 162.6 kB / 333.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.01102, allocations: 342.1 kB / 333.5 MB, free: 13 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.01146, allocations: 207.6 kB / 333.7 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001895/0.01337, allocations: 1.656 MB / 335.3 MB, free: 11.14 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008001/0.01418, allocations: 467.6 kB / 335.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.0152, allocations: 0.5569 MB / 336.4 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009246/0.01613, allocations: 0.6035 MB / 337 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.01629, allocations: 84 kB / 337 MB, free: 9.434 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.01646, allocations: 96 kB / 337.1 MB, free: 9.34 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.00108/0.01754, allocations: 1.39 MB / 338.5 MB, free: 7.938 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006054/0.01815, allocations: 0.9232 MB / 339.4 MB, free: 7.004 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.01829, allocations: 127.6 kB / 339.6 MB, free: 6.879 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.878e-05/0.01839, allocations: 31.98 kB / 339.6 MB, free: 6.848 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: 264 (128) * Number of variables: 264 (121) Notification: Performance of Bindings: time 0.00388/0.02228, allocations: 4.393 MB / 344 MB, free: 2.32 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0003087/0.02259, allocations: 286.6 kB / 344.3 MB, free: 2.027 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001847/0.02445, allocations: 1.959 MB / 346.2 MB, free: 28 kB / 286.1 MB Notification: Performance of simplify1: time 0.000101/0.02456, allocations: 95.88 kB / 346.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of Alias: time 0.002263/0.02683, allocations: 2.068 MB / 348.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simplify2: time 8.352e-05/0.02692, allocations: 75.89 kB / 348.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of Events: time 0.0003355/0.02727, allocations: 287.5 kB / 348.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of Detect States: time 0.0007599/0.02804, allocations: 0.6007 MB / 349.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0008301/0.02887, allocations: 0.8127 MB / 350.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of Causalize: time 0.006971/0.03586, allocations: 7.844 MB / 358 MB, free: 4.27 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001792/0.03767, allocations: 1.921 MB / 359.9 MB, free: 2.32 MB / 302.1 MB Notification: Performance of Inline: time 0.003736/0.04142, allocations: 3.808 MB / 363.7 MB, free: 14.45 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002098/0.04164, allocations: 179.7 kB / 363.9 MB, free: 14.26 MB / 318.1 MB Notification: Performance of Cleanup: time 0.000153/0.0418, allocations: 151.8 kB / 364.1 MB, free: 14.11 MB / 318.1 MB Notification: Performance of Causalize: time 0.1765/0.2183, allocations: 17.01 MB / 381.1 MB, free: 38.37 MB / 318.1 MB Notification: Performance of Tearing: time 0.003704/0.2221, allocations: 2.578 MB / 383.6 MB, free: 38.05 MB / 318.1 MB Notification: Performance of Initialization: time 1.723e-06/0.2221, allocations: 2.969 kB / 383.7 MB, free: 38.05 MB / 318.1 MB Notification: Performance of Tearing: time 0.002996/0.2251, allocations: 2.565 MB / 386.2 MB, free: 37.66 MB / 318.1 MB Notification: Performance of Categorize: time 3.987e-05/0.2252, allocations: 7.484 kB / 386.2 MB, free: 37.66 MB / 318.1 MB Notification: Performance of Solve: time 0.001799/0.227, allocations: 0.6284 MB / 386.9 MB, free: 37.6 MB / 318.1 MB Notification: Performance of Jacobian: time 0.008492/0.2355, allocations: 6.421 MB / 393.3 MB, free: 36.25 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * 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: ................. 25 (13) {rectifier.diode_p.idealDiode.off, rectifier.diode_n.idealDiode.off, $SEV_4[$i1], $SEV_3[$i1], $SEV_2[$i1], $SEV_1[$i1], $SEV_0, $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: ........... 55 (scalar:34, array:21, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 29 (generic: 29, 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:58, array:21, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 65 (generic: 65, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 0.0001527/0.2356, allocations: 65.77 kB / 393.3 MB, free: 36.21 MB / 318.1 MB Notification: Performance of SimCode: time 0.01074/0.2464, allocations: 11.1 MB / 404.4 MB, free: 33.39 MB / 318.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.