Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001303/0.001303, allocations: 107.3 kB / 18.41 MB, free: 4.688 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.00131/0.001311, allocations: 193.4 kB / 19.35 MB, free: 3.762 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.428/1.428, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.128e-05, allocations: 2.281 kB / 329.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.00514/0.00517, allocations: 3.624 MB / 332.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.007228, allocations: 1.033 MB / 333.8 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003933/0.007634, allocations: 15.88 kB / 333.9 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.007942, allocations: 107.1 kB / 334 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008271/0.008777, allocations: 230.7 kB / 334.2 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.009146, allocations: 143.7 kB / 334.3 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.01034, allocations: 0.9973 MB / 335.3 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004227/0.01077, allocations: 267 kB / 335.6 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005364/0.01131, allocations: 339 kB / 335.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006478/0.01197, allocations: 366.7 kB / 336.3 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.01209, allocations: 56 kB / 336.3 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.01224, allocations: 52 kB / 336.4 MB, free: 12.1 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0008044/0.01305, allocations: 0.8859 MB / 337.3 MB, free: 11.21 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005196/0.01357, allocations: 0.6022 MB / 337.9 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.01374, allocations: 83.75 kB / 337.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.316e-05/0.01384, allocations: 19.94 kB / 338 MB, free: 10.5 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: 163 (87) * Number of variables: 163 (86) Notification: Performance of Bindings: time 0.002835/0.01668, allocations: 2.815 MB / 340.8 MB, free: 7.559 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002319/0.01692, allocations: 171.7 kB / 340.9 MB, free: 7.391 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001146/0.01807, allocations: 1.225 MB / 342.2 MB, free: 6.137 MB / 286.1 MB Notification: Performance of simplify1: time 6.851e-05/0.01815, allocations: 75.91 kB / 342.2 MB, free: 6.062 MB / 286.1 MB Notification: Performance of Alias: time 0.001885/0.02004, allocations: 1.674 MB / 343.9 MB, free: 4.227 MB / 286.1 MB Notification: Performance of simplify2: time 4.412e-05/0.0201, allocations: 43.94 kB / 344 MB, free: 4.184 MB / 286.1 MB Notification: Performance of Events: time 0.0002382/0.02034, allocations: 211.5 kB / 344.2 MB, free: 3.977 MB / 286.1 MB Notification: Performance of Detect States: time 0.0004192/0.02077, allocations: 423.8 kB / 344.6 MB, free: 3.551 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0005204/0.0213, allocations: 0.4988 MB / 345.1 MB, free: 2.98 MB / 286.1 MB Notification: Performance of Causalize: time 0.0034/0.02471, allocations: 3.301 MB / 348.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001028/0.02575, allocations: 1.149 MB / 349.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of Inline: time 0.002141/0.0279, allocations: 2.185 MB / 351.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001267/0.02803, allocations: 111.6 kB / 351.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of Cleanup: time 8.535e-05/0.02813, allocations: 95.83 kB / 351.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Causalize: time 0.008673/0.03681, allocations: 8.009 MB / 359.9 MB, free: 4.301 MB / 302.1 MB Notification: Performance of Tearing: time 0.001466/0.03829, allocations: 1.381 MB / 361.3 MB, free: 2.863 MB / 302.1 MB Notification: Performance of Initialization: time 7.71e-07/0.03832, allocations: 4 kB / 361.3 MB, free: 2.859 MB / 302.1 MB Notification: Performance of Tearing: time 0.001358/0.03968, allocations: 1.391 MB / 362.7 MB, free: 1.414 MB / 302.1 MB Notification: Performance of Categorize: time 2.403e-05/0.03972, allocations: 4 kB / 362.7 MB, free: 1.41 MB / 302.1 MB Notification: Performance of Solve: time 0.0006366/0.04036, allocations: 374.2 kB / 363.1 MB, free: 1.043 MB / 302.1 MB Notification: Performance of Jacobian: time 0.003039/0.04341, allocations: 2.693 MB / 365.8 MB, free: 14.3 MB / 318.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, 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: ........... 36 (scalar:23, array:13, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 16 (generic: 16, 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: ........... 60 (scalar:47, array:13, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 34 (generic: 34, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 7.466e-05/0.04349, allocations: 44.81 kB / 365.8 MB, free: 14.25 MB / 318.1 MB Notification: Performance of SimCode: time 0.006061/0.04956, allocations: 6.364 MB / 372.2 MB, free: 7.797 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.