Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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_3.2.3_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.001065/0.001064, allocations: 111.4 kB / 18.41 MB, free: 4.668 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.0009889/0.0009889, allocations: 193.4 kB / 19.35 MB, free: 3.742 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.451/1.451, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.363e-05, allocations: 6.219 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005545/0.005577, allocations: 4.499 MB / 333.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.008398, allocations: 1.267 MB / 334.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006404/0.009051, allocations: 23.88 kB / 335 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005442/0.009603, allocations: 162.6 kB / 335.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.01096, allocations: 346.1 kB / 335.5 MB, free: 13 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.01148, allocations: 199.6 kB / 335.7 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.01334, allocations: 1.66 MB / 337.3 MB, free: 11.14 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006159/0.01396, allocations: 467.6 kB / 337.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007381/0.01471, allocations: 0.5647 MB / 338.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008017/0.01552, allocations: 0.5957 MB / 338.9 MB, free: 9.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.01567, allocations: 84 kB / 339 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.01584, allocations: 96 kB / 339.1 MB, free: 9.344 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001126/0.01698, allocations: 1.393 MB / 340.5 MB, free: 7.938 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006866/0.01767, allocations: 0.9231 MB / 341.4 MB, free: 7.004 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.01783, allocations: 131.6 kB / 341.6 MB, free: 6.875 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001484/0.01799, allocations: 23.98 kB / 341.6 MB, free: 6.852 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.004344/0.02234, allocations: 4.401 MB / 346 MB, free: 2.316 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0003446/0.02269, allocations: 279.5 kB / 346.3 MB, free: 2.027 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001945/0.02465, allocations: 1.955 MB / 348.2 MB, free: 32 kB / 286.1 MB Notification: Performance of simplify1: time 0.0001253/0.02479, allocations: 91.88 kB / 348.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of Alias: time 0.002492/0.02729, allocations: 2.199 MB / 350.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001005/0.0274, allocations: 71.89 kB / 350.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of Events: time 0.0003379/0.02775, allocations: 283.6 kB / 350.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of Detect States: time 0.0008263/0.02859, allocations: 0.6117 MB / 351.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0008887/0.02948, allocations: 0.8244 MB / 352.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of Causalize: time 0.006078/0.03557, allocations: 5.938 MB / 358.2 MB, free: 5.922 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001887/0.03747, allocations: 1.925 MB / 360.1 MB, free: 3.965 MB / 302.1 MB Notification: Performance of Inline: time 0.003935/0.04142, allocations: 3.803 MB / 364 MB, free: 104 kB / 302.1 MB Notification: Performance of Partitioning: time 0.0002244/0.04166, allocations: 179.7 kB / 364.1 MB, free: 15.91 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001607/0.04183, allocations: 151.7 kB / 364.3 MB, free: 15.77 MB / 318.1 MB Notification: Performance of Causalize: time 0.01575/0.05759, allocations: 14.82 MB / 379.1 MB, free: 1.359 MB / 318.1 MB Notification: Performance of Tearing: time 0.1758/0.2334, allocations: 2.552 MB / 381.6 MB, free: 41.12 MB / 318.1 MB Notification: Performance of Initialization: time 3.927e-06/0.2334, allocations: 0.5312 kB / 381.6 MB, free: 41.12 MB / 318.1 MB Notification: Performance of Tearing: time 0.003099/0.2365, allocations: 2.563 MB / 384.2 MB, free: 40.72 MB / 318.1 MB Notification: Performance of Categorize: time 5.266e-05/0.2366, allocations: 4.5 kB / 384.2 MB, free: 40.72 MB / 318.1 MB Notification: Performance of Solve: time 0.001726/0.2383, allocations: 0.6387 MB / 384.9 MB, free: 40.66 MB / 318.1 MB Notification: Performance of Jacobian: time 0.007479/0.2458, allocations: 6.374 MB / 391.2 MB, free: 39.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 9.487e-05/0.2459, allocations: 60.38 kB / 391.3 MB, free: 39.29 MB / 318.1 MB Notification: Performance of SimCode: time 0.008603/0.2545, allocations: 11.1 MB / 402.4 MB, free: 36.46 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.