Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001242/0.001249, allocations: 105.3 kB / 16.42 MB, free: 6.512 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.00115/0.00115, allocations: 196.2 kB / 17.36 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.282/1.282, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.432e-05, allocations: 7.484 kB / 327.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005098/0.005131, allocations: 4.488 MB / 331.7 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.00736, allocations: 1.278 MB / 333 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.007602, allocations: 19.88 kB / 333 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.007917, allocations: 162.7 kB / 333.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000742/0.008711, allocations: 346 kB / 333.5 MB, free: 13 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.009036, allocations: 195.7 kB / 333.7 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.01051, allocations: 1.66 MB / 335.3 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005515/0.01107, allocations: 471.6 kB / 335.8 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005642/0.01164, allocations: 0.557 MB / 336.4 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007167/0.01237, allocations: 0.5996 MB / 337 MB, free: 9.527 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.01248, allocations: 88 kB / 337 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.01264, allocations: 92 kB / 337.1 MB, free: 9.352 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001044/0.01369, allocations: 1.397 MB / 338.5 MB, free: 7.941 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006256/0.01432, allocations: 0.9192 MB / 339.4 MB, free: 7.012 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.01446, allocations: 135.6 kB / 339.6 MB, free: 6.879 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.459e-05/0.01455, allocations: 16 kB / 339.6 MB, free: 6.863 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.003781/0.01834, allocations: 4.401 MB / 344 MB, free: 2.328 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0003094/0.01866, allocations: 282.7 kB / 344.3 MB, free: 2.039 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001718/0.02038, allocations: 1.955 MB / 346.2 MB, free: 44 kB / 286.1 MB Notification: Performance of simplify1: time 0.0001127/0.02051, allocations: 99.86 kB / 346.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of Alias: time 0.002089/0.0226, allocations: 2.064 MB / 348.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simplify2: time 7.607e-05/0.02269, allocations: 79.88 kB / 348.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Events: time 0.000297/0.02299, allocations: 279.6 kB / 348.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006322/0.02363, allocations: 0.6162 MB / 349.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0007875/0.02443, allocations: 0.8088 MB / 350.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Causalize: time 0.006819/0.03126, allocations: 7.84 MB / 358 MB, free: 4.281 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001705/0.03298, allocations: 1.92 MB / 359.9 MB, free: 2.332 MB / 302.1 MB Notification: Performance of Inline: time 0.003592/0.03658, allocations: 3.808 MB / 363.7 MB, free: 14.46 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000196/0.03679, allocations: 179.7 kB / 363.9 MB, free: 14.27 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001401/0.03694, allocations: 151.8 kB / 364.1 MB, free: 14.12 MB / 318.1 MB Notification: Performance of Causalize: time 0.1392/0.1762, allocations: 17.01 MB / 381.1 MB, free: 38.45 MB / 318.1 MB Notification: Performance of Tearing: time 0.002383/0.1786, allocations: 2.586 MB / 383.6 MB, free: 38.13 MB / 318.1 MB Notification: Performance of Initialization: time 9.42e-07/0.1786, allocations: 3.75 kB / 383.7 MB, free: 38.13 MB / 318.1 MB Notification: Performance of Tearing: time 0.002025/0.1806, allocations: 2.564 MB / 386.2 MB, free: 37.73 MB / 318.1 MB Notification: Performance of Categorize: time 2.605e-05/0.1807, allocations: 8.453 kB / 386.2 MB, free: 37.73 MB / 318.1 MB Notification: Performance of Solve: time 0.001092/0.1818, allocations: 0.6317 MB / 386.9 MB, free: 37.68 MB / 318.1 MB Notification: Performance of Jacobian: time 0.005594/0.1874, allocations: 6.414 MB / 393.3 MB, free: 36.32 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 5.961e-05/0.1874, allocations: 57.47 kB / 393.3 MB, free: 36.29 MB / 318.1 MB Notification: Performance of SimCode: time 0.006333/0.1938, allocations: 11.1 MB / 404.4 MB, free: 33.47 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.