Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 113.1 kB / 17.75 MB, free: 5.312 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.001121/0.001121, allocations: 196.6 kB / 18.68 MB, free: 4.387 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.262/1.262, allocations: 205.1 MB / 224.6 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.566e-05, allocations: 2.281 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004656/0.004692, allocations: 3.657 MB / 332.2 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.006842, allocations: 0.9591 MB / 333.1 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005913/0.007448, allocations: 8 kB / 333.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.007718, allocations: 83.22 kB / 333.2 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.008114, allocations: 138.7 kB / 333.4 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.008498, allocations: 163.8 kB / 333.5 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000644/0.009151, allocations: 0.6695 MB / 334.2 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00032/0.00948, allocations: 211.7 kB / 334.4 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.00973, allocations: 235.1 kB / 334.6 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.009977, allocations: 238.9 kB / 334.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.84e-05/0.01005, allocations: 56 kB / 334.9 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.036e-05/0.01013, allocations: 56 kB / 335 MB, free: 12.82 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.00056/0.01069, allocations: 0.7997 MB / 335.8 MB, free: 12.02 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002716/0.01097, allocations: 0.4927 MB / 336.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.01108, allocations: 91.69 kB / 336.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.135e-05/0.01113, allocations: 23.88 kB / 336.4 MB, free: 11.4 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: 100 (100) * Number of variables: 100 (99) Notification: Performance of Bindings: time 0.001969/0.01311, allocations: 2.364 MB / 338.7 MB, free: 8.914 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.00014/0.01326, allocations: 126.9 kB / 338.9 MB, free: 8.793 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0009864/0.01425, allocations: 1.167 MB / 340 MB, free: 7.602 MB / 286.1 MB Notification: Performance of simplify1: time 9.481e-05/0.01435, allocations: 111.9 kB / 340.1 MB, free: 7.492 MB / 286.1 MB Notification: Performance of Alias: time 0.002005/0.01636, allocations: 2.031 MB / 342.2 MB, free: 5.238 MB / 286.1 MB Notification: Performance of simplify2: time 6.305e-05/0.01644, allocations: 63.92 kB / 342.2 MB, free: 5.176 MB / 286.1 MB Notification: Performance of Events: time 0.0002362/0.01668, allocations: 206.2 kB / 342.4 MB, free: 4.973 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003564/0.01704, allocations: 340.8 kB / 342.8 MB, free: 4.621 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0003782/0.01743, allocations: 418.5 kB / 343.2 MB, free: 4.152 MB / 286.1 MB Notification: Performance of Causalize: time 0.00195/0.01939, allocations: 2.118 MB / 345.3 MB, free: 1.988 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007743/0.02017, allocations: 0.8739 MB / 346.2 MB, free: 1.086 MB / 286.1 MB Notification: Performance of Inline: time 0.001451/0.02163, allocations: 1.579 MB / 347.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001211/0.02176, allocations: 107.6 kB / 347.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of Cleanup: time 6.276e-05/0.02183, allocations: 71.86 kB / 347.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of Causalize: time 0.004399/0.02624, allocations: 4.915 MB / 352.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Tearing: time 0.0007707/0.02702, allocations: 0.7957 MB / 353.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of Initialization: time 4.31e-07/0.02703, allocations: 0 / 353.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of Tearing: time 0.000703/0.02774, allocations: 0.8021 MB / 354.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of Categorize: time 1.486e-05/0.02776, allocations: 7.938 kB / 354.4 MB, free: 8.82 MB / 302.1 MB Notification: Performance of Solve: time 0.0002913/0.02806, allocations: 206.1 kB / 354.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of Jacobian: time 0.001101/0.02917, allocations: 1.01 MB / 355.7 MB, free: 7.57 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * 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 (16) {rectifier.diode_p1.off, rectifier.diode_p2.off, rectifier.diode_n1.off, rectifier.diode_n2.off, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_6, $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: ........... 33 (scalar:33, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, 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: ........... 80 (scalar:80, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 0.0001033/0.02928, allocations: 53.95 kB / 355.7 MB, free: 7.531 MB / 302.1 MB Notification: Performance of SimCode: time 0.002034/0.03132, allocations: 2.707 MB / 358.4 MB, free: 4.777 MB / 302.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.