Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0009932/0.0009932, allocations: 109.5 kB / 17.75 MB, free: 5.348 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.001052/0.001052, allocations: 184.2 kB / 18.68 MB, free: 4.426 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.27/1.27, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.097e-05, allocations: 11 kB / 328.5 MB, free: 3.34 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006141/0.006181, allocations: 4.496 MB / 333 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.008727, allocations: 1.27 MB / 334.3 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002476/0.008988, allocations: 23.88 kB / 334.3 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.009328, allocations: 162.7 kB / 334.5 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008362/0.01017, allocations: 350 kB / 334.8 MB, free: 13.01 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.01053, allocations: 203.6 kB / 335 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.01197, allocations: 1.66 MB / 336.7 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005667/0.01255, allocations: 463.6 kB / 337.1 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005532/0.01311, allocations: 0.557 MB / 337.7 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006722/0.01379, allocations: 0.5997 MB / 338.3 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.01392, allocations: 88 kB / 338.4 MB, free: 9.449 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.01406, allocations: 88 kB / 338.4 MB, free: 9.363 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.00105/0.01511, allocations: 1.393 MB / 339.8 MB, free: 7.957 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006067/0.01573, allocations: 0.9231 MB / 340.8 MB, free: 7.023 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.01587, allocations: 127.6 kB / 340.9 MB, free: 6.898 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.716e-05/0.01594, allocations: 27.98 kB / 340.9 MB, free: 6.871 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.003883/0.01984, allocations: 4.393 MB / 345.3 MB, free: 2.344 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0003085/0.02015, allocations: 283.5 kB / 345.6 MB, free: 2.051 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001796/0.02196, allocations: 1.963 MB / 347.6 MB, free: 48 kB / 286.1 MB Notification: Performance of simplify1: time 0.0001117/0.02208, allocations: 99.88 kB / 347.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of Alias: time 0.002236/0.02432, allocations: 2.068 MB / 349.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simplify2: time 6.894e-05/0.0244, allocations: 75.91 kB / 349.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Events: time 0.0003189/0.02473, allocations: 279.6 kB / 350.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Detect States: time 0.0007825/0.02552, allocations: 0.5999 MB / 350.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0008448/0.02637, allocations: 0.8244 MB / 351.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Causalize: time 0.007215/0.0336, allocations: 7.836 MB / 359.3 MB, free: 4.293 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001761/0.03537, allocations: 1.924 MB / 361.2 MB, free: 2.34 MB / 302.1 MB Notification: Performance of Inline: time 0.003749/0.03913, allocations: 3.808 MB / 365.1 MB, free: 14.47 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002043/0.03934, allocations: 179.7 kB / 365.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001294/0.03948, allocations: 147.8 kB / 365.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of Causalize: time 0.1773/0.2168, allocations: 17 MB / 382.4 MB, free: 38.42 MB / 318.1 MB Notification: Performance of Tearing: time 0.003708/0.2206, allocations: 2.589 MB / 385 MB, free: 38.1 MB / 318.1 MB Notification: Performance of Initialization: time 1.823e-06/0.2206, allocations: 3.062 kB / 385 MB, free: 38.1 MB / 318.1 MB Notification: Performance of Tearing: time 0.003117/0.2237, allocations: 2.566 MB / 387.5 MB, free: 37.71 MB / 318.1 MB Notification: Performance of Categorize: time 3.845e-05/0.2238, allocations: 4.5 kB / 387.5 MB, free: 37.71 MB / 318.1 MB Notification: Performance of Solve: time 0.001509/0.2253, allocations: 0.6298 MB / 388.2 MB, free: 37.65 MB / 318.1 MB Notification: Performance of Jacobian: time 0.006561/0.2319, allocations: 6.417 MB / 394.6 MB, free: 36.3 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 8.195e-05/0.232, allocations: 60.92 kB / 394.6 MB, free: 36.28 MB / 318.1 MB Notification: Performance of SimCode: time 0.007763/0.2397, allocations: 11.11 MB / 405.8 MB, free: 33.45 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.