Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001379/0.001379, allocations: 108 kB / 16.42 MB, free: 6.465 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.0009717/0.0009717, allocations: 190 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.223/1.223, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.303e-05, allocations: 2.281 kB / 327.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004841/0.004882, allocations: 3.616 MB / 330.8 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.006497, allocations: 1.045 MB / 331.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.006667, allocations: 11.94 kB / 331.9 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.006894, allocations: 103.1 kB / 332 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000579/0.00748, allocations: 226.7 kB / 332.2 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.007733, allocations: 147.7 kB / 332.3 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008757/0.008618, allocations: 0.9895 MB / 333.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003518/0.008979, allocations: 279 kB / 333.6 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/0.009301, allocations: 335 kB / 333.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004107/0.00972, allocations: 362.7 kB / 334.3 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.447e-05/0.009807, allocations: 56 kB / 334.3 MB, free: 12.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.362e-05/0.009897, allocations: 52 kB / 334.4 MB, free: 12.07 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0006297/0.01053, allocations: 0.8936 MB / 335.3 MB, free: 11.17 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003744/0.01092, allocations: 0.5905 MB / 335.9 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.01102, allocations: 87.75 kB / 336 MB, free: 10.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.47e-05/0.01108, allocations: 19.94 kB / 336 MB, free: 10.46 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.002421/0.0135, allocations: 2.827 MB / 338.8 MB, free: 7.516 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002002/0.01371, allocations: 159.7 kB / 339 MB, free: 7.359 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001079/0.0148, allocations: 1.229 MB / 340.2 MB, free: 6.102 MB / 286.1 MB Notification: Performance of simplify1: time 6.271e-05/0.01487, allocations: 67.89 kB / 340.3 MB, free: 6.035 MB / 286.1 MB Notification: Performance of Alias: time 0.001573/0.01645, allocations: 1.535 MB / 341.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of simplify2: time 4.465e-05/0.0165, allocations: 51.92 kB / 341.8 MB, free: 4.289 MB / 286.1 MB Notification: Performance of Events: time 0.0002371/0.01674, allocations: 207.6 kB / 342 MB, free: 4.086 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003959/0.01715, allocations: 423.6 kB / 342.5 MB, free: 3.66 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0004783/0.01764, allocations: 0.5027 MB / 343 MB, free: 3.086 MB / 286.1 MB Notification: Performance of Causalize: time 0.003873/0.02152, allocations: 4.289 MB / 347.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0009953/0.02252, allocations: 1.142 MB / 348.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of Inline: time 0.002039/0.02457, allocations: 2.17 MB / 350.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001211/0.0247, allocations: 127.5 kB / 350.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of Cleanup: time 8.541e-05/0.02479, allocations: 91.83 kB / 350.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of Causalize: time 0.007695/0.03249, allocations: 9.267 MB / 360 MB, free: 2.5 MB / 302.1 MB Notification: Performance of Tearing: time 0.001404/0.03392, allocations: 1.398 MB / 361.4 MB, free: 1.039 MB / 302.1 MB Notification: Performance of Initialization: time 1.022e-06/0.03393, allocations: 0 / 361.4 MB, free: 1.039 MB / 302.1 MB Notification: Performance of Tearing: time 0.00123/0.03517, allocations: 1.391 MB / 362.8 MB, free: 15.59 MB / 318.1 MB Notification: Performance of Categorize: time 2.622e-05/0.0352, allocations: 7.938 kB / 362.8 MB, free: 15.58 MB / 318.1 MB Notification: Performance of Solve: time 0.0005671/0.03578, allocations: 362.2 kB / 363.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of Jacobian: time 0.002616/0.0384, allocations: 2.72 MB / 365.9 MB, free: 12.46 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 6.769e-05/0.03848, allocations: 53.86 kB / 366 MB, free: 12.41 MB / 318.1 MB Notification: Performance of SimCode: time 0.005283/0.04377, allocations: 6.345 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.