Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.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.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001008, allocations: 107.5 kB / 16.42 MB, free: 6.453 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.0009231/0.0009231, allocations: 188 kB / 17.35 MB, free: 5.707 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.234/1.234, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.245e-05, allocations: 6.219 kB / 327.2 MB, free: 3.27 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL): time 0.005842/0.005873, allocations: 4.872 MB / 332.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.008295, allocations: 1.442 MB / 333.6 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002941/0.0086, allocations: 19.88 kB / 333.6 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.008922, allocations: 138.7 kB / 333.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004546/0.009394, allocations: 206.2 kB / 333.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.009951, allocations: 303.5 kB / 334.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.01109, allocations: 1.213 MB / 335.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007362/0.01183, allocations: 466.8 kB / 335.9 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004412/0.01228, allocations: 382.5 kB / 336.2 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004306/0.01272, allocations: 382.2 kB / 336.6 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.01287, allocations: 92 kB / 336.7 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.01298, allocations: 92 kB / 336.8 MB, free: 9.637 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0009488/0.01394, allocations: 1.275 MB / 338.1 MB, free: 8.348 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005473/0.01449, allocations: 0.789 MB / 338.9 MB, free: 7.547 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.01465, allocations: 143.6 kB / 339 MB, free: 7.406 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.908e-05/0.01475, allocations: 35.81 kB / 339 MB, free: 7.371 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: 162 (162) * Number of variables: 162 (161) Notification: Performance of Bindings: time 0.003456/0.01821, allocations: 3.742 MB / 342.8 MB, free: 3.473 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0003111/0.01853, allocations: 194.9 kB / 343 MB, free: 3.277 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001999/0.02054, allocations: 1.867 MB / 344.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001489/0.02069, allocations: 147.8 kB / 345 MB, free: 1.227 MB / 286.1 MB Notification: Performance of Alias: time 0.003298/0.024, allocations: 3.167 MB / 348.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simplify2: time 9.198e-05/0.0241, allocations: 95.86 kB / 348.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Events: time 0.0003853/0.02449, allocations: 347.2 kB / 348.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006206/0.02512, allocations: 0.5925 MB / 349.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0007213/0.02585, allocations: 0.6877 MB / 349.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of Causalize: time 0.003823/0.02968, allocations: 3.89 MB / 353.8 MB, free: 8.078 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001385/0.03108, allocations: 1.459 MB / 355.2 MB, free: 6.586 MB / 302.1 MB Notification: Performance of Inline: time 0.002722/0.03381, allocations: 2.661 MB / 357.9 MB, free: 3.859 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001823/0.034, allocations: 175.6 kB / 358 MB, free: 3.676 MB / 302.1 MB Notification: Performance of Cleanup: time 0.000335/0.03435, allocations: 307.5 kB / 358.3 MB, free: 3.363 MB / 302.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $SEV_11 = rectifier.thyristor_p1.s < 0.0 or $PRE.rectifier.thyristor_p1.off and not rectifier.thyristor_p1.fire ($RES_EVT_201) slice: {}; [SCAL] (1) $SEV_10 = rectifier.thyristor_p2.s < 0.0 or $PRE.rectifier.thyristor_p2.off and not rectifier.thyristor_p2.fire ($RES_EVT_200) slice: {}; [SCAL] (1) $SEV_9 = rectifier.thyristor_n1.s < 0.0 or $PRE.rectifier.thyristor_n1.off and not rectifier.thyristor_p2.fire ($RES_EVT_199) slice: {}; [SCAL] (1) $SEV_8 = rectifier.thyristor_n2.s < 0.0 or $PRE.rectifier.thyristor_n2.off and not rectifier.thyristor_p1.fire ($RES_EVT_198) slice: {}; Notification: Performance of Causalize: time 0.01586/0.05021, allocations: 18.15 MB / 376.5 MB, free: 1.977 MB / 318.1 MB Notification: Performance of Tearing: time 0.001178/0.05141, allocations: 1.531 MB / 378 MB, free: 256 kB / 318.1 MB Notification: Performance of Initialization: time 1.072e-06/0.05142, allocations: 0 / 378 MB, free: 256 kB / 318.1 MB Notification: Performance of Tearing: time 0.1552/0.2066, allocations: 0.8809 MB / 378.9 MB, free: 43.42 MB / 318.1 MB Notification: Performance of Categorize: time 3.25e-05/0.2067, allocations: 6.531 kB / 378.9 MB, free: 43.42 MB / 318.1 MB Notification: Performance of Solve: time 0.001229/0.2079, allocations: 0.5341 MB / 379.4 MB, free: 43.39 MB / 318.1 MB Notification: Performance of Jacobian: time 0.001281/0.2092, allocations: 1.236 MB / 380.7 MB, free: 43.08 MB / 318.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: ......... 8 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 4 (4) {meanVoltage.x, rootMeanSquareVoltage.mean.x, meanCurrent.x, inductor.i} * Number of discrete states: .................... 5 (5) {pulse2.twoPulse.timerNegative.entryTime, pulse2.twoPulse.timerPositive.entryTime, meanCurrent.y, rootMeanSquareVoltage.mean.y, meanVoltage.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 43 (43) {rectifier.enableLogic.booleanReplicator.y, rectifier.enableLogic.internalEnable, rectifier.andCondition_p.u2, rectifier.andCondition_n.u2, rectifier.thyristor_p1.off, rectifier.thyristor_p1.fire, rectifier.thyristor_p2.off, rectifier.thyristor_p2.fire, rectifier.thyristor_n1.off, rectifier.thyristor_n2.off, pulse2.twoPulse.positiveThreshold.y, pulse2.twoPulse.negativeThreshold.y, pulse2.twoPulse.timerPositive.u, pulse2.twoPulse.timerNegative.u, pulse2.twoPulse.greaterPositive.y, pulse2.twoPulse.negativeEqual.y, pulse2.twoPulse.fire_p, pulse2.twoPulse.fire_n, pulse2.fire_p, pulse2.fire_n, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_8, $TEV_7, $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: ........... 82 (scalar:71, array:11, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 164 (scalar:153, array:11, 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: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 164 (scalar:153, array:11, 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: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 8.437e-05/0.2093, allocations: 108.5 kB / 380.8 MB, free: 43.05 MB / 318.1 MB Notification: Performance of SimCode: time 0.00367/0.213, allocations: 4.185 MB / 385 MB, free: 41.6 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.