Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_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.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor.v|inductorSource.i|meanCurrent.x|meanVoltage.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor.v|inductorSource.i|meanCurrent.x|meanVoltage.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001186, 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.001088/0.001088, 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.56/1.56, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.061e-05, allocations: 2.281 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.006313/0.006353, allocations: 3.73 MB / 332.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.009038, allocations: 0.9901 MB / 333.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006361/0.009688, allocations: 11.94 kB / 333.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.01011, allocations: 87.16 kB / 334 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006461/0.01077, allocations: 130.8 kB / 334.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008118/0.01163, allocations: 211.6 kB / 334.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.01283, allocations: 0.7046 MB / 335.1 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000495/0.01333, allocations: 247.2 kB / 335.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004689/0.01381, allocations: 227.2 kB / 335.5 MB, free: 12.94 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003677/0.01419, allocations: 258.8 kB / 335.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.976e-05/0.01428, allocations: 56 kB / 335.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.494e-05/0.01438, allocations: 60 kB / 335.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0006478/0.01503, allocations: 0.8497 MB / 336.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003244/0.01536, allocations: 0.5196 MB / 337.3 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.0155, allocations: 95.69 kB / 337.4 MB, free: 11.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001909/0.0157, allocations: 27.81 kB / 337.4 MB, free: 11.06 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: 109 (109) * Number of variables: 109 (109) Notification: Performance of Bindings: time 0.002563/0.01827, allocations: 2.433 MB / 339.8 MB, free: 8.512 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001009/0.01838, allocations: 107.8 kB / 339.9 MB, free: 8.406 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001242/0.01963, allocations: 1.257 MB / 341.2 MB, free: 7.121 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001535/0.01979, allocations: 107.9 kB / 341.3 MB, free: 7.016 MB / 286.1 MB Notification: Performance of Alias: time 0.003145/0.02294, allocations: 2.483 MB / 343.8 MB, free: 4.309 MB / 286.1 MB Notification: Performance of simplify2: time 7.393e-05/0.02303, allocations: 67.92 kB / 343.8 MB, free: 4.242 MB / 286.1 MB Notification: Performance of Events: time 0.0004014/0.02344, allocations: 242.6 kB / 344.1 MB, free: 4 MB / 286.1 MB Notification: Performance of Detect States: time 0.0005631/0.02401, allocations: 424.4 kB / 344.5 MB, free: 3.574 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0004414/0.02446, allocations: 402.4 kB / 344.9 MB, free: 3.129 MB / 286.1 MB Notification: Performance of Causalize: time 0.001598/0.02607, allocations: 1.419 MB / 346.3 MB, free: 1.652 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008752/0.02695, allocations: 0.9082 MB / 347.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of Inline: time 0.001748/0.02871, allocations: 1.658 MB / 348.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001344/0.02886, allocations: 115.5 kB / 349 MB, free: 14.89 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001927/0.02906, allocations: 195.6 kB / 349.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of Causalize: time 0.01025/0.03932, allocations: 8.443 MB / 357.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of Tearing: time 0.0009911/0.04036, allocations: 0.875 MB / 358.5 MB, free: 5.234 MB / 302.1 MB Notification: Performance of Initialization: time 1.402e-06/0.04038, allocations: 0 / 358.5 MB, free: 5.234 MB / 302.1 MB Notification: Performance of Tearing: time 0.000431/0.04081, allocations: 454 kB / 358.9 MB, free: 4.742 MB / 302.1 MB Notification: Performance of Categorize: time 2.918e-05/0.04085, allocations: 3.984 kB / 358.9 MB, free: 4.738 MB / 302.1 MB Notification: Performance of Solve: time 0.0006018/0.04146, allocations: 307.6 kB / 359.2 MB, free: 4.434 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0007861/0.04226, allocations: 0.7054 MB / 359.9 MB, free: 3.688 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: ......... 6 * 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: ............................. 4 (4) {meanCurrent.x, meanVoltage.x, inductorSource.i, capacitor.v} * Number of discrete states: .................... 6 (6) {meanVoltage.y, meanCurrent.y, signalPWM.sawtooth.T_start, signalPWM.sawtooth.count, signalPWM.zeroOrderHold.firstTrigger, signalPWM.zeroOrderHold.ySample} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 24 (24) {chopperStepUp.enableLogic.booleanReplicator.y, chopperStepUp.enableLogic.internalEnable, chopperStepUp.andCondition_p.u1, chopperStepUp.andCondition_p.u2, chopperStepUp.andCondition_p.y, chopperStepUp.transistor.off, chopperStepUp.diode.off, signalPWM.zeroOrderHold.sampleTrigger, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $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: ........... 47 (scalar:45, array:2, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, 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: ........... 97 (scalar:95, array:2, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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: ........... 97 (scalar:95, array:2, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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.0001817/0.04245, allocations: 74.8 kB / 360 MB, free: 3.617 MB / 302.1 MB Notification: Performance of SimCode: time 0.002556/0.04501, allocations: 2.538 MB / 362.5 MB, free: 1.043 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.