Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001134/0.001134, allocations: 109.1 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.001087/0.001087, allocations: 193.9 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.278/1.278, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.659e-05, allocations: 3.547 kB / 327.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003748/0.003772, allocations: 3.398 MB / 330.6 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.005052, allocations: 0.8772 MB / 331.5 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.00521, allocations: 4 kB / 331.5 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.005389, allocations: 71.3 kB / 331.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.005662, allocations: 126.9 kB / 331.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.005945, allocations: 135.7 kB / 331.8 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005051/0.00646, allocations: 0.5683 MB / 332.4 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.006744, allocations: 182.1 kB / 332.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.006953, allocations: 195.2 kB / 332.7 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.007163, allocations: 207 kB / 332.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.867e-05/0.007229, allocations: 44 kB / 333 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.586e-05/0.007292, allocations: 48 kB / 333 MB, free: 13.46 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0004743/0.007771, allocations: 0.703 MB / 333.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.000225/0.008002, allocations: 441.4 kB / 334.2 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.585e-05/0.008084, allocations: 79.75 kB / 334.2 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.305e-05/0.008132, allocations: 23.88 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.001685/0.009822, allocations: 2.07 MB / 336.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001582/0.009987, allocations: 118.9 kB / 336.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0008515/0.01085, allocations: 0.9834 MB / 337.4 MB, free: 8.906 MB / 286.1 MB Notification: Performance of simplify1: time 8.167e-05/0.01094, allocations: 99.88 kB / 337.5 MB, free: 8.809 MB / 286.1 MB Notification: Performance of Alias: time 0.001815/0.01276, allocations: 1.787 MB / 339.3 MB, free: 6.824 MB / 286.1 MB Notification: Performance of simplify2: time 5.336e-05/0.01282, allocations: 59.86 kB / 339.4 MB, free: 6.766 MB / 286.1 MB Notification: Performance of Events: time 0.0002041/0.01303, allocations: 173 kB / 339.5 MB, free: 6.598 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003137/0.01336, allocations: 304.2 kB / 339.8 MB, free: 6.285 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0003105/0.01367, allocations: 342 kB / 340.2 MB, free: 5.891 MB / 286.1 MB Notification: Performance of Causalize: time 0.001521/0.0152, allocations: 1.608 MB / 341.8 MB, free: 4.23 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006214/0.01583, allocations: 0.7147 MB / 342.5 MB, free: 3.488 MB / 286.1 MB Notification: Performance of Inline: time 0.001203/0.01704, allocations: 1.318 MB / 343.8 MB, free: 2.129 MB / 286.1 MB Notification: Performance of Partitioning: time 8.985e-05/0.01714, allocations: 91.59 kB / 343.9 MB, free: 2.031 MB / 286.1 MB Notification: Performance of Cleanup: time 5.949e-05/0.01721, allocations: 55.88 kB / 344 MB, free: 1.977 MB / 286.1 MB Notification: Performance of Causalize: time 0.003487/0.0207, allocations: 4.123 MB / 348.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004366/0.02115, allocations: 0.5095 MB / 348.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of Initialization: time 6.21e-07/0.02116, allocations: 4 kB / 348.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of Tearing: time 0.0003879/0.02156, allocations: 0.4984 MB / 349.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of Categorize: time 1.19e-05/0.02158, allocations: 4 kB / 349.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of Solve: time 0.0002784/0.02186, allocations: 206 kB / 349.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0005346/0.0224, allocations: 0.5789 MB / 349.9 MB, free: 12.02 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.0001035/0.02251, allocations: 48.59 kB / 349.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of SimCode: time 0.001619/0.02414, allocations: 2.227 MB / 352.2 MB, free: 9.715 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.