Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001221/0.001221, allocations: 111.8 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.001164/0.001164, allocations: 185.9 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.281/1.281, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.118e-05, allocations: 2.281 kB / 328.5 MB, free: 3.332 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.00452/0.00455, allocations: 3.62 MB / 332.1 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.006651, allocations: 1.049 MB / 333.2 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004169/0.007079, allocations: 15.94 kB / 333.2 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.007396, allocations: 103.1 kB / 333.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007592/0.008162, allocations: 230.7 kB / 333.5 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.008515, allocations: 143.7 kB / 333.7 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008907/0.009416, allocations: 0.9857 MB / 334.7 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003627/0.009788, allocations: 279 kB / 334.9 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.01012, allocations: 338.9 kB / 335.3 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000433/0.01056, allocations: 362.7 kB / 335.6 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.999e-05/0.01064, allocations: 56 kB / 335.7 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.32e-05/0.01074, allocations: 52 kB / 335.7 MB, free: 12.09 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.000663/0.01141, allocations: 0.8937 MB / 336.6 MB, free: 11.19 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003716/0.01179, allocations: 0.5866 MB / 337.2 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.01189, allocations: 91.69 kB / 337.3 MB, free: 10.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.172e-05/0.01196, allocations: 19.92 kB / 337.3 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.002454/0.01442, allocations: 2.815 MB / 340.1 MB, free: 7.547 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002013/0.01463, allocations: 171.7 kB / 340.3 MB, free: 7.379 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001153/0.01579, allocations: 1.221 MB / 341.5 MB, free: 6.129 MB / 286.1 MB Notification: Performance of simplify1: time 7.139e-05/0.01587, allocations: 71.89 kB / 341.6 MB, free: 6.059 MB / 286.1 MB Notification: Performance of Alias: time 0.001617/0.01749, allocations: 1.535 MB / 343.1 MB, free: 4.363 MB / 286.1 MB Notification: Performance of simplify2: time 4.504e-05/0.01755, allocations: 51.92 kB / 343.2 MB, free: 4.312 MB / 286.1 MB Notification: Performance of Events: time 0.0002411/0.0178, allocations: 211.5 kB / 343.4 MB, free: 4.105 MB / 286.1 MB Notification: Performance of Detect States: time 0.0004105/0.01822, allocations: 423.8 kB / 343.8 MB, free: 3.68 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0004887/0.01872, allocations: 0.5066 MB / 344.3 MB, free: 3.102 MB / 286.1 MB Notification: Performance of Causalize: time 0.003987/0.02271, allocations: 4.286 MB / 348.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001016/0.02374, allocations: 1.134 MB / 349.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of Inline: time 0.002052/0.0258, allocations: 2.174 MB / 351.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001207/0.02593, allocations: 127.5 kB / 352 MB, free: 11.37 MB / 302.1 MB Notification: Performance of Cleanup: time 8.486e-05/0.02602, allocations: 95.78 kB / 352.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of Causalize: time 0.007862/0.03389, allocations: 9.267 MB / 361.4 MB, free: 2.52 MB / 302.1 MB Notification: Performance of Tearing: time 0.00136/0.03526, allocations: 1.39 MB / 362.8 MB, free: 1.066 MB / 302.1 MB Notification: Performance of Initialization: time 7.61e-07/0.03527, allocations: 0 / 362.8 MB, free: 1.066 MB / 302.1 MB Notification: Performance of Tearing: time 0.001249/0.03653, allocations: 1.395 MB / 364.2 MB, free: 15.62 MB / 318.1 MB Notification: Performance of Categorize: time 1.988e-05/0.03656, allocations: 7.938 kB / 364.2 MB, free: 15.61 MB / 318.1 MB Notification: Performance of Solve: time 0.0005169/0.03708, allocations: 358.2 kB / 364.5 MB, free: 15.26 MB / 318.1 MB Notification: Performance of Jacobian: time 0.002648/0.03974, allocations: 2.728 MB / 367.2 MB, free: 12.48 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 5.339e-05/0.0398, allocations: 41.34 kB / 367.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of SimCode: time 0.004995/0.0448, allocations: 6.358 MB / 373.6 MB, free: 5.988 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.