Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001153/0.001153, allocations: 106.9 kB / 16.42 MB, free: 6.461 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.001056/0.001056, allocations: 185.5 kB / 17.36 MB, free: 5.699 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.263/1.263, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.254e-05, allocations: 2.281 kB / 327.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.004292/0.004323, allocations: 3.73 MB / 331 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.005941, allocations: 0.9901 MB / 331.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.006143, allocations: 11.94 kB / 332 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.006362, allocations: 83.09 kB / 332 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.00658, allocations: 134.8 kB / 332.2 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.00705, allocations: 207.6 kB / 332.4 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005971/0.007656, allocations: 0.7046 MB / 333.1 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00034/0.008009, allocations: 251.2 kB / 333.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.008247, allocations: 223.2 kB / 333.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.008489, allocations: 254.8 kB / 333.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.889e-05/0.008567, allocations: 60 kB / 333.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.418e-05/0.008648, allocations: 60 kB / 333.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0005258/0.009178, allocations: 0.8536 MB / 334.8 MB, free: 11.7 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002683/0.009453, allocations: 0.5234 MB / 335.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.126e-05/0.00955, allocations: 95.67 kB / 335.4 MB, free: 11.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.006e-05/0.009606, allocations: 15.94 kB / 335.4 MB, free: 11.05 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.00204/0.01165, allocations: 2.441 MB / 337.8 MB, free: 8.496 MB / 286.1 MB Notification: Performance of FunctionAlias: time 9.699e-05/0.01176, allocations: 111.8 kB / 337.9 MB, free: 8.387 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001076/0.01284, allocations: 1.249 MB / 339.2 MB, free: 7.109 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001143/0.01296, allocations: 107.9 kB / 339.3 MB, free: 7.004 MB / 286.1 MB Notification: Performance of Alias: time 0.002307/0.01527, allocations: 2.212 MB / 341.5 MB, free: 4.57 MB / 286.1 MB Notification: Performance of simplify2: time 5.906e-05/0.01534, allocations: 59.91 kB / 341.6 MB, free: 4.512 MB / 286.1 MB Notification: Performance of Events: time 0.0002835/0.01563, allocations: 235 kB / 341.8 MB, free: 4.277 MB / 286.1 MB Notification: Performance of Detect States: time 0.0004141/0.01606, allocations: 423.4 kB / 342.2 MB, free: 3.852 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0003851/0.01645, allocations: 402.3 kB / 342.6 MB, free: 3.406 MB / 286.1 MB Notification: Performance of Causalize: time 0.001857/0.01832, allocations: 2.031 MB / 344.6 MB, free: 1.34 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007644/0.01909, allocations: 0.9121 MB / 345.5 MB, free: 408 kB / 286.1 MB Notification: Performance of Inline: time 0.001553/0.02065, allocations: 1.661 MB / 347.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001159/0.02078, allocations: 103.6 kB / 347.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001999/0.02099, allocations: 195.6 kB / 347.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of Causalize: time 0.008961/0.02995, allocations: 10.09 MB / 357.6 MB, free: 4.688 MB / 302.1 MB Notification: Performance of Tearing: time 0.0007556/0.03074, allocations: 0.8826 MB / 358.5 MB, free: 3.707 MB / 302.1 MB Notification: Performance of Initialization: time 1.132e-06/0.03075, allocations: 3.938 kB / 358.5 MB, free: 3.703 MB / 302.1 MB Notification: Performance of Tearing: time 0.0003472/0.0311, allocations: 446 kB / 358.9 MB, free: 3.219 MB / 302.1 MB Notification: Performance of Categorize: time 2.54e-05/0.03113, allocations: 12.05 kB / 358.9 MB, free: 3.207 MB / 302.1 MB Notification: Performance of Solve: time 0.0004738/0.03161, allocations: 295.7 kB / 359.2 MB, free: 2.922 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0006446/0.03227, allocations: 0.7054 MB / 359.9 MB, free: 2.176 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.0001489/0.03242, allocations: 85.12 kB / 360 MB, free: 2.094 MB / 302.1 MB Notification: Performance of SimCode: time 0.001911/0.03434, allocations: 2.545 MB / 362.5 MB, free: 15.5 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.