Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001132/0.001132, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.001079/0.001079, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.261/1.261, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.021e-05, allocations: 2.281 kB / 327.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004395/0.004423, allocations: 3.647 MB / 330.9 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.005774, allocations: 0.9514 MB / 331.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.005947, allocations: 11.88 kB / 331.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.006139, allocations: 79.22 kB / 331.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.006428, allocations: 150.7 kB / 332 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.006723, allocations: 155.8 kB / 332.2 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006219/0.007354, allocations: 0.6773 MB / 332.9 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.007678, allocations: 219.7 kB / 333.1 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.007903, allocations: 219.2 kB / 333.3 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.008176, allocations: 246.9 kB / 333.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.428e-05/0.008249, allocations: 56 kB / 333.6 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.261e-05/0.008329, allocations: 60 kB / 333.7 MB, free: 12.81 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0006105/0.008944, allocations: 0.7958 MB / 334.4 MB, free: 12.01 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002708/0.009221, allocations: 496.5 kB / 334.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.009343, allocations: 91.69 kB / 335 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.865e-05/0.009397, allocations: 27.92 kB / 335.1 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.001964/0.01137, allocations: 2.36 MB / 337.4 MB, free: 8.914 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001501/0.01152, allocations: 125.3 kB / 337.5 MB, free: 8.793 MB / 286.1 MB Notification: Performance of Early Inline: time 0.00105/0.01258, allocations: 1.175 MB / 338.7 MB, free: 7.594 MB / 286.1 MB Notification: Performance of simplify1: time 8.993e-05/0.01268, allocations: 107.9 kB / 338.8 MB, free: 7.488 MB / 286.1 MB Notification: Performance of Alias: time 0.002019/0.0147, allocations: 2.031 MB / 340.8 MB, free: 5.234 MB / 286.1 MB Notification: Performance of simplify2: time 6.7e-05/0.01478, allocations: 71.91 kB / 340.9 MB, free: 5.164 MB / 286.1 MB Notification: Performance of Events: time 0.0002401/0.01503, allocations: 190.3 kB / 341.1 MB, free: 4.977 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003276/0.01537, allocations: 356 kB / 341.4 MB, free: 4.613 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0003762/0.01575, allocations: 414.5 kB / 341.9 MB, free: 4.148 MB / 286.1 MB Notification: Performance of Causalize: time 0.0019/0.01766, allocations: 2.123 MB / 344 MB, free: 1.98 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007387/0.01841, allocations: 0.8775 MB / 344.9 MB, free: 1.074 MB / 286.1 MB Notification: Performance of Inline: time 0.001362/0.01978, allocations: 1.575 MB / 346.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001019/0.01989, allocations: 103.6 kB / 346.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of Cleanup: time 5.955e-05/0.01995, allocations: 72.09 kB / 346.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of Causalize: time 0.004208/0.02417, allocations: 4.915 MB / 351.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Tearing: time 0.0007848/0.02497, allocations: 0.8035 MB / 352.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of Initialization: time 9.22e-07/0.02498, allocations: 0 / 352.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of Tearing: time 0.0007329/0.02572, allocations: 0.7943 MB / 353.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of Categorize: time 1.925e-05/0.02574, allocations: 7.938 kB / 353.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of Solve: time 0.0003083/0.02606, allocations: 206.1 kB / 353.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of Jacobian: time 0.001067/0.02713, allocations: 1.026 MB / 354.3 MB, free: 7.551 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.0001/0.02724, allocations: 45.88 kB / 354.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of SimCode: time 0.002081/0.02933, allocations: 2.706 MB / 357.1 MB, free: 4.766 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.