Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 104.1 kB / 18.41 MB, free: 4.652 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.001399/0.001399, allocations: 194.6 kB / 19.35 MB, free: 3.727 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.599/1.599, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.328e-05, allocations: 3.266 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL): time 0.00653/0.006561, allocations: 4.607 MB / 333.8 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.009401, allocations: 1.356 MB / 335.2 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003505/0.009766, allocations: 19.88 kB / 335.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.01012, allocations: 126.8 kB / 335.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004864/0.01062, allocations: 174.4 kB / 335.5 MB, free: 12.99 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.01125, allocations: 283.6 kB / 335.8 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.01242, allocations: 1.092 MB / 336.9 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000593/0.01302, allocations: 394.2 kB / 337.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003648/0.0134, allocations: 326.7 kB / 337.6 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004038/0.01381, allocations: 354.3 kB / 337.9 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.01393, allocations: 80 kB / 338 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.01404, allocations: 80 kB / 338.1 MB, free: 10.4 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.000837/0.01488, allocations: 1.151 MB / 339.2 MB, free: 9.234 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004258/0.01532, allocations: 0.7236 MB / 339.9 MB, free: 8.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.01546, allocations: 135.6 kB / 340.1 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001621/0.01563, allocations: 31.81 kB / 340.1 MB, free: 8.336 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: 145 (145) * Number of variables: 145 (144) Notification: Performance of Bindings: time 0.003058/0.0187, allocations: 3.315 MB / 343.4 MB, free: 4.883 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002249/0.01893, allocations: 171 kB / 343.6 MB, free: 4.719 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001663/0.0206, allocations: 1.632 MB / 345.2 MB, free: 3.051 MB / 286.1 MB Notification: Performance of simplify1: time 0.000156/0.02077, allocations: 139.8 kB / 345.3 MB, free: 2.914 MB / 286.1 MB Notification: Performance of Alias: time 0.00397/0.02474, allocations: 3.179 MB / 348.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001096/0.02487, allocations: 91.86 kB / 348.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Events: time 0.000466/0.02534, allocations: 318.7 kB / 348.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of Detect States: time 0.0007372/0.02609, allocations: 0.5448 MB / 349.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0007472/0.02685, allocations: 0.6017 MB / 350.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of Causalize: time 0.002978/0.02984, allocations: 2.423 MB / 352.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001408/0.03126, allocations: 1.28 MB / 353.8 MB, free: 9.992 MB / 302.1 MB Notification: Performance of Inline: time 0.002708/0.03398, allocations: 2.386 MB / 356.2 MB, free: 7.547 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001959/0.03419, allocations: 163.7 kB / 356.3 MB, free: 7.371 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0002614/0.03445, allocations: 271.5 kB / 356.6 MB, free: 7.098 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_184) 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_183) slice: {}; Notification: Performance of Causalize: time 0.01812/0.05258, allocations: 14.42 MB / 371 MB, free: 8.383 MB / 318.1 MB Notification: Performance of Tearing: time 0.0008053/0.05342, allocations: 0.7695 MB / 371.8 MB, free: 7.516 MB / 318.1 MB Notification: Performance of Initialization: time 1.122e-06/0.05343, allocations: 0 / 371.8 MB, free: 7.516 MB / 318.1 MB Notification: Performance of Tearing: time 0.000411/0.05385, allocations: 446 kB / 372.2 MB, free: 7.031 MB / 318.1 MB Notification: Performance of Categorize: time 3.152e-05/0.05389, allocations: 8.047 kB / 372.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of Solve: time 0.001051/0.05495, allocations: 0.5044 MB / 372.7 MB, free: 6.512 MB / 318.1 MB Notification: Performance of Jacobian: time 0.001171/0.05614, allocations: 1.033 MB / 373.8 MB, free: 5.43 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: ................. 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: ........... 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: ... 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.0001373/0.05628, allocations: 92.94 kB / 373.8 MB, free: 5.352 MB / 318.1 MB Notification: Performance of SimCode: time 0.003491/0.05978, allocations: 3.636 MB / 377.5 MB, free: 1.625 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.