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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 107 kB / 16.42 MB, free: 6.5 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.00114/0.00114, allocations: 187.1 kB / 17.35 MB, free: 5.754 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.232/1.232, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.444e-05, allocations: 2.5 kB / 327.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R): time 0.005719/0.005753, allocations: 4.775 MB / 332 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.008245, allocations: 1.419 MB / 333.4 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002815/0.008537, allocations: 19.88 kB / 333.4 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.008848, allocations: 130.7 kB / 333.6 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.009288, allocations: 202.2 kB / 333.8 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005085/0.009822, allocations: 303.5 kB / 334.1 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.01091, allocations: 1.189 MB / 335.3 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006298/0.01155, allocations: 450.7 kB / 335.7 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004008/0.01196, allocations: 366.6 kB / 336.1 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004246/0.0124, allocations: 378.3 kB / 336.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.01252, allocations: 92 kB / 336.5 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.01265, allocations: 92 kB / 336.6 MB, free: 9.855 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0009456/0.0136, allocations: 1.232 MB / 337.8 MB, free: 8.609 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004821/0.01409, allocations: 0.7659 MB / 338.6 MB, free: 7.832 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.01423, allocations: 139.6 kB / 338.7 MB, free: 7.695 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001024/0.01434, allocations: 31.81 kB / 338.8 MB, free: 7.664 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: 156 (156) * Number of variables: 156 (155) Notification: Performance of Bindings: time 0.003203/0.01755, allocations: 3.551 MB / 342.3 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002716/0.01783, allocations: 279.3 kB / 342.6 MB, free: 3.688 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001644/0.01948, allocations: 1.808 MB / 344.4 MB, free: 1.844 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001565/0.01964, allocations: 151.8 kB / 344.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of Alias: time 0.003092/0.02274, allocations: 3.045 MB / 347.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001027/0.02286, allocations: 111.8 kB / 347.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of Events: time 0.0003874/0.02325, allocations: 331.2 kB / 348 MB, free: 13.9 MB / 302.1 MB Notification: Performance of Detect States: time 0.000578/0.02384, allocations: 0.5887 MB / 348.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006784/0.02453, allocations: 0.672 MB / 349.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of Causalize: time 0.003649/0.02818, allocations: 3.844 MB / 353.1 MB, free: 8.738 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001321/0.02951, allocations: 1.444 MB / 354.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of Inline: time 0.00258/0.0321, allocations: 2.618 MB / 357.2 MB, free: 4.578 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001995/0.03231, allocations: 171.7 kB / 357.4 MB, free: 4.398 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0002911/0.03261, allocations: 299.5 kB / 357.7 MB, free: 4.094 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_195) 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_194) 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_193) 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_192) slice: {}; Notification: Performance of Causalize: time 0.01606/0.04867, allocations: 17.89 MB / 375.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of Tearing: time 0.001287/0.04999, allocations: 1.368 MB / 376.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of Initialization: time 1.112e-06/0.05, allocations: 0 / 376.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of Tearing: time 0.0007971/0.0508, allocations: 0.7981 MB / 377.7 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of Categorize: time 3.237e-05/0.05084, allocations: 7.938 kB / 377.7 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of Solve: time 0.0008709/0.05172, allocations: 0.5083 MB / 378.2 MB, free: 92 kB / 318.1 MB Notification: Performance of Jacobian: time 0.1706/0.2223, allocations: 1.482 MB / 379.7 MB, free: 43.24 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: ............................. 3 (3) {meanVoltage.x, rootMeanSquareVoltage.mean.x, meanCurrent.x} * 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: ........... 76 (scalar:65, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 157 (scalar:146, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 157 (scalar:146, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 0.0001401/0.2225, allocations: 98.89 kB / 379.8 MB, free: 43.21 MB / 318.1 MB Notification: Performance of SimCode: time 0.004066/0.2266, allocations: 4.19 MB / 384 MB, free: 41.79 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.