Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001242/0.001242, allocations: 107.2 kB / 16.42 MB, free: 6.527 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.001143/0.001143, allocations: 183.2 kB / 17.35 MB, free: 5.73 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.269/1.269, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.239e-05/1.241e-05, allocations: 3.547 kB / 327.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL): time 0.004839/0.004859, allocations: 4.59 MB / 331.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.00672, allocations: 1.364 MB / 333.2 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.006951, allocations: 15.94 kB / 333.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.007193, allocations: 126.7 kB / 333.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.007571, allocations: 178.5 kB / 333.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.008013, allocations: 283.6 kB / 333.8 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008911/0.008912, allocations: 1.092 MB / 334.9 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00047/0.009391, allocations: 394.2 kB / 335.3 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.009681, allocations: 322.8 kB / 335.6 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.009995, allocations: 350.3 kB / 335.9 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.235e-05/0.01009, allocations: 80 kB / 336 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.088e-05/0.01019, allocations: 80 kB / 336.1 MB, free: 10.4 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0007076/0.0109, allocations: 1.155 MB / 337.2 MB, free: 9.234 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003514/0.01126, allocations: 0.7198 MB / 337.9 MB, free: 8.504 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.01138, allocations: 135.6 kB / 338.1 MB, free: 8.371 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.933e-05/0.01145, allocations: 31.75 kB / 338.1 MB, free: 8.34 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.002632/0.01409, allocations: 3.315 MB / 341.4 MB, free: 4.887 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001701/0.01427, allocations: 175 kB / 341.6 MB, free: 4.719 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001391/0.01566, allocations: 1.632 MB / 343.2 MB, free: 3.051 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001267/0.0158, allocations: 147.7 kB / 343.4 MB, free: 2.906 MB / 286.1 MB Notification: Performance of Alias: time 0.002656/0.01846, allocations: 2.861 MB / 346.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simplify2: time 9.134e-05/0.01856, allocations: 95.86 kB / 346.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of Events: time 0.0003234/0.01889, allocations: 299.4 kB / 346.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006056/0.01951, allocations: 0.5448 MB / 347.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0005445/0.02006, allocations: 0.5978 MB / 347.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of Causalize: time 0.003034/0.0231, allocations: 3.371 MB / 351.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001123/0.02423, allocations: 1.272 MB / 352.4 MB, free: 9.461 MB / 302.1 MB Notification: Performance of Inline: time 0.002149/0.02639, allocations: 2.38 MB / 354.8 MB, free: 7.023 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001633/0.02656, allocations: 167.6 kB / 354.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0002151/0.02678, allocations: 271.6 kB / 355.2 MB, free: 6.57 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.01353/0.04032, allocations: 16.17 MB / 371.4 MB, free: 6.953 MB / 318.1 MB Notification: Performance of Tearing: time 0.0005773/0.04091, allocations: 0.7617 MB / 372.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of Initialization: time 7.51e-07/0.04092, allocations: 0 / 372.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of Tearing: time 0.0003335/0.04126, allocations: 458.4 kB / 372.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of Categorize: time 1.542e-05/0.04128, allocations: 4 kB / 372.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of Solve: time 0.0007298/0.04201, allocations: 0.5044 MB / 373.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0009155/0.04294, allocations: 1.029 MB / 374.1 MB, free: 4.012 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 8.081e-05/0.04303, allocations: 101.4 kB / 374.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of SimCode: time 0.002602/0.04564, allocations: 3.636 MB / 377.9 MB, free: 196 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.