Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001344/0.001344, allocations: 104.6 kB / 16.42 MB, free: 5.957 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.001214/0.001214, allocations: 185.5 kB / 17.36 MB, free: 5.574 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.449/1.449, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.511e-05, allocations: 2.281 kB / 327.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL): time 0.005969/0.006002, allocations: 4.596 MB / 331.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002812/0.008839, allocations: 1.356 MB / 333.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003824/0.009238, allocations: 15.94 kB / 333.2 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003203/0.009565, allocations: 126.8 kB / 333.3 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004784/0.0101, allocations: 182.4 kB / 333.5 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.0107, allocations: 279.5 kB / 333.8 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.01177, allocations: 1.096 MB / 334.9 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005661/0.01234, allocations: 394.2 kB / 335.3 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003705/0.01272, allocations: 330.8 kB / 335.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003642/0.0131, allocations: 346.3 kB / 335.9 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.01321, allocations: 80 kB / 336 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.01332, allocations: 80 kB / 336.1 MB, free: 10.39 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0008127/0.01414, allocations: 1.155 MB / 337.2 MB, free: 9.219 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004332/0.01459, allocations: 0.7197 MB / 337.9 MB, free: 8.488 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.01473, allocations: 131.6 kB / 338.1 MB, free: 8.359 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001338/0.01487, allocations: 39.8 kB / 338.1 MB, free: 8.32 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.003028/0.0179, allocations: 3.307 MB / 341.4 MB, free: 4.875 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.000209/0.01812, allocations: 175 kB / 341.6 MB, free: 4.707 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001594/0.01972, allocations: 1.628 MB / 343.2 MB, free: 3.043 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001626/0.01989, allocations: 139.8 kB / 343.4 MB, free: 2.906 MB / 286.1 MB Notification: Performance of Alias: time 0.003196/0.0231, allocations: 2.873 MB / 346.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001041/0.02322, allocations: 91.78 kB / 346.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of Events: time 0.0003635/0.02359, allocations: 299.3 kB / 346.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of Detect States: time 0.0007575/0.02436, allocations: 0.5371 MB / 347.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006428/0.02501, allocations: 0.6056 MB / 347.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of Causalize: time 0.003305/0.02832, allocations: 3.371 MB / 351.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001196/0.02953, allocations: 1.268 MB / 352.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of Inline: time 0.002459/0.032, allocations: 2.382 MB / 354.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001755/0.03219, allocations: 171.6 kB / 354.9 MB, free: 6.832 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0002555/0.03245, allocations: 267.6 kB / 355.2 MB, free: 6.562 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.01562/0.04807, allocations: 16.16 MB / 371.4 MB, free: 6.957 MB / 318.1 MB Notification: Performance of Tearing: time 0.0007165/0.04882, allocations: 0.7735 MB / 372.1 MB, free: 6.086 MB / 318.1 MB Notification: Performance of Initialization: time 1.082e-06/0.04883, allocations: 0 / 372.1 MB, free: 6.086 MB / 318.1 MB Notification: Performance of Tearing: time 0.0004059/0.04924, allocations: 453.8 kB / 372.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of Categorize: time 2.82e-05/0.04928, allocations: 11.94 kB / 372.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of Solve: time 0.0008711/0.05016, allocations: 0.5122 MB / 373.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of Jacobian: time 0.001048/0.05122, allocations: 1.026 MB / 374.1 MB, free: 3.996 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 9.899e-05/0.05132, allocations: 92.5 kB / 374.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of SimCode: time 0.003222/0.05455, allocations: 3.64 MB / 377.9 MB, free: 184 kB / 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.