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_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.1_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.1_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.001508/0.001508, allocations: 107.6 kB / 16.42 MB, free: 6.516 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.00117/0.00117, allocations: 188.3 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.223/1.223, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.705e-05, allocations: 3.203 kB / 327.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic): time 0.00581/0.005847, allocations: 4.747 MB / 332 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.008064, allocations: 1.38 MB / 333.4 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.008334, allocations: 19.88 kB / 333.4 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.008637, allocations: 130.7 kB / 333.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.009051, allocations: 190.3 kB / 333.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.009568, allocations: 287.5 kB / 334 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009977/0.01057, allocations: 1.131 MB / 335.1 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005715/0.01116, allocations: 450.7 kB / 335.5 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.01151, allocations: 342.7 kB / 335.9 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.01186, allocations: 374.2 kB / 336.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.01197, allocations: 84 kB / 336.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-05/0.01208, allocations: 84 kB / 336.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0007984/0.01288, allocations: 1.205 MB / 337.6 MB, free: 8.82 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004695/0.01336, allocations: 0.7505 MB / 338.4 MB, free: 8.059 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.01349, allocations: 147.5 kB / 338.5 MB, free: 7.914 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.371e-05/0.01359, allocations: 35.75 kB / 338.5 MB, free: 7.879 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.002962/0.01655, allocations: 3.462 MB / 342 MB, free: 4.262 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002729/0.01684, allocations: 287.2 kB / 342.3 MB, free: 3.98 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001766/0.01861, allocations: 1.714 MB / 344 MB, free: 2.23 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001496/0.01877, allocations: 151.8 kB / 344.1 MB, free: 2.082 MB / 286.1 MB Notification: Performance of Alias: time 0.003288/0.02206, allocations: 3.031 MB / 347.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simplify2: time 9.519e-05/0.02217, allocations: 87.86 kB / 347.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of Events: time 0.000402/0.02258, allocations: 323.2 kB / 347.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006221/0.02322, allocations: 0.5642 MB / 348.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0007088/0.02393, allocations: 0.6329 MB / 348.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of Causalize: time 0.003553/0.02749, allocations: 3.512 MB / 352.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001208/0.02871, allocations: 1.343 MB / 353.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of Inline: time 0.002569/0.03129, allocations: 2.405 MB / 356 MB, free: 5.715 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001677/0.03147, allocations: 163.7 kB / 356.2 MB, free: 5.539 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0002354/0.03171, allocations: 275.5 kB / 356.5 MB, free: 5.262 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.01418/0.04589, allocations: 16.13 MB / 372.6 MB, free: 5.691 MB / 318.1 MB Notification: Performance of Tearing: time 0.0006853/0.04659, allocations: 0.7655 MB / 373.4 MB, free: 4.828 MB / 318.1 MB Notification: Performance of Initialization: time 8.52e-07/0.0466, allocations: 0 / 373.4 MB, free: 4.828 MB / 318.1 MB Notification: Performance of Tearing: time 0.0003568/0.04697, allocations: 454 kB / 373.8 MB, free: 4.336 MB / 318.1 MB Notification: Performance of Categorize: time 2.286e-05/0.047, allocations: 7.984 kB / 373.8 MB, free: 4.328 MB / 318.1 MB Notification: Performance of Solve: time 0.0008085/0.04781, allocations: 0.5161 MB / 374.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of Jacobian: time 0.001021/0.04884, allocations: 1.049 MB / 375.4 MB, free: 2.711 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 9.863e-05/0.04895, allocations: 107.4 kB / 375.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of SimCode: time 0.1461/0.1951, allocations: 3.712 MB / 379.2 MB, free: 42.42 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.