Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 113 kB / 17.75 MB, free: 5.348 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.001108/0.001108, allocations: 184.8 kB / 18.68 MB, free: 4.426 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.31/1.31, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.063e-05, allocations: 7.203 kB / 328.6 MB, free: 3.297 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R): time 0.005212/0.005241, allocations: 4.497 MB / 333.1 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.007177, allocations: 1.337 MB / 334.4 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.007421, allocations: 15.94 kB / 334.4 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.007673, allocations: 122.8 kB / 334.5 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.008039, allocations: 170.5 kB / 334.7 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.008482, allocations: 275.6 kB / 335 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008682/0.009359, allocations: 1.061 MB / 336 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004405/0.009809, allocations: 382.1 kB / 336.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.0101, allocations: 318.8 kB / 336.7 MB, free: 11.1 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.0104, allocations: 342.4 kB / 337 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.038e-05/0.0105, allocations: 80 kB / 337.1 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.256e-05/0.0106, allocations: 76 kB / 337.2 MB, free: 10.61 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0006639/0.01127, allocations: 1.116 MB / 338.3 MB, free: 9.484 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003308/0.01161, allocations: 0.6967 MB / 339 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.01172, allocations: 131.6 kB / 339.1 MB, free: 8.648 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.477e-05/0.0118, allocations: 35.73 kB / 339.2 MB, free: 8.613 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: 139 (139) * Number of variables: 139 (138) Notification: Performance of Bindings: time 0.002552/0.01436, allocations: 3.214 MB / 342.4 MB, free: 5.258 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001775/0.01454, allocations: 170.9 kB / 342.6 MB, free: 5.094 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001348/0.0159, allocations: 1.577 MB / 344.1 MB, free: 3.484 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001302/0.01604, allocations: 135.8 kB / 344.3 MB, free: 3.352 MB / 286.1 MB Notification: Performance of Alias: time 0.002558/0.0186, allocations: 2.744 MB / 347 MB, free: 324 kB / 286.1 MB Notification: Performance of simplify2: time 7.903e-05/0.01869, allocations: 83.88 kB / 347.1 MB, free: 240 kB / 286.1 MB Notification: Performance of Events: time 0.000344/0.01904, allocations: 307.3 kB / 347.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005737/0.01963, allocations: 0.5294 MB / 347.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0005467/0.02018, allocations: 0.6016 MB / 348.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of Causalize: time 0.00291/0.0231, allocations: 3.309 MB / 351.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001058/0.02417, allocations: 1.261 MB / 353.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of Inline: time 0.002136/0.02631, allocations: 2.343 MB / 355.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000166/0.02649, allocations: 167.6 kB / 355.6 MB, free: 7.523 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0002181/0.02671, allocations: 263.6 kB / 355.9 MB, free: 7.262 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_178) 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_177) slice: {}; Notification: Performance of Causalize: time 0.01368/0.0404, allocations: 15.91 MB / 371.8 MB, free: 7.863 MB / 318.1 MB Notification: Performance of Tearing: time 0.0007207/0.04114, allocations: 0.8864 MB / 372.7 MB, free: 6.879 MB / 318.1 MB Notification: Performance of Initialization: time 9.21e-07/0.04115, allocations: 4 kB / 372.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of Tearing: time 0.0004136/0.04157, allocations: 0.5132 MB / 373.2 MB, free: 6.312 MB / 318.1 MB Notification: Performance of Categorize: time 2.394e-05/0.0416, allocations: 4 kB / 373.2 MB, free: 6.309 MB / 318.1 MB Notification: Performance of Solve: time 0.0007123/0.04232, allocations: 0.4889 MB / 373.7 MB, free: 5.812 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0009497/0.04328, allocations: 1.029 MB / 374.7 MB, free: 4.742 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: ................. 40 (40) {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_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: ........... 77 (scalar:66, 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: ........... 151 (scalar:140, 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: ........... 151 (scalar:140, 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 8.446e-05/0.04337, allocations: 99.94 kB / 374.8 MB, free: 4.656 MB / 318.1 MB Notification: Performance of SimCode: time 0.002688/0.04606, allocations: 3.623 MB / 378.4 MB, free: 0.9453 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.