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_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.2.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.2.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.001273/0.001273, allocations: 106 kB / 16.42 MB, free: 6.027 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.001304/0.001304, allocations: 185.1 kB / 17.35 MB, free: 5.602 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.217/1.217, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/1.985e-05, allocations: 3.406 kB / 327.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV): time 0.005433/0.005461, allocations: 4.707 MB / 331.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.007678, allocations: 1.372 MB / 333.3 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002775/0.007967, allocations: 19.88 kB / 333.3 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.008262, allocations: 130.7 kB / 333.5 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004371/0.008706, allocations: 186.4 kB / 333.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.009189, allocations: 283.6 kB / 333.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.01024, allocations: 1.123 MB / 335 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005575/0.01081, allocations: 394.5 kB / 335.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.01117, allocations: 346.6 kB / 335.8 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.01153, allocations: 358.3 kB / 336.1 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.01164, allocations: 84 kB / 336.2 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.01176, allocations: 84 kB / 336.3 MB, free: 10.19 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0008374/0.0126, allocations: 1.182 MB / 337.5 MB, free: 8.992 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004102/0.01302, allocations: 0.7544 MB / 338.2 MB, free: 8.227 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.01315, allocations: 131.6 kB / 338.3 MB, free: 8.098 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.443e-05/0.01325, allocations: 31.81 kB / 338.4 MB, free: 8.066 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.002956/0.01621, allocations: 3.416 MB / 341.8 MB, free: 4.512 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002759/0.0165, allocations: 279.2 kB / 342.1 MB, free: 4.227 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001564/0.01807, allocations: 1.694 MB / 343.8 MB, free: 2.496 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001365/0.01821, allocations: 143.8 kB / 343.9 MB, free: 2.355 MB / 286.1 MB Notification: Performance of Alias: time 0.003147/0.02137, allocations: 3.007 MB / 346.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simplify2: time 8.703e-05/0.02147, allocations: 91.86 kB / 347 MB, free: 14.95 MB / 302.1 MB Notification: Performance of Events: time 0.0003713/0.02184, allocations: 299.2 kB / 347.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005917/0.02244, allocations: 0.538 MB / 347.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000656/0.02311, allocations: 0.6134 MB / 348.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of Causalize: time 0.003459/0.02658, allocations: 3.388 MB / 351.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001241/0.02783, allocations: 1.292 MB / 353.1 MB, free: 8.703 MB / 302.1 MB Notification: Performance of Inline: time 0.002487/0.03033, allocations: 2.423 MB / 355.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001876/0.03053, allocations: 171.6 kB / 355.7 MB, free: 6.039 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0002456/0.03078, allocations: 267.6 kB / 356 MB, free: 5.766 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.01542/0.04621, allocations: 16.51 MB / 372.5 MB, free: 5.855 MB / 318.1 MB Notification: Performance of Tearing: time 0.000664/0.04689, allocations: 0.7617 MB / 373.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of Initialization: time 9.31e-07/0.04691, allocations: 0 / 373.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of Tearing: time 0.0003658/0.04728, allocations: 455.3 kB / 373.7 MB, free: 4.504 MB / 318.1 MB Notification: Performance of Categorize: time 2.413e-05/0.04731, allocations: 4 kB / 373.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of Solve: time 0.0008473/0.04816, allocations: 0.5161 MB / 374.2 MB, free: 3.973 MB / 318.1 MB Notification: Performance of Jacobian: time 0.001009/0.04918, allocations: 1.033 MB / 375.2 MB, free: 2.898 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.0001046/0.04929, allocations: 96.22 kB / 375.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of SimCode: time 0.1716/0.2209, allocations: 3.689 MB / 379 MB, free: 42.26 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.