Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, 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.00128/0.001281, allocations: 187.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.508/1.508, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/1.883e-05, allocations: 2.281 kB / 327.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV): time 0.006214/0.006241, allocations: 4.693 MB / 331.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.00895, allocations: 1.376 MB / 333.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003058/0.009268, allocations: 19.88 kB / 333.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.009579, allocations: 130.8 kB / 333.5 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004422/0.01009, allocations: 186.4 kB / 333.6 MB, free: 12.85 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.0106, allocations: 279.6 kB / 333.9 MB, free: 12.58 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.01172, allocations: 1.123 MB / 335 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005515/0.01228, allocations: 402.5 kB / 335.4 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.01264, allocations: 342.6 kB / 335.8 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003438/0.01299, allocations: 362.3 kB / 336.1 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.544e-05/0.0131, allocations: 84 kB / 336.2 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.0132, allocations: 84 kB / 336.3 MB, free: 10.2 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0008025/0.01401, allocations: 1.182 MB / 337.5 MB, free: 9 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004252/0.01444, allocations: 0.7504 MB / 338.2 MB, free: 8.238 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.01459, allocations: 143.6 kB / 338.4 MB, free: 8.098 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.812e-05/0.0147, allocations: 27.81 kB / 338.4 MB, free: 8.07 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: 151 (151) * Number of variables: 151 (150) Notification: Performance of Bindings: time 0.003063/0.01777, allocations: 3.416 MB / 341.8 MB, free: 4.516 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0003602/0.01813, allocations: 283 kB / 342.1 MB, free: 4.227 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001651/0.01979, allocations: 1.682 MB / 343.8 MB, free: 2.508 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001575/0.01996, allocations: 147.8 kB / 343.9 MB, free: 2.363 MB / 286.1 MB Notification: Performance of Alias: time 0.003207/0.02317, allocations: 3.014 MB / 346.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simplify2: time 9.217e-05/0.02328, allocations: 83.88 kB / 347 MB, free: 14.96 MB / 302.1 MB Notification: Performance of Events: time 0.0003439/0.02363, allocations: 300.1 kB / 347.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005338/0.02417, allocations: 0.545 MB / 347.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006185/0.0248, allocations: 0.6212 MB / 348.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of Causalize: time 0.003299/0.02811, allocations: 3.381 MB / 351.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001242/0.02937, allocations: 1.288 MB / 353.1 MB, free: 8.711 MB / 302.1 MB Notification: Performance of Inline: time 0.002466/0.03184, allocations: 2.414 MB / 355.5 MB, free: 6.23 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001929/0.03205, allocations: 179.6 kB / 355.7 MB, free: 6.043 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0002568/0.03231, allocations: 275.6 kB / 356 MB, free: 5.762 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_190) 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_189) slice: {}; Notification: Performance of Causalize: time 0.01578/0.0481, allocations: 16.49 MB / 372.5 MB, free: 5.871 MB / 318.1 MB Notification: Performance of Tearing: time 0.0007075/0.04884, allocations: 0.7617 MB / 373.2 MB, free: 5.012 MB / 318.1 MB Notification: Performance of Initialization: time 1.062e-06/0.04885, allocations: 0 / 373.2 MB, free: 5.012 MB / 318.1 MB Notification: Performance of Tearing: time 0.0003866/0.04924, allocations: 453.9 kB / 373.7 MB, free: 4.52 MB / 318.1 MB Notification: Performance of Categorize: time 2.774e-05/0.04928, allocations: 8 kB / 373.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of Solve: time 0.0009521/0.05024, allocations: 0.5161 MB / 374.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of Jacobian: time 0.001035/0.05128, allocations: 1.037 MB / 375.2 MB, free: 2.906 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: ................. 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: ........... 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 160 (scalar:149, 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: ........... 160 (scalar:149, 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.0001155/0.05141, allocations: 104.9 kB / 375.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of SimCode: time 0.1848/0.2362, allocations: 3.682 MB / 379 MB, free: 42.32 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.