Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 107.6 kB / 16.42 MB, free: 6.043 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.001111/0.001111, allocations: 190.8 kB / 17.35 MB, free: 5.625 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.222/1.222, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.589e-05, allocations: 3.547 kB / 327.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV): time 0.005905/0.005939, allocations: 4.991 MB / 332.2 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.008293, allocations: 1.466 MB / 333.7 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.008591, allocations: 23.88 kB / 333.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.008917, allocations: 134.7 kB / 333.8 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004467/0.009392, allocations: 210.2 kB / 334 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.009934, allocations: 315.5 kB / 334.4 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.01105, allocations: 1.24 MB / 335.6 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006479/0.01171, allocations: 475 kB / 336.1 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003713/0.01209, allocations: 370.6 kB / 336.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003738/0.01248, allocations: 410.1 kB / 336.8 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.01262, allocations: 100 kB / 336.9 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.01274, allocations: 96 kB / 337 MB, free: 9.445 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001039/0.01379, allocations: 1.302 MB / 338.3 MB, free: 8.129 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005315/0.01433, allocations: 0.8121 MB / 339.1 MB, free: 7.305 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.01447, allocations: 147.6 kB / 339.3 MB, free: 7.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001133/0.01459, allocations: 35.75 kB / 339.3 MB, free: 7.125 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: 168 (168) * Number of variables: 168 (167) Notification: Performance of Bindings: time 0.003295/0.01789, allocations: 3.863 MB / 343.2 MB, free: 3.098 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002253/0.01812, allocations: 187 kB / 343.3 MB, free: 2.918 MB / 286.1 MB Notification: Performance of Early Inline: time 0.00172/0.01985, allocations: 1.91 MB / 345.3 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001581/0.02002, allocations: 159.8 kB / 345.4 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of Alias: time 0.003162/0.02319, allocations: 3.311 MB / 348.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simplify2: time 9.97e-05/0.0233, allocations: 99.86 kB / 348.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of Events: time 0.0004226/0.02373, allocations: 342.9 kB / 349.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006585/0.0244, allocations: 0.6062 MB / 349.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0008313/0.02524, allocations: 0.6877 MB / 350.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of Causalize: time 0.003824/0.02907, allocations: 3.926 MB / 354.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001336/0.03043, allocations: 1.467 MB / 355.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of Inline: time 0.002591/0.03303, allocations: 2.688 MB / 358.5 MB, free: 3.199 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001931/0.03323, allocations: 183.6 kB / 358.7 MB, free: 3.008 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0002782/0.03352, allocations: 311.5 kB / 359 MB, free: 2.691 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_11 = rectifier.thyristor_p1.s < 0.0 or $PRE.rectifier.thyristor_p1.off and not rectifier.thyristor_p1.fire ($RES_EVT_207) slice: {}; [SCAL] (1) $SEV_10 = rectifier.thyristor_p2.s < 0.0 or $PRE.rectifier.thyristor_p2.off and not rectifier.thyristor_p2.fire ($RES_EVT_206) slice: {}; [SCAL] (1) $SEV_9 = rectifier.thyristor_n1.s < 0.0 or $PRE.rectifier.thyristor_n1.off and not rectifier.thyristor_p2.fire ($RES_EVT_205) slice: {}; [SCAL] (1) $SEV_8 = rectifier.thyristor_n2.s < 0.0 or $PRE.rectifier.thyristor_n2.off and not rectifier.thyristor_p1.fire ($RES_EVT_204) slice: {}; Notification: Performance of Causalize: time 0.01591/0.04944, allocations: 18.43 MB / 377.4 MB, free: 1.051 MB / 318.1 MB Notification: Performance of Tearing: time 0.1537/0.2032, allocations: 1.52 MB / 379 MB, free: 43.46 MB / 318.1 MB Notification: Performance of Initialization: time 2.094e-06/0.2032, allocations: 1.156 kB / 379 MB, free: 43.46 MB / 318.1 MB Notification: Performance of Tearing: time 0.0005672/0.2038, allocations: 0.8948 MB / 379.9 MB, free: 43.02 MB / 318.1 MB Notification: Performance of Categorize: time 3.368e-05/0.2038, allocations: 7.594 kB / 379.9 MB, free: 43.02 MB / 318.1 MB Notification: Performance of Solve: time 0.001214/0.2051, allocations: 0.5487 MB / 380.4 MB, free: 42.97 MB / 318.1 MB Notification: Performance of Jacobian: time 0.001255/0.2063, allocations: 1.242 MB / 381.7 MB, free: 42.64 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: ................. 43 (43) {rectifier.enableLogic.booleanReplicator.y, rectifier.enableLogic.internalEnable, rectifier.andCondition_p.u2, rectifier.andCondition_n.u2, rectifier.thyristor_p1.off, rectifier.thyristor_p1.fire, rectifier.thyristor_p2.off, rectifier.thyristor_p2.fire, rectifier.thyristor_n1.off, rectifier.thyristor_n2.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_13, $SEV_12, $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_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: ........... 83 (scalar:72, 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: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 167 (scalar:156, 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: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 167 (scalar:156, 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: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 8.843e-05/0.2064, allocations: 98.42 kB / 381.8 MB, free: 42.62 MB / 318.1 MB Notification: Performance of SimCode: time 0.003535/0.21, allocations: 4.237 MB / 386 MB, free: 41.14 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.