Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 102.7 kB / 16.42 MB, free: 6.461 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.001105/0.001105, allocations: 190.6 kB / 17.36 MB, free: 5.734 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.483/1.483, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.599e-05, allocations: 6.281 kB / 327.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic): time 0.005663/0.005697, allocations: 4.74 MB / 332 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.008271, allocations: 1.387 MB / 333.4 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003056/0.008588, allocations: 15.94 kB / 333.4 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.008913, allocations: 134.7 kB / 333.5 MB, free: 12.99 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004698/0.009391, allocations: 182.4 kB / 333.7 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005366/0.00997, allocations: 291.5 kB / 334 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000992/0.01097, allocations: 1.135 MB / 335.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005596/0.01154, allocations: 454.7 kB / 335.5 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004618/0.01201, allocations: 338.7 kB / 335.9 MB, free: 10.58 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003987/0.01242, allocations: 370.3 kB / 336.2 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.01255, allocations: 84 kB / 336.3 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.01267, allocations: 84 kB / 336.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0008211/0.0135, allocations: 1.209 MB / 337.6 MB, free: 8.832 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004108/0.01392, allocations: 0.7544 MB / 338.4 MB, free: 8.066 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.01406, allocations: 139.5 kB / 338.5 MB, free: 7.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001125/0.01417, allocations: 35.81 kB / 338.5 MB, free: 7.895 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: 153 (153) * Number of variables: 153 (152) Notification: Performance of Bindings: time 0.003052/0.01723, allocations: 3.47 MB / 342 MB, free: 4.27 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002933/0.01753, allocations: 271.2 kB / 342.3 MB, free: 4.004 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001626/0.01917, allocations: 1.725 MB / 344 MB, free: 2.242 MB / 286.1 MB Notification: Performance of simplify1: time 0.000153/0.01933, allocations: 147.8 kB / 344.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of Alias: time 0.003257/0.02259, allocations: 3.03 MB / 347.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simplify2: time 9.078e-05/0.0227, allocations: 97.2 kB / 347.3 MB, free: 14.67 MB / 302.1 MB Notification: Performance of Events: time 0.0004183/0.02312, allocations: 314.7 kB / 347.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005413/0.02368, allocations: 0.5565 MB / 348.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000607/0.02429, allocations: 0.6406 MB / 348.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of Causalize: time 0.003443/0.02775, allocations: 3.509 MB / 352.3 MB, free: 9.57 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001357/0.02912, allocations: 1.347 MB / 353.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of Inline: time 0.002305/0.03143, allocations: 2.409 MB / 356 MB, free: 5.727 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001636/0.03161, allocations: 155.7 kB / 356.2 MB, free: 5.559 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0003226/0.03193, allocations: 275.6 kB / 356.5 MB, free: 5.281 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_9 = rectifier.thyristor_p.s < 0.0 or $PRE.rectifier.thyristor_p.off and not rectifier.andCondition_p.y ($RES_EVT_194) slice: {}; [SCAL] (1) $SEV_8 = rectifier.thyristor_n.s < 0.0 or $PRE.rectifier.thyristor_n.off and not rectifier.andCondition_n.y ($RES_EVT_193) slice: {}; Notification: Performance of Causalize: time 0.01434/0.04628, allocations: 16.13 MB / 372.6 MB, free: 5.707 MB / 318.1 MB Notification: Performance of Tearing: time 0.0006516/0.04694, allocations: 0.7693 MB / 373.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of Initialization: time 7.01e-07/0.04696, allocations: 4 kB / 373.4 MB, free: 4.836 MB / 318.1 MB Notification: Performance of Tearing: time 0.0003574/0.04732, allocations: 454 kB / 373.8 MB, free: 4.344 MB / 318.1 MB Notification: Performance of Categorize: time 2.622e-05/0.04736, allocations: 4 kB / 373.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of Solve: time 0.0008069/0.04817, allocations: 0.5161 MB / 374.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of Jacobian: time 0.00102/0.0492, allocations: 1.045 MB / 375.4 MB, free: 2.727 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: ................. 42 (42) {rectifier.enableLogic.booleanReplicator.y, rectifier.enableLogic.internalEnable, rectifier.andCondition_p.u2, rectifier.andCondition_p.y, rectifier.andCondition_n.u2, rectifier.andCondition_n.y, rectifier.thyristor_p.off, rectifier.thyristor_n.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_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_11, $TEV_10, $TEV_9, $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: ........... 86 (scalar:75, 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: ........... 158 (scalar:147, 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: ........... 158 (scalar:147, 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 9.615e-05/0.0493, allocations: 104.2 kB / 375.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of SimCode: time 0.18/0.2293, allocations: 3.722 MB / 379.2 MB, free: 42.39 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.