Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001186/0.001186, allocations: 108.5 kB / 18.47 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 206.3 kB / 19.41 MB, free: 3.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.009e-05, allocations: 4.953 kB / 359.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004454/0.004483, allocations: 3.707 MB / 363.1 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.006494, allocations: 1.075 MB / 364.1 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004124/0.006918, allocations: 15.94 kB / 364.1 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.007215, allocations: 107.1 kB / 364.3 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000679/0.007902, allocations: 234.7 kB / 364.5 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.008266, allocations: 151.7 kB / 364.6 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009436/0.00922, allocations: 1.028 MB / 365.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004148/0.009644, allocations: 324.2 kB / 366 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.01002, allocations: 358.9 kB / 366.3 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.01042, allocations: 374.7 kB / 366.7 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.721e-05/0.01051, allocations: 59.94 kB / 366.7 MB, free: 5.555 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.01065, allocations: 63.94 kB / 366.8 MB, free: 5.492 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006815/0.01133, allocations: 0.9323 MB / 367.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000376/0.01172, allocations: 0.6176 MB / 368.4 MB, free: 3.926 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.539e-05/0.01182, allocations: 83.75 kB / 368.4 MB, free: 3.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.679e-05/0.0119, allocations: 15.94 kB / 368.5 MB, free: 3.828 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 (94) * Number of variables: 166 (89) Notification: Performance of Bindings: time 0.002459/0.01437, allocations: 2.932 MB / 371.4 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001379/0.01451, allocations: 127.8 kB / 371.5 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of Early Inline: time 0.1613/0.1758, allocations: 1.478 MB / 373 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001852/0.176, allocations: 79.09 kB / 373.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of Alias: time 0.002494/0.1785, allocations: 1.747 MB / 374.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001416/0.1787, allocations: 54.02 kB / 374.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of Events: time 0.000372/0.1791, allocations: 220.9 kB / 375.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005512/0.1797, allocations: 422.2 kB / 375.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006912/0.1804, allocations: 0.5128 MB / 376 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Causalize: time 0.003682/0.1841, allocations: 3.336 MB / 379.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0009897/0.1851, allocations: 1.19 MB / 380.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of Inline: time 0.002095/0.1872, allocations: 2.545 MB / 383.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001058/0.1873, allocations: 113.1 kB / 383.2 MB, free: 9.496 MB / 302.1 MB Notification: Performance of Cleanup: time 8.671e-05/0.1874, allocations: 96.38 kB / 383.3 MB, free: 9.441 MB / 302.1 MB Notification: Performance of Causalize: time 0.01166/0.199, allocations: 8.185 MB / 391.5 MB, free: 6.609 MB / 302.1 MB Notification: Performance of Tearing: time 0.001723/0.2008, allocations: 1.403 MB / 392.9 MB, free: 5.984 MB / 302.1 MB Notification: Performance of Initialization: time 1.442e-06/0.2008, allocations: 0 / 392.9 MB, free: 5.984 MB / 302.1 MB Notification: Performance of Tearing: time 0.001181/0.202, allocations: 1.409 MB / 394.3 MB, free: 5.363 MB / 302.1 MB Notification: Performance of Categorize: time 2.558e-05/0.2021, allocations: 9.078 kB / 394.3 MB, free: 5.359 MB / 302.1 MB Notification: Performance of Solve: time 0.0006127/0.2027, allocations: 375.4 kB / 394.7 MB, free: 5.234 MB / 302.1 MB Notification: Performance of Jacobian: time 0.002649/0.2053, allocations: 2.669 MB / 397.3 MB, free: 3.254 MB / 302.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_last, 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: ........... 39 (scalar:26, array:13, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 14 (generic: 14, 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: ........... 64 (scalar:51, array:13, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 32 (generic: 32, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 9.076e-05/0.2054, allocations: 52.28 kB / 397.4 MB, free: 3.207 MB / 302.1 MB Notification: Performance of SimCode: time 0.007029/0.2125, allocations: 6.484 MB / 403.9 MB, free: 13.93 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.