Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) 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(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 113.1 kB / 16.42 MB, free: 6.473 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.001717/0.001717, allocations: 185.9 kB / 17.36 MB, free: 5.723 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.143/1.143, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.194/2.194, allocations: 469.8 MB / 0.7431 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.071e-05, allocations: 2.5 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003748/0.003768, allocations: 3.211 MB / 1.069 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.005517, allocations: 1.371 MB / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.005628, allocations: 7.938 kB / 1.07 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008273/0.006468, allocations: 338 kB / 1.071 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.006741, allocations: 151.2 kB / 1.071 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.007035, allocations: 143.6 kB / 1.071 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000365/0.00741, allocations: 374.8 kB / 1.071 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/0.0077, allocations: 137.3 kB / 1.071 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.007866, allocations: 143.5 kB / 1.071 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.008069, allocations: 119.5 kB / 1.072 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.008104, allocations: 16 kB / 1.072 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.008307, allocations: 135.7 kB / 1.072 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002529/0.008568, allocations: 356.4 kB / 1.072 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0001267/0.0087, allocations: 221.1 kB / 1.072 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.008741, allocations: 31.88 kB / 1.072 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.825e-05/0.008775, allocations: 15.94 kB / 1.072 GB, free: 6.891 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 (40) * Number of variables: 53 (37) Notification: Performance of Bindings: time 0.0007901/0.009569, allocations: 0.8571 MB / 1.073 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 9.73e-05/0.009672, allocations: 55.84 kB / 1.073 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0004211/0.0101, allocations: 451.3 kB / 1.074 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of simplify1: time 8.976e-05/0.0102, allocations: 103.5 kB / 1.074 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of Alias: time 0.0006267/0.01083, allocations: 0.5037 MB / 1.074 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of simplify2: time 7.084e-05/0.01091, allocations: 80.5 kB / 1.074 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001046/0.01102, allocations: 96.11 kB / 1.074 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of Events: time 9.862e-05/0.01113, allocations: 66.12 kB / 1.074 GB, free: 4.367 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001535/0.01129, allocations: 145.6 kB / 1.075 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0009236/0.01222, allocations: 0.8592 MB / 1.075 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0002886/0.01251, allocations: 334.6 kB / 1.076 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of Inline: time 0.0005626/0.01308, allocations: 0.6205 MB / 1.076 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.701e-05/0.01312, allocations: 22.31 kB / 1.076 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of Cleanup: time 8.294e-05/0.01321, allocations: 103.8 kB / 1.077 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001022/0.01423, allocations: 0.9357 MB / 1.077 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of Tearing: time 0.000688/0.01493, allocations: 0.6824 MB / 1.078 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of Initialization: time 1.783e-06/0.01494, allocations: 4 kB / 1.078 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of Tearing: time 0.3856/0.4006, allocations: 0.6629 MB / 1.079 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of Categorize: time 2.13e-05/0.4007, allocations: 1.938 kB / 1.079 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of Solve: time 0.0003286/0.401, allocations: 116.5 kB / 1.079 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of Jacobian: time 3.045e-06/0.401, allocations: 0 / 1.079 GB, free: 15.92 MB / 0.8419 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 26 (scalar:17, array:9, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 32 (scalar:23, array:9, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 4.13e-05/0.401, allocations: 32.72 kB / 1.079 GB, free: 15.91 MB / 0.8419 GB Error: Internal error NSimStrongComponent.Block.createResidual failed for [ARRY] (2) $RES_BND_43 = res.terminal.i - res.i ($RES_BND_43)