Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_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.001065/0.001065, allocations: 106 kB / 18.41 MB, free: 4.68 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.001186/0.001186, allocations: 190.6 kB / 19.35 MB, free: 3.762 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.513/1.513, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.743e-05, allocations: 5.234 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic): time 0.006334/0.006369, allocations: 4.737 MB / 334 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.008782, allocations: 1.384 MB / 335.3 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.009085, allocations: 15.94 kB / 335.4 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.009352, allocations: 134.7 kB / 335.5 MB, free: 13 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.00973, allocations: 198.3 kB / 335.7 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.01025, allocations: 283.6 kB / 336 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.01131, allocations: 1.135 MB / 337.1 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000531/0.01185, allocations: 446.7 kB / 337.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.01221, allocations: 346.6 kB / 337.9 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.01256, allocations: 374.3 kB / 338.2 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.01269, allocations: 87.94 kB / 338.3 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.01281, allocations: 84 kB / 338.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0009456/0.01376, allocations: 1.205 MB / 339.6 MB, free: 8.832 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004851/0.01425, allocations: 0.7466 MB / 340.4 MB, free: 8.074 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.01438, allocations: 143.5 kB / 340.5 MB, free: 7.934 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.000137/0.01453, allocations: 35.75 kB / 340.5 MB, free: 7.898 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.002809/0.01734, allocations: 3.478 MB / 344 MB, free: 4.266 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002477/0.0176, allocations: 275.2 kB / 344.3 MB, free: 3.996 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001598/0.0192, allocations: 1.725 MB / 346 MB, free: 2.234 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001778/0.01939, allocations: 151.8 kB / 346.1 MB, free: 2.086 MB / 286.1 MB Notification: Performance of Alias: time 0.003806/0.02321, allocations: 3.371 MB / 349.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001005/0.02332, allocations: 95.86 kB / 349.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of Events: time 0.000392/0.02372, allocations: 322.7 kB / 349.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005616/0.02429, allocations: 0.5642 MB / 350.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006714/0.02497, allocations: 0.6368 MB / 351.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of Causalize: time 0.002793/0.02778, allocations: 2.525 MB / 353.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001293/0.02908, allocations: 1.339 MB / 355 MB, free: 8.734 MB / 302.1 MB Notification: Performance of Inline: time 0.002434/0.03152, allocations: 2.416 MB / 357.4 MB, free: 6.258 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001857/0.03172, allocations: 163.7 kB / 357.6 MB, free: 6.082 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0002477/0.03197, allocations: 283.5 kB / 357.8 MB, free: 5.797 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.01622/0.0482, allocations: 14.37 MB / 372.2 MB, free: 7.133 MB / 318.1 MB Notification: Performance of Tearing: time 0.000719/0.04894, allocations: 0.7577 MB / 373 MB, free: 6.277 MB / 318.1 MB Notification: Performance of Initialization: time 1.042e-06/0.04895, allocations: 0 / 373 MB, free: 6.277 MB / 318.1 MB Notification: Performance of Tearing: time 0.0004053/0.04936, allocations: 462 kB / 373.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of Categorize: time 2.734e-05/0.0494, allocations: 4 kB / 373.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of Solve: time 0.0009037/0.05031, allocations: 0.52 MB / 373.9 MB, free: 5.246 MB / 318.1 MB Notification: Performance of Jacobian: time 0.001058/0.05138, allocations: 1.049 MB / 375 MB, free: 4.148 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 0.0001008/0.05149, allocations: 85.98 kB / 375.1 MB, free: 4.074 MB / 318.1 MB Notification: Performance of SimCode: time 0.003293/0.05479, allocations: 3.718 MB / 378.8 MB, free: 276 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.