Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 106.3 kB / 18.41 MB, free: 4.668 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: 192.3 kB / 19.35 MB, free: 3.742 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.397/1.397, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.362e-05, allocations: 3.266 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004607/0.004639, allocations: 3.392 MB / 332.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.006105, allocations: 0.8811 MB / 333.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.006296, allocations: 11.94 kB / 333.5 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.006518, allocations: 59.38 kB / 333.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.006855, allocations: 130.8 kB / 333.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.00715, allocations: 135.8 kB / 333.8 MB, free: 14.69 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005668/0.007734, allocations: 0.5605 MB / 334.3 MB, free: 14.13 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.008044, allocations: 182 kB / 334.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.008276, allocations: 195.2 kB / 334.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.008519, allocations: 215 kB / 334.9 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.378e-05/0.008589, allocations: 44 kB / 335 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.79e-05/0.008683, allocations: 44 kB / 335 MB, free: 13.46 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0005465/0.009237, allocations: 0.7108 MB / 335.7 MB, free: 12.74 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002565/0.0095, allocations: 437.5 kB / 336.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.692e-05/0.009592, allocations: 75.75 kB / 336.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.078e-05/0.009661, allocations: 23.88 kB / 336.2 MB, free: 12.21 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: 85 (85) * Number of variables: 85 (84) Notification: Performance of Bindings: time 0.002026/0.01169, allocations: 2.078 MB / 338.3 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001839/0.01188, allocations: 111.1 kB / 338.4 MB, free: 9.906 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0009493/0.01284, allocations: 0.9951 MB / 339.4 MB, free: 8.887 MB / 286.1 MB Notification: Performance of simplify1: time 8.513e-05/0.01293, allocations: 91.83 kB / 339.5 MB, free: 8.797 MB / 286.1 MB Notification: Performance of Alias: time 0.00237/0.01531, allocations: 2.02 MB / 341.5 MB, free: 6.578 MB / 286.1 MB Notification: Performance of simplify2: time 5.911e-05/0.01538, allocations: 63.91 kB / 341.6 MB, free: 6.516 MB / 286.1 MB Notification: Performance of Events: time 0.0002211/0.01561, allocations: 167.7 kB / 341.8 MB, free: 6.352 MB / 286.1 MB Notification: Performance of Detect States: time 0.0003353/0.01595, allocations: 301 kB / 342.1 MB, free: 6.039 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0003508/0.01631, allocations: 338 kB / 342.4 MB, free: 5.648 MB / 286.1 MB Notification: Performance of Causalize: time 0.001371/0.01769, allocations: 1.201 MB / 343.6 MB, free: 4.383 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006634/0.01836, allocations: 0.7068 MB / 344.3 MB, free: 3.648 MB / 286.1 MB Notification: Performance of Inline: time 0.001294/0.01966, allocations: 1.31 MB / 345.6 MB, free: 2.297 MB / 286.1 MB Notification: Performance of Partitioning: time 9.576e-05/0.01977, allocations: 99.59 kB / 345.7 MB, free: 2.191 MB / 286.1 MB Notification: Performance of Cleanup: time 5.215e-05/0.01983, allocations: 59.88 kB / 345.8 MB, free: 2.133 MB / 286.1 MB Notification: Performance of Causalize: time 0.004317/0.02415, allocations: 3.691 MB / 349.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of Tearing: time 0.0005289/0.02469, allocations: 0.5173 MB / 350 MB, free: 13.85 MB / 302.1 MB Notification: Performance of Initialization: time 7.81e-07/0.0247, allocations: 0 / 350 MB, free: 13.85 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004615/0.02517, allocations: 0.5015 MB / 350.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of Categorize: time 1.842e-05/0.0252, allocations: 4 kB / 350.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of Solve: time 0.0003152/0.02552, allocations: 214 kB / 350.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0005827/0.02611, allocations: 0.579 MB / 351.3 MB, free: 12.46 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: ......... 7 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 3 (3) {meanVoltage.x, rootMeanSquareVoltage.mean.x, meanCurrent.x} * Number of discrete states: .................... 3 (3) {meanCurrent.y, rootMeanSquareVoltage.mean.y, meanVoltage.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 13 (13) {rectifier.diode_p.off, rectifier.diode_n.off, $SEV_2, $SEV_1, $SEV_0, $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: ........... 33 (scalar:33, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 79 (scalar:79, array:0, 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.0001338/0.02625, allocations: 47.94 kB / 351.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of SimCode: time 0.001737/0.02799, allocations: 2.219 MB / 353.5 MB, free: 10.16 MB / 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.