Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 109.6 kB / 16.42 MB, free: 6.469 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.001246/0.001246, allocations: 187.1 kB / 17.35 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.497/1.497, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.775e-05, allocations: 3.547 kB / 327.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004896/0.004931, allocations: 3.613 MB / 330.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.006723, allocations: 1.041 MB / 331.9 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.006927, allocations: 19.88 kB / 331.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.007189, allocations: 107.1 kB / 332 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006455/0.007842, allocations: 222.7 kB / 332.2 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.008134, allocations: 147.7 kB / 332.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000949/0.009093, allocations: 0.9895 MB / 333.3 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003808/0.009483, allocations: 279 kB / 333.6 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003377/0.009828, allocations: 339 kB / 333.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004461/0.01029, allocations: 362.7 kB / 334.3 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.836e-05/0.01036, allocations: 52 kB / 334.3 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.062e-05/0.01046, allocations: 52 kB / 334.4 MB, free: 12.08 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0006665/0.01113, allocations: 0.8937 MB / 335.3 MB, free: 11.18 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003816/0.01152, allocations: 0.5944 MB / 335.9 MB, free: 10.58 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.995e-05/0.01163, allocations: 83.75 kB / 336 MB, free: 10.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.483e-05/0.01169, allocations: 15.94 kB / 336 MB, free: 10.48 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: 163 (87) * Number of variables: 163 (86) Notification: Performance of Bindings: time 0.002587/0.01428, allocations: 2.827 MB / 338.8 MB, free: 7.531 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002177/0.01451, allocations: 171.6 kB / 339 MB, free: 7.363 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001142/0.01566, allocations: 1.229 MB / 340.2 MB, free: 6.105 MB / 286.1 MB Notification: Performance of simplify1: time 7.162e-05/0.01574, allocations: 67.91 kB / 340.3 MB, free: 6.039 MB / 286.1 MB Notification: Performance of Alias: time 0.00172/0.01746, allocations: 1.535 MB / 341.8 MB, free: 4.344 MB / 286.1 MB Notification: Performance of simplify2: time 4.873e-05/0.01752, allocations: 47.94 kB / 341.8 MB, free: 4.297 MB / 286.1 MB Notification: Performance of Events: time 0.0002587/0.01779, allocations: 207.6 kB / 342 MB, free: 4.094 MB / 286.1 MB Notification: Performance of Detect States: time 0.000445/0.01824, allocations: 423.9 kB / 342.5 MB, free: 3.668 MB / 286.1 MB Notification: Performance of Partitioning: time 0.000537/0.01879, allocations: 0.5027 MB / 343 MB, free: 3.094 MB / 286.1 MB Notification: Performance of Causalize: time 0.004036/0.02283, allocations: 4.29 MB / 347.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001056/0.0239, allocations: 1.145 MB / 348.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of Inline: time 0.002136/0.02605, allocations: 2.172 MB / 350.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001219/0.02618, allocations: 123.5 kB / 350.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of Cleanup: time 9.693e-05/0.02628, allocations: 95.83 kB / 350.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of Causalize: time 0.008088/0.03438, allocations: 9.26 MB / 360 MB, free: 2.512 MB / 302.1 MB Notification: Performance of Tearing: time 0.001456/0.03586, allocations: 1.402 MB / 361.4 MB, free: 1.047 MB / 302.1 MB Notification: Performance of Initialization: time 1.493e-06/0.03587, allocations: 0 / 361.4 MB, free: 1.047 MB / 302.1 MB Notification: Performance of Tearing: time 0.00129/0.03717, allocations: 1.395 MB / 362.8 MB, free: 15.6 MB / 318.1 MB Notification: Performance of Categorize: time 2.497e-05/0.03721, allocations: 3.938 kB / 362.8 MB, free: 15.59 MB / 318.1 MB Notification: Performance of Solve: time 0.0006154/0.03783, allocations: 358.3 kB / 363.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of Jacobian: time 0.002773/0.04061, allocations: 2.72 MB / 365.9 MB, free: 12.47 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * 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: ................. 16 (10) {rectifier.diode.idealDiode.off, $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: ........... 36 (scalar:23, array:13, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 16 (generic: 16, 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: ........... 60 (scalar:47, array:13, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 34 (generic: 34, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 7.272e-05/0.0407, allocations: 41.41 kB / 366 MB, free: 12.43 MB / 318.1 MB Notification: Performance of SimCode: time 0.005678/0.04638, allocations: 6.369 MB / 372.3 MB, free: 5.969 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.