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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 106.3 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.001223/0.001223, allocations: 200.1 kB / 17.36 MB, free: 5.746 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.273/1.273, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.608e-05, allocations: 2.281 kB / 327.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R): time 0.005032/0.005056, allocations: 4.499 MB / 331.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.006947, allocations: 1.337 MB / 333.1 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.007181, allocations: 11.94 kB / 333.1 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.007428, allocations: 122.8 kB / 333.2 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.007799, allocations: 174.5 kB / 333.4 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.008235, allocations: 275.5 kB / 333.6 MB, free: 12.85 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008677/0.009112, allocations: 1.061 MB / 334.7 MB, free: 11.78 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000472/0.009593, allocations: 386.1 kB / 335.1 MB, free: 11.4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.009906, allocations: 322.8 kB / 335.4 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.01022, allocations: 334.4 kB / 335.7 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.892e-05/0.01033, allocations: 83.94 kB / 335.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.273e-05/0.01043, allocations: 80 kB / 335.9 MB, free: 10.6 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0007333/0.01117, allocations: 1.116 MB / 337 MB, free: 9.469 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003685/0.01155, allocations: 0.6967 MB / 337.7 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.01169, allocations: 127.6 kB / 337.8 MB, free: 8.637 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.07e-05/0.01179, allocations: 27.81 kB / 337.8 MB, free: 8.609 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: 139 (139) * Number of variables: 139 (138) Notification: Performance of Bindings: time 0.002697/0.01449, allocations: 3.218 MB / 341.1 MB, free: 5.25 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001796/0.01468, allocations: 170.9 kB / 341.2 MB, free: 5.086 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001356/0.01604, allocations: 1.577 MB / 342.8 MB, free: 3.477 MB / 286.1 MB Notification: Performance of simplify1: time 0.000152/0.0162, allocations: 139.8 kB / 342.9 MB, free: 3.34 MB / 286.1 MB Notification: Performance of Alias: time 0.002739/0.01895, allocations: 2.744 MB / 345.7 MB, free: 312 kB / 286.1 MB Notification: Performance of simplify2: time 9.342e-05/0.01905, allocations: 87.86 kB / 345.8 MB, free: 224 kB / 286.1 MB Notification: Performance of Events: time 0.0003431/0.01941, allocations: 295.3 kB / 346.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005347/0.01995, allocations: 0.5294 MB / 346.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0005916/0.02055, allocations: 0.6094 MB / 347.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of Causalize: time 0.003117/0.02367, allocations: 3.314 MB / 350.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001183/0.02487, allocations: 1.264 MB / 351.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of Inline: time 0.002283/0.02716, allocations: 2.328 MB / 354.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001783/0.02735, allocations: 167.6 kB / 354.3 MB, free: 7.52 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0002275/0.02759, allocations: 271.6 kB / 354.5 MB, free: 7.25 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_178) 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_177) slice: {}; Notification: Performance of Causalize: time 0.01381/0.0414, allocations: 15.9 MB / 370.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of Tearing: time 0.0007215/0.04214, allocations: 0.8941 MB / 371.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of Initialization: time 9.62e-07/0.04215, allocations: 0 / 371.3 MB, free: 6.871 MB / 318.1 MB Notification: Performance of Tearing: time 0.0003933/0.04255, allocations: 0.5179 MB / 371.9 MB, free: 6.305 MB / 318.1 MB Notification: Performance of Categorize: time 2.323e-05/0.04258, allocations: 4 kB / 371.9 MB, free: 6.301 MB / 318.1 MB Notification: Performance of Solve: time 0.0007536/0.04334, allocations: 0.4967 MB / 372.4 MB, free: 5.797 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0009507/0.0443, allocations: 1.021 MB / 373.4 MB, free: 4.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: ............................. 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: ................. 40 (40) {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_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: ........... 77 (scalar:66, 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 8.325e-05/0.0444, allocations: 101.5 kB / 373.5 MB, free: 4.645 MB / 318.1 MB Notification: Performance of SimCode: time 0.002801/0.0472, allocations: 3.627 MB / 377.1 MB, free: 0.9297 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.