Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 116.3 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 206.3 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.201/1.201, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/1.896e-05, allocations: 6.219 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004747/0.004774, allocations: 4.581 MB / 363.9 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.006574, allocations: 1.309 MB / 365.2 MB, free: 7.027 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.006794, allocations: 23.88 kB / 365.3 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.007089, allocations: 174.6 kB / 365.4 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007058/0.007808, allocations: 354 kB / 365.8 MB, free: 6.484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.008147, allocations: 215.7 kB / 366 MB, free: 6.273 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.009556, allocations: 1.703 MB / 367.7 MB, free: 4.566 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000622/0.01019, allocations: 0.5686 MB / 368.3 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005585/0.01075, allocations: 0.5765 MB / 368.8 MB, free: 3.406 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005963/0.01136, allocations: 0.6152 MB / 369.5 MB, free: 2.789 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.0115, allocations: 96 kB / 369.5 MB, free: 2.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.01169, allocations: 96 kB / 369.6 MB, free: 2.602 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001039/0.01274, allocations: 1.448 MB / 371.1 MB, free: 1.141 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005808/0.01332, allocations: 0.9501 MB / 372 MB, free: 184 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.01345, allocations: 135.6 kB / 372.2 MB, free: 48 kB / 302.1 MB Notification: Performance of FrontEnd: time 9.177e-05/0.01355, allocations: 23.94 kB / 372.2 MB, free: 24 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 (137) * Number of variables: 267 (124) Notification: Performance of Bindings: time 0.1416/0.1551, allocations: 4.54 MB / 376.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001864/0.1553, allocations: 198.1 kB / 376.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001672/0.157, allocations: 2.366 MB / 379.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001012/0.1571, allocations: 102.3 kB / 379.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of Alias: time 0.001948/0.1591, allocations: 2.234 MB / 381.6 MB, free: 9.105 MB / 302.1 MB Notification: Performance of simplify2: time 7.794e-05/0.1592, allocations: 81.48 kB / 381.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of Events: time 0.0002923/0.1594, allocations: 293.7 kB / 382 MB, free: 8.898 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005032/0.16, allocations: 0.6236 MB / 382.6 MB, free: 8.488 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006955/0.1607, allocations: 0.8455 MB / 383.5 MB, free: 7.965 MB / 302.1 MB Notification: Performance of Causalize: time 0.005302/0.166, allocations: 5.963 MB / 389.4 MB, free: 5.695 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.00157/0.1676, allocations: 1.981 MB / 391.4 MB, free: 4.469 MB / 302.1 MB Notification: Performance of Inline: time 0.003505/0.1711, allocations: 4.382 MB / 395.8 MB, free: 1.848 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001737/0.1713, allocations: 186.5 kB / 396 MB, free: 1.727 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001213/0.1714, allocations: 152.2 kB / 396.1 MB, free: 1.633 MB / 302.1 MB Notification: Performance of Causalize: time 0.01323/0.1846, allocations: 15 MB / 411.1 MB, free: 6.641 MB / 318.1 MB Notification: Performance of Tearing: time 0.002372/0.187, allocations: 2.595 MB / 413.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of Initialization: time 8.02e-07/0.187, allocations: 0 / 413.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of Tearing: time 0.002277/0.1893, allocations: 2.58 MB / 416.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of Categorize: time 2.694e-05/0.1893, allocations: 6.484 kB / 416.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of Solve: time 0.0009646/0.1903, allocations: 0.6435 MB / 416.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of Jacobian: time 0.006228/0.1966, allocations: 6.373 MB / 423.3 MB, free: 10.7 MB / 334.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_last, 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: ........... 58 (scalar:37, array:21, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 26 (generic: 26, 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: ........... 83 (scalar:62, array:21, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 62 (generic: 62, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 9.16e-05/0.1967, allocations: 41.39 kB / 423.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of SimCode: time 0.00947/0.2061, allocations: 11.28 MB / 434.6 MB, free: 15.38 MB / 350.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.