Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 105.5 kB / 16.42 MB, free: 6.512 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.0011/0.0011, allocations: 192.2 kB / 17.35 MB, free: 5.754 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.262/1.262, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/1.972e-05, allocations: 3.547 kB / 327.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse): time 0.005261/0.005294, allocations: 4.776 MB / 332 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.00776, allocations: 1.419 MB / 333.4 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.008075, allocations: 23.94 kB / 333.4 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.008353, allocations: 134.7 kB / 333.5 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.008813, allocations: 194.3 kB / 333.7 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.009293, allocations: 303.5 kB / 334 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008999/0.0102, allocations: 1.173 MB / 335.2 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004834/0.01069, allocations: 422.6 kB / 335.6 MB, free: 10.85 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003018/0.011, allocations: 354.6 kB / 336 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003344/0.01135, allocations: 374.2 kB / 336.3 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.01146, allocations: 88 kB / 336.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.01157, allocations: 88 kB / 336.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0007276/0.0123, allocations: 1.228 MB / 337.7 MB, free: 8.723 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003528/0.01266, allocations: 0.7543 MB / 338.5 MB, free: 7.957 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.01278, allocations: 147.5 kB / 338.6 MB, free: 7.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.386e-05/0.01287, allocations: 35.81 kB / 338.7 MB, free: 7.777 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: 154 (154) * Number of variables: 154 (153) Notification: Performance of Bindings: time 0.00274/0.01562, allocations: 3.531 MB / 342.2 MB, free: 4.094 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002551/0.01588, allocations: 271.1 kB / 342.5 MB, free: 3.828 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001457/0.01735, allocations: 1.781 MB / 344.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001464/0.0175, allocations: 147.8 kB / 344.4 MB, free: 1.867 MB / 286.1 MB Notification: Performance of Alias: time 0.002848/0.02036, allocations: 3.002 MB / 347.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001035/0.02047, allocations: 103.8 kB / 347.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of Events: time 0.0003601/0.02084, allocations: 327.3 kB / 347.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004959/0.02135, allocations: 0.5691 MB / 348.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000597/0.02195, allocations: 0.6681 MB / 349 MB, free: 12.8 MB / 302.1 MB Notification: Performance of Causalize: time 0.003344/0.0253, allocations: 3.805 MB / 352.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001197/0.02651, allocations: 1.421 MB / 354.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of Inline: time 0.002318/0.02884, allocations: 2.584 MB / 356.9 MB, free: 4.934 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001697/0.02902, allocations: 167.7 kB / 357 MB, free: 4.754 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0002396/0.02927, allocations: 291.5 kB / 357.3 MB, free: 4.461 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.andCondition_p.y ($RES_EVT_193) slice: {}; [SCAL] (1) $SEV_10 = rectifier.thyristor_p2.s < 0.0 or $PRE.rectifier.thyristor_p2.off and not rectifier.andCondition_n.y ($RES_EVT_192) slice: {}; Notification: Performance of Causalize: time 0.01477/0.04405, allocations: 17.6 MB / 374.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of Tearing: time 0.001275/0.04534, allocations: 1.482 MB / 376.4 MB, free: 1.977 MB / 318.1 MB Notification: Performance of Initialization: time 1.142e-06/0.04535, allocations: 0 / 376.4 MB, free: 1.977 MB / 318.1 MB Notification: Performance of Tearing: time 0.0006951/0.04606, allocations: 0.8114 MB / 377.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of Categorize: time 2.226e-05/0.04609, allocations: 8 kB / 377.2 MB, free: 1.109 MB / 318.1 MB Notification: Performance of Solve: time 0.0007574/0.04685, allocations: 496.4 kB / 377.7 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of Jacobian: time 0.1273/0.1741, allocations: 1.455 MB / 379.1 MB, free: 43.95 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: ............................. 3 (3) {meanVoltage.x, rootMeanSquareVoltage.mean.x, meanCurrent.x} * 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_p.y, rectifier.andCondition_n.u2, rectifier.andCondition_n.y, rectifier.thyristor_p1.off, rectifier.thyristor_p2.off, rectifier.diode_n1.off, rectifier.diode_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: ........... 76 (scalar:65, 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: ........... 151 (scalar:140, 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: ........... 151 (scalar:140, 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.0001125/0.1743, allocations: 97.45 kB / 379.2 MB, free: 43.94 MB / 318.1 MB Notification: Performance of SimCode: time 0.003335/0.1776, allocations: 4.156 MB / 383.4 MB, free: 42.52 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.