Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_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.00104/0.00104, allocations: 115.3 kB / 17.75 MB, free: 5.215 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.001044/0.001044, allocations: 185.8 kB / 18.68 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.343e-05, allocations: 5.656 kB / 351.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004473/0.004504, allocations: 3.44 MB / 355.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.005929, allocations: 0.8452 MB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.006099, allocations: 11.88 kB / 356.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.006306, allocations: 67.36 kB / 356.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.006719, allocations: 130.8 kB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.007012, allocations: 139.8 kB / 356.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006488/0.007671, allocations: 0.5798 MB / 357.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003119/0.007991, allocations: 182.1 kB / 357.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.008205, allocations: 191.3 kB / 357.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.008435, allocations: 215 kB / 357.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.087e-05/0.008503, allocations: 48 kB / 357.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.959e-05/0.008569, allocations: 44 kB / 357.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004907/0.009065, allocations: 0.7146 MB / 358.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000236/0.009307, allocations: 449.2 kB / 359 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.919e-05/0.009403, allocations: 79.75 kB / 359 MB, free: 12.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.831e-05/0.009499, allocations: 31.92 kB / 359.1 MB, free: 12.1 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 (88) * Number of variables: 88 (87) Notification: Performance of Bindings: time 0.001852/0.01136, allocations: 2.105 MB / 361.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001729/0.01154, allocations: 116.4 kB / 361.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009121/0.01246, allocations: 1.003 MB / 362.3 MB, free: 8.734 MB / 302.1 MB Notification: Performance of simplify1: time 9.193e-05/0.01256, allocations: 91.89 kB / 362.4 MB, free: 8.645 MB / 302.1 MB Notification: Performance of Alias: time 0.002371/0.01494, allocations: 2.132 MB / 364.5 MB, free: 6.297 MB / 302.1 MB Notification: Performance of simplify2: time 5.827e-05/0.01501, allocations: 63.91 kB / 364.6 MB, free: 6.234 MB / 302.1 MB Notification: Performance of Events: time 0.0002168/0.01523, allocations: 174.6 kB / 364.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003137/0.01555, allocations: 295.9 kB / 365 MB, free: 5.766 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003406/0.0159, allocations: 341.9 kB / 365.4 MB, free: 5.371 MB / 302.1 MB Notification: Performance of Causalize: time 0.001325/0.01723, allocations: 1.182 MB / 366.6 MB, free: 4.129 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006643/0.01791, allocations: 0.7184 MB / 367.3 MB, free: 3.383 MB / 302.1 MB Notification: Performance of Inline: time 0.001305/0.01922, allocations: 1.324 MB / 368.6 MB, free: 2.02 MB / 302.1 MB Notification: Performance of Partitioning: time 9.393e-05/0.01933, allocations: 95.55 kB / 368.7 MB, free: 1.918 MB / 302.1 MB Notification: Performance of Cleanup: time 6.753e-05/0.0194, allocations: 63.86 kB / 368.8 MB, free: 1.855 MB / 302.1 MB Notification: Performance of Causalize: time 0.1919/0.2113, allocations: 3.677 MB / 372.4 MB, free: 18.11 MB / 302.1 MB Notification: Performance of Tearing: time 0.0005951/0.212, allocations: 0.511 MB / 372.9 MB, free: 17.86 MB / 302.1 MB Notification: Performance of Initialization: time 1.142e-06/0.212, allocations: 3.938 kB / 372.9 MB, free: 17.86 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004078/0.2124, allocations: 0.5023 MB / 373.5 MB, free: 17.63 MB / 302.1 MB Notification: Performance of Categorize: time 2.348e-05/0.2124, allocations: 6.328 kB / 373.5 MB, free: 17.62 MB / 302.1 MB Notification: Performance of Solve: time 0.0003853/0.2128, allocations: 201.7 kB / 373.7 MB, free: 17.61 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0005628/0.2134, allocations: 0.5787 MB / 374.2 MB, free: 17.35 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_last, 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.0001623/0.2136, allocations: 37.02 kB / 374.3 MB, free: 17.33 MB / 302.1 MB Notification: Performance of SimCode: time 0.001994/0.2156, allocations: 2.257 MB / 376.5 MB, free: 16.25 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.