Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_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.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 111.4 kB / 18.42 MB, free: 4.637 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.001191/0.001191, allocations: 193.3 kB / 19.35 MB, free: 3.719 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.569/1.569, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.772e-05/3.773e-05, allocations: 3.484 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R): time 0.006279/0.006325, allocations: 3.591 MB / 332.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.009431, allocations: 1.154 MB / 334 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002897/0.009737, allocations: 11.94 kB / 334 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.01005, allocations: 79.23 kB / 334 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003772/0.01044, allocations: 115 kB / 334.2 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.01095, allocations: 211.6 kB / 334.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000853/0.01182, allocations: 0.7757 MB / 335.1 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005003/0.01233, allocations: 287 kB / 335.4 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.01262, allocations: 227.3 kB / 335.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.01293, allocations: 234.9 kB / 335.9 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.544e-05/0.01302, allocations: 56 kB / 335.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.148e-05/0.01311, allocations: 59.94 kB / 336 MB, free: 12.49 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0005928/0.01371, allocations: 0.7648 MB / 336.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003389/0.01406, allocations: 480.8 kB / 337.2 MB, free: 11.24 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.01419, allocations: 83.75 kB / 337.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.102e-05/0.01428, allocations: 23.81 kB / 337.3 MB, free: 11.14 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: 95 (95) * Number of variables: 95 (94) Notification: Performance of Bindings: time 0.002335/0.01663, allocations: 2.298 MB / 339.6 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001726/0.01681, allocations: 117.5 kB / 339.7 MB, free: 8.609 MB / 286.1 MB Notification: Performance of Early Inline: time 0.00105/0.01787, allocations: 1.097 MB / 340.8 MB, free: 7.484 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001239/0.018, allocations: 95.86 kB / 340.9 MB, free: 7.391 MB / 286.1 MB Notification: Performance of Alias: time 0.002427/0.02044, allocations: 1.985 MB / 342.9 MB, free: 5.195 MB / 286.1 MB Notification: Performance of simplify2: time 7.112e-05/0.02052, allocations: 67.89 kB / 343 MB, free: 5.129 MB / 286.1 MB Notification: Performance of Events: time 0.0003307/0.02086, allocations: 261.6 kB / 343.2 MB, free: 4.871 MB / 286.1 MB Notification: Performance of Detect States: time 0.0004752/0.02134, allocations: 443.7 kB / 343.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0004701/0.02182, allocations: 459 kB / 344.1 MB, free: 3.906 MB / 286.1 MB Notification: Performance of Causalize: time 0.002122/0.02396, allocations: 1.79 MB / 345.9 MB, free: 2.047 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0009421/0.02491, allocations: 0.9708 MB / 346.9 MB, free: 1.047 MB / 286.1 MB Notification: Performance of Inline: time 0.001741/0.02666, allocations: 1.658 MB / 348.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000127/0.0268, allocations: 119.5 kB / 348.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001876/0.02699, allocations: 191.6 kB / 348.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of Causalize: time 0.01148/0.03847, allocations: 9.549 MB / 358.4 MB, free: 5.422 MB / 302.1 MB Notification: Performance of Tearing: time 0.0007161/0.03921, allocations: 0.7188 MB / 359.1 MB, free: 4.605 MB / 302.1 MB Notification: Performance of Initialization: time 1.062e-06/0.03923, allocations: 0 / 359.1 MB, free: 4.605 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002932/0.03953, allocations: 374.1 kB / 359.5 MB, free: 4.191 MB / 302.1 MB Notification: Performance of Categorize: time 2.713e-05/0.03957, allocations: 7.938 kB / 359.5 MB, free: 4.184 MB / 302.1 MB Notification: Performance of Solve: time 0.0005935/0.04016, allocations: 359.9 kB / 359.8 MB, free: 3.832 MB / 302.1 MB Notification: Performance of Jacobian: time 0.000826/0.041, allocations: 0.7424 MB / 360.6 MB, free: 3.051 MB / 302.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: ................. 29 (29) {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, idealthyristor.off, $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: ........... 59 (scalar:50, array:9, 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: ........... 109 (scalar:100, array:9, 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: ........... 109 (scalar:100, array:9, 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.0001661/0.04118, allocations: 82.84 kB / 360.6 MB, free: 2.973 MB / 302.1 MB Notification: Performance of SimCode: time 0.002545/0.04373, allocations: 2.783 MB / 363.4 MB, free: 120 kB / 302.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.