Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 116.3 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001092, allocations: 210.3 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.152e-05/3.153e-05, allocations: 6.219 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL): time 0.006398/0.006438, allocations: 4.74 MB / 364.1 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003622/0.01008, allocations: 1.422 MB / 365.5 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005605/0.01066, allocations: 23.88 kB / 365.6 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.01113, allocations: 126.7 kB / 365.7 MB, free: 6.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00067/0.01186, allocations: 194.3 kB / 365.9 MB, free: 6.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008498/0.01272, allocations: 299.5 kB / 366.2 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.01424, allocations: 1.17 MB / 367.3 MB, free: 4.945 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007486/0.015, allocations: 418.6 kB / 367.8 MB, free: 4.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005475/0.01556, allocations: 362.7 kB / 368.1 MB, free: 4.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004859/0.01605, allocations: 370.2 kB / 368.5 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.01619, allocations: 88 kB / 368.6 MB, free: 3.711 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.01635, allocations: 92 kB / 368.6 MB, free: 3.621 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0008242/0.01718, allocations: 1.217 MB / 369.9 MB, free: 2.391 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004352/0.01762, allocations: 0.7737 MB / 370.6 MB, free: 1.605 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.01777, allocations: 135.6 kB / 370.8 MB, free: 1.473 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.000178/0.01795, allocations: 31.81 kB / 370.8 MB, free: 1.441 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 (152) * Number of variables: 152 (151) Notification: Performance of Bindings: time 0.2117/0.2297, allocations: 3.521 MB / 374.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003001/0.23, allocations: 255.2 kB / 374.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001958/0.232, allocations: 1.975 MB / 376.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002377/0.2322, allocations: 143.3 kB / 376.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of Alias: time 0.00399/0.2362, allocations: 3.331 MB / 380 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001462/0.2364, allocations: 90.58 kB / 380.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of Events: time 0.0003862/0.2368, allocations: 311.8 kB / 380.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005713/0.2374, allocations: 0.5709 MB / 381 MB, free: 10.25 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006315/0.238, allocations: 0.6497 MB / 381.6 MB, free: 9.812 MB / 302.1 MB Notification: Performance of Causalize: time 0.002662/0.2407, allocations: 2.522 MB / 384.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001204/0.2419, allocations: 1.335 MB / 385.5 MB, free: 7.949 MB / 302.1 MB Notification: Performance of Inline: time 0.002748/0.2446, allocations: 2.819 MB / 388.3 MB, free: 6.211 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001901/0.2448, allocations: 172.3 kB / 388.5 MB, free: 6.105 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0003094/0.2452, allocations: 288.3 kB / 388.8 MB, free: 5.926 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_10 = rectifier.thyristor_p.s < 0.0 or $PRE.rectifier.thyristor_p.off and not rectifier.andCondition_p.y ($RES_EVT_191) slice: {}; [SCAL] (1) $SEV_9 = rectifier.thyristor_n.s < 0.0 or $PRE.rectifier.thyristor_n.off and not rectifier.andCondition_n.y ($RES_EVT_190) slice: {}; Notification: Performance of Causalize: time 0.01887/0.264, allocations: 15.23 MB / 404 MB, free: 12.55 MB / 318.1 MB Notification: Performance of Tearing: time 0.0006937/0.2648, allocations: 0.7714 MB / 404.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of Initialization: time 1.824e-06/0.2648, allocations: 0 / 404.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of Tearing: time 0.0003876/0.2652, allocations: 453.5 kB / 405.2 MB, free: 11.28 MB / 318.1 MB Notification: Performance of Categorize: time 3.373e-05/0.2652, allocations: 4 kB / 405.2 MB, free: 11.28 MB / 318.1 MB Notification: Performance of Solve: time 0.001221/0.2664, allocations: 0.551 MB / 405.8 MB, free: 10.8 MB / 318.1 MB Notification: Performance of Jacobian: time 0.001052/0.2675, allocations: 1.079 MB / 406.8 MB, free: 9.715 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: ......... 9 * 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_last, meanVoltage.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 41 (41) {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.greaterNegative.y, pulse2.twoPulse.fire_p, pulse2.twoPulse.fire_n, pulse2.fire_p, pulse2.fire_n, $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_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: ........... 85 (scalar:72, array:13, 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: ........... 163 (scalar:150, array:13, 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: ........... 163 (scalar:150, array:13, 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.0001195/0.2676, allocations: 104.1 kB / 406.9 MB, free: 9.625 MB / 318.1 MB Notification: Performance of SimCode: time 0.003367/0.271, allocations: 3.86 MB / 410.8 MB, free: 5.836 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.