Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001385/0.001385, allocations: 114.6 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.001352/0.001352, allocations: 204 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.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.277e-05, allocations: 2.281 kB / 359.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004713/0.004743, allocations: 3.737 MB / 363.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.006321, allocations: 1.009 MB / 364.1 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.006513, allocations: 11.94 kB / 364.1 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.006745, allocations: 71.23 kB / 364.2 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.007053, allocations: 146.7 kB / 364.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.007443, allocations: 175.7 kB / 364.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006633/0.008116, allocations: 0.6965 MB / 365.2 MB, free: 7.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003571/0.008481, allocations: 220.4 kB / 365.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.008789, allocations: 239.1 kB / 365.6 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.009058, allocations: 254.8 kB / 365.9 MB, free: 6.363 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.613e-05/0.009131, allocations: 56 kB / 365.9 MB, free: 6.309 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.009256, allocations: 60 kB / 366 MB, free: 6.25 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005631/0.009827, allocations: 0.8383 MB / 366.8 MB, free: 5.402 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002861/0.01012, allocations: 0.5003 MB / 367.3 MB, free: 4.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.284e-05/0.01022, allocations: 95.69 kB / 367.4 MB, free: 4.801 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.885e-05/0.01031, allocations: 27.92 kB / 367.5 MB, free: 4.773 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: 103 (103) * Number of variables: 103 (102) Notification: Performance of Bindings: time 0.002134/0.01245, allocations: 2.453 MB / 369.9 MB, free: 2.203 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001251/0.01258, allocations: 99.91 kB / 370 MB, free: 2.105 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001212/0.0138, allocations: 1.393 MB / 371.4 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of simplify1: time 9.985e-05/0.01391, allocations: 103.9 kB / 371.5 MB, free: 0.582 MB / 302.1 MB Notification: Performance of Alias: time 0.2054/0.2193, allocations: 2.354 MB / 373.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001578/0.2196, allocations: 70.59 kB / 373.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of Events: time 0.0004212/0.22, allocations: 193.8 kB / 374.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005755/0.2206, allocations: 360.3 kB / 374.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0005595/0.2212, allocations: 411 kB / 374.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of Causalize: time 0.002066/0.2232, allocations: 1.543 MB / 376.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008655/0.2241, allocations: 0.8751 MB / 377.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of Inline: time 0.001752/0.2259, allocations: 1.79 MB / 379.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001063/0.226, allocations: 109.2 kB / 379.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of Cleanup: time 6.925e-05/0.2261, allocations: 72.84 kB / 379.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of Causalize: time 0.005406/0.2315, allocations: 4.373 MB / 383.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of Tearing: time 0.0008523/0.2323, allocations: 0.7999 MB / 384.4 MB, free: 10 MB / 302.1 MB Notification: Performance of Initialization: time 9.92e-07/0.2324, allocations: 0 / 384.4 MB, free: 10 MB / 302.1 MB Notification: Performance of Tearing: time 0.000827/0.2332, allocations: 0.8022 MB / 385.2 MB, free: 9.543 MB / 302.1 MB Notification: Performance of Categorize: time 2.364e-05/0.2332, allocations: 5.5 kB / 385.2 MB, free: 9.543 MB / 302.1 MB Notification: Performance of Solve: time 0.0004007/0.2336, allocations: 206.8 kB / 385.4 MB, free: 9.477 MB / 302.1 MB Notification: Performance of Jacobian: time 0.001171/0.2348, allocations: 1.013 MB / 386.4 MB, free: 8.977 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_last, 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: ........... 32 (scalar:32, 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 5.82e-05/0.2349, allocations: 46.31 kB / 386.5 MB, free: 8.961 MB / 302.1 MB Notification: Performance of SimCode: time 0.002777/0.2377, allocations: 2.755 MB / 389.2 MB, free: 7.445 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.