Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001067/0.001067, allocations: 107.1 kB / 16.42 MB, free: 6.031 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.001191/0.001191, allocations: 186.6 kB / 17.35 MB, free: 5.602 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.46/1.46, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.427e-05, allocations: 3.547 kB / 327.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R): time 0.005697/0.005729, allocations: 4.492 MB / 331.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.008427, allocations: 1.337 MB / 333.1 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003315/0.008771, allocations: 11.94 kB / 333.1 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.0091, allocations: 122.8 kB / 333.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004473/0.009583, allocations: 174.5 kB / 333.4 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005089/0.0101, allocations: 279.6 kB / 333.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009698/0.01108, allocations: 1.061 MB / 334.7 MB, free: 11.78 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005222/0.01161, allocations: 382.1 kB / 335.1 MB, free: 11.4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003133/0.01193, allocations: 322.8 kB / 335.4 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003252/0.01227, allocations: 338.4 kB / 335.7 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.01238, allocations: 80 kB / 335.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.214e-05/0.01248, allocations: 76 kB / 335.9 MB, free: 10.6 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0007335/0.01322, allocations: 1.116 MB / 337 MB, free: 9.473 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003775/0.0136, allocations: 0.6967 MB / 337.7 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.01374, allocations: 131.6 kB / 337.8 MB, free: 8.637 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.859e-05/0.01384, allocations: 31.75 kB / 337.8 MB, free: 8.605 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.002823/0.01667, allocations: 3.214 MB / 341.1 MB, free: 5.25 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001892/0.01687, allocations: 171.2 kB / 341.2 MB, free: 5.086 MB / 286.1 MB Notification: Performance of Early Inline: time 0.002119/0.019, allocations: 1.577 MB / 342.8 MB, free: 3.477 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001383/0.01914, allocations: 135.8 kB / 342.9 MB, free: 3.344 MB / 286.1 MB Notification: Performance of Alias: time 0.003041/0.02219, allocations: 2.744 MB / 345.7 MB, free: 316 kB / 286.1 MB Notification: Performance of simplify2: time 0.0001063/0.02231, allocations: 87.88 kB / 345.8 MB, free: 228 kB / 286.1 MB Notification: Performance of Events: time 0.0004039/0.02273, allocations: 303.3 kB / 346.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006503/0.02339, allocations: 0.5184 MB / 346.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000732/0.02413, allocations: 0.6133 MB / 347.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of Causalize: time 0.003768/0.0279, allocations: 3.311 MB / 350.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001412/0.02933, allocations: 1.265 MB / 351.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of Inline: time 0.002495/0.03183, allocations: 2.335 MB / 354.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001968/0.03204, allocations: 163.6 kB / 354.3 MB, free: 7.52 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0002777/0.03233, allocations: 271.6 kB / 354.5 MB, free: 7.25 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.01607/0.0484, allocations: 15.91 MB / 370.4 MB, free: 7.859 MB / 318.1 MB Notification: Performance of Tearing: time 0.000902/0.04934, allocations: 0.8903 MB / 371.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of Initialization: time 1.072e-06/0.04935, allocations: 0 / 371.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of Tearing: time 0.0004955/0.04985, allocations: 0.521 MB / 371.9 MB, free: 6.301 MB / 318.1 MB Notification: Performance of Categorize: time 2.522e-05/0.04989, allocations: 5.312 kB / 371.9 MB, free: 6.297 MB / 318.1 MB Notification: Performance of Solve: time 0.0009371/0.05083, allocations: 0.4889 MB / 372.3 MB, free: 5.801 MB / 318.1 MB Notification: Performance of Jacobian: time 0.001045/0.05188, allocations: 1.029 MB / 373.4 MB, free: 4.73 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 9.025e-05/0.05198, allocations: 93.42 kB / 373.5 MB, free: 4.648 MB / 318.1 MB Notification: Performance of SimCode: time 0.003188/0.05518, allocations: 3.627 MB / 377.1 MB, free: 0.9336 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.