Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 113 kB / 17.75 MB, free: 5.309 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.001135/0.001135, allocations: 184.7 kB / 18.68 MB, free: 4.387 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.317/1.317, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.65e-05, allocations: 2.281 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005216/0.005251, allocations: 4.542 MB / 356.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.007683, allocations: 1.223 MB / 357.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/0.007994, allocations: 23.94 kB / 357.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.008341, allocations: 166.6 kB / 357.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008509/0.009235, allocations: 346.1 kB / 358.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.009631, allocations: 195.7 kB / 358.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.01117, allocations: 1.695 MB / 360.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006785/0.01185, allocations: 0.5687 MB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005935/0.01246, allocations: 0.561 MB / 361.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007831/0.01325, allocations: 0.6152 MB / 361.9 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.01338, allocations: 92 kB / 362 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.01354, allocations: 96 kB / 362.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001118/0.01467, allocations: 1.421 MB / 363.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006462/0.01532, allocations: 0.927 MB / 364.4 MB, free: 6.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.01549, allocations: 135.6 kB / 364.5 MB, free: 6.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001463/0.01565, allocations: 31.92 kB / 364.6 MB, free: 6.566 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: 267 (137) * Number of variables: 267 (124) Notification: Performance of Bindings: time 0.003941/0.01959, allocations: 4.475 MB / 369 MB, free: 1.953 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002808/0.01988, allocations: 261 kB / 369.3 MB, free: 1.695 MB / 302.1 MB Notification: Performance of Early Inline: time 0.2149/0.2348, allocations: 2.053 MB / 371.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002413/0.235, allocations: 104 kB / 371.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of Alias: time 0.002885/0.2379, allocations: 2.245 MB / 373.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simplify2: time 9.285e-05/0.238, allocations: 80.69 kB / 373.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of Events: time 0.0003681/0.2384, allocations: 297.8 kB / 374.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006892/0.2391, allocations: 0.6278 MB / 374.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0008111/0.2399, allocations: 0.847 MB / 375.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of Causalize: time 0.006447/0.2464, allocations: 6.055 MB / 381.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001902/0.2483, allocations: 2.008 MB / 383.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Inline: time 0.003882/0.2522, allocations: 3.928 MB / 387.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002023/0.2524, allocations: 185.6 kB / 387.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001448/0.2526, allocations: 157.8 kB / 387.9 MB, free: 9.984 MB / 302.1 MB Notification: Performance of Causalize: time 0.01279/0.2653, allocations: 15.09 MB / 402.9 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of Tearing: time 0.003025/0.2684, allocations: 2.639 MB / 405.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of Initialization: time 8.82e-07/0.2684, allocations: 3.938 kB / 405.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of Tearing: time 0.00236/0.2708, allocations: 2.595 MB / 408.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of Categorize: time 3.349e-05/0.2708, allocations: 7.938 kB / 408.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of Solve: time 0.00106/0.2719, allocations: 0.6422 MB / 408.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of Jacobian: time 0.00654/0.2784, allocations: 6.409 MB / 415.2 MB, free: 5.281 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * 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: ................. 25 (13) {rectifier.diode_p.idealDiode.off, rectifier.diode_n.idealDiode.off, $SEV_4[$i1], $SEV_3[$i1], $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: ........... 58 (scalar:37, array:21, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 28 (generic: 28, 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: ........... 82 (scalar:61, array:21, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 64 (generic: 64, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 7.95e-05/0.2785, allocations: 53.11 kB / 415.3 MB, free: 5.234 MB / 318.1 MB Notification: Performance of SimCode: time 0.008904/0.2874, allocations: 11.25 MB / 426.5 MB, free: 10.41 MB / 334.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.