Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 116.9 kB / 17.76 MB, free: 5.344 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.001513/0.001514, allocations: 180.7 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.217e-05, allocations: 5.656 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005068/0.005109, allocations: 3.643 MB / 355.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.007191, allocations: 1.009 MB / 356.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.007427, allocations: 19.88 kB / 356.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.007717, allocations: 103.1 kB / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006773/0.008405, allocations: 226.7 kB / 357 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.008713, allocations: 139.7 kB / 357.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.009818, allocations: 1.013 MB / 358.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004582/0.01029, allocations: 328.2 kB / 358.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000367/0.01066, allocations: 343 kB / 358.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004888/0.01116, allocations: 370.7 kB / 359.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.366e-05/0.01126, allocations: 56 kB / 359.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.01137, allocations: 60 kB / 359.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006888/0.01206, allocations: 0.913 MB / 360.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004021/0.01247, allocations: 0.6022 MB / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.0126, allocations: 87.75 kB / 360.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.707e-05/0.01271, allocations: 23.92 kB / 360.9 MB, free: 10.3 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: 166 (94) * Number of variables: 166 (89) Notification: Performance of Bindings: time 0.002649/0.01536, allocations: 2.889 MB / 363.7 MB, free: 7.293 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.000204/0.01557, allocations: 143.5 kB / 363.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001238/0.01682, allocations: 1.295 MB / 365.2 MB, free: 5.832 MB / 302.1 MB Notification: Performance of simplify1: time 7.877e-05/0.01691, allocations: 79.89 kB / 365.3 MB, free: 5.754 MB / 302.1 MB Notification: Performance of Alias: time 0.00209/0.019, allocations: 1.756 MB / 367 MB, free: 3.828 MB / 302.1 MB Notification: Performance of simplify2: time 5.542e-05/0.01907, allocations: 55.92 kB / 367.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of Events: time 0.0002682/0.01934, allocations: 214.2 kB / 367.3 MB, free: 3.57 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004399/0.01979, allocations: 427.3 kB / 367.7 MB, free: 3.141 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0005466/0.02035, allocations: 0.5118 MB / 368.2 MB, free: 2.562 MB / 302.1 MB Notification: Performance of Causalize: time 0.2373/0.2576, allocations: 3.384 MB / 371.6 MB, free: 16.86 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0014/0.2591, allocations: 1.2 MB / 372.8 MB, free: 16.79 MB / 302.1 MB Notification: Performance of Inline: time 0.002453/0.2616, allocations: 2.269 MB / 375.1 MB, free: 16.61 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001601/0.2617, allocations: 119.1 kB / 375.2 MB, free: 16.59 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001143/0.2619, allocations: 100.8 kB / 375.3 MB, free: 16.58 MB / 302.1 MB Notification: Performance of Causalize: time 0.009571/0.2714, allocations: 8.199 MB / 383.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of Tearing: time 0.001545/0.273, allocations: 1.39 MB / 384.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of Initialization: time 1.583e-06/0.273, allocations: 1.188 kB / 384.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of Tearing: time 0.001384/0.2744, allocations: 1.401 MB / 386.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of Categorize: time 2.837e-05/0.2745, allocations: 6.797 kB / 386.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of Solve: time 0.000796/0.2753, allocations: 386.1 kB / 386.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of Jacobian: time 0.002825/0.2781, allocations: 2.7 MB / 389.4 MB, free: 11.98 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * 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_last, meanVoltage.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 16 (10) {rectifier.diode.idealDiode.off, $SEV_2[$i1], $SEV_1[$i1], $SEV_0, $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: ........... 39 (scalar:26, array:13, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 15 (generic: 15, 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: ........... 63 (scalar:50, array:13, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 33 (generic: 33, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 7.267e-05/0.2782, allocations: 47.09 kB / 389.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of SimCode: time 0.005242/0.2834, allocations: 6.465 MB / 395.9 MB, free: 9.238 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.