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_RLV_Characteristic.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_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 111.8 kB / 17.75 MB, free: 5.312 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.001124/0.001124, allocations: 185.8 kB / 18.68 MB, free: 4.398 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.294/1.294, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/1.993e-05, allocations: 5.234 kB / 328.6 MB, free: 3.301 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic): time 0.005234/0.005262, allocations: 4.735 MB / 333.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.007212, allocations: 1.384 MB / 334.7 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002578/0.007481, allocations: 19.88 kB / 334.7 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.007747, allocations: 130.7 kB / 334.8 MB, free: 13 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003854/0.00814, allocations: 182.4 kB / 335 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.008623, allocations: 283.5 kB / 335.3 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009394/0.009572, allocations: 1.139 MB / 336.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000546/0.01013, allocations: 454.7 kB / 336.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.01045, allocations: 342.7 kB / 337.2 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.01079, allocations: 366.3 kB / 337.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.38e-05/0.01089, allocations: 87.94 kB / 337.6 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.011, allocations: 84 kB / 337.7 MB, free: 10.06 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0007452/0.01175, allocations: 1.209 MB / 338.9 MB, free: 8.84 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003948/0.01215, allocations: 0.7505 MB / 339.7 MB, free: 8.078 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.01229, allocations: 143.5 kB / 339.8 MB, free: 7.938 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.458e-05/0.01236, allocations: 27.81 kB / 339.8 MB, free: 7.91 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: 153 (153) * Number of variables: 153 (152) Notification: Performance of Bindings: time 0.002739/0.01511, allocations: 3.474 MB / 343.3 MB, free: 4.281 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002635/0.01538, allocations: 275.2 kB / 343.6 MB, free: 4.012 MB / 286.1 MB Notification: Performance of Early Inline: time 0.00148/0.01687, allocations: 1.729 MB / 345.3 MB, free: 2.246 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001439/0.01702, allocations: 147.8 kB / 345.5 MB, free: 2.102 MB / 286.1 MB Notification: Performance of Alias: time 0.002979/0.02, allocations: 3.034 MB / 348.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simplify2: time 9.412e-05/0.02011, allocations: 95.86 kB / 348.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of Events: time 0.0003476/0.02046, allocations: 312.1 kB / 348.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005125/0.02099, allocations: 0.5565 MB / 349.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006032/0.0216, allocations: 0.6368 MB / 350.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of Causalize: time 0.003266/0.02487, allocations: 3.513 MB / 353.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001204/0.02609, allocations: 1.339 MB / 354.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of Inline: time 0.002231/0.02832, allocations: 2.412 MB / 357.4 MB, free: 5.734 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001701/0.02851, allocations: 163.7 kB / 357.5 MB, free: 5.559 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0002292/0.02874, allocations: 271.6 kB / 357.8 MB, free: 5.285 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_194) 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_193) slice: {}; Notification: Performance of Causalize: time 0.01413/0.04288, allocations: 16.13 MB / 373.9 MB, free: 5.711 MB / 318.1 MB Notification: Performance of Tearing: time 0.000635/0.04353, allocations: 0.7616 MB / 374.7 MB, free: 4.852 MB / 318.1 MB Notification: Performance of Initialization: time 4.81e-07/0.04354, allocations: 0 / 374.7 MB, free: 4.852 MB / 318.1 MB Notification: Performance of Tearing: time 0.0003544/0.0439, allocations: 458 kB / 375.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of Categorize: time 2.175e-05/0.04393, allocations: 7.984 kB / 375.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of Solve: time 0.0007766/0.04471, allocations: 0.5126 MB / 375.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0009868/0.04571, allocations: 1.049 MB / 376.7 MB, free: 2.734 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: ................. 42 (42) {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_11, $TEV_10, $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: ........... 86 (scalar:75, 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: ........... 158 (scalar:147, 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: ........... 158 (scalar:147, 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.977e-05/0.04581, allocations: 103.1 kB / 376.8 MB, free: 2.645 MB / 318.1 MB Notification: Performance of SimCode: time 0.1526/0.1984, allocations: 3.717 MB / 380.5 MB, free: 42.44 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.