Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 113.2 kB / 16.43 MB, free: 6.523 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.001064/0.001064, allocations: 188.2 kB / 17.36 MB, free: 5.746 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.142/1.142, allocations: 222.9 MB / 241 MB, free: 15.16 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.209/2.209, allocations: 469.8 MB / 0.7431 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.084e-05, allocations: 5.516 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003815/0.003844, allocations: 3.071 MB / 1.069 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.005686, allocations: 1.332 MB / 1.07 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.005801, allocations: 12 kB / 1.07 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000831/0.006639, allocations: 326.7 kB / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.00691, allocations: 139.3 kB / 1.071 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.007185, allocations: 135.6 kB / 1.071 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.007523, allocations: 350.9 kB / 1.071 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.007795, allocations: 122.5 kB / 1.071 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.007922, allocations: 123.5 kB / 1.071 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.008112, allocations: 107.5 kB / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.008147, allocations: 16 kB / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.008343, allocations: 127.7 kB / 1.071 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002173/0.008568, allocations: 320.8 kB / 1.072 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0001055/0.00868, allocations: 193.5 kB / 1.072 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.008719, allocations: 31.88 kB / 1.072 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.439e-05/0.008748, allocations: 4 kB / 1.072 GB, free: 7.25 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: 50 (37) * Number of variables: 50 (34) Notification: Performance of Bindings: time 0.0007023/0.009455, allocations: 0.7849 MB / 1.073 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 6.598e-05/0.009526, allocations: 47.83 kB / 1.073 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0003714/0.009909, allocations: 411.3 kB / 1.073 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of simplify1: time 8.624e-05/0.01, allocations: 87.7 kB / 1.073 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of Alias: time 0.0005612/0.01057, allocations: 464.4 kB / 1.074 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of simplify2: time 6.903e-05/0.01065, allocations: 80.36 kB / 1.074 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001/0.01076, allocations: 99.98 kB / 1.074 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of Events: time 9.703e-05/0.01086, allocations: 56.95 kB / 1.074 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001311/0.011, allocations: 133 kB / 1.074 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0008371/0.01184, allocations: 0.7807 MB / 1.075 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0002579/0.01211, allocations: 309.1 kB / 1.075 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of Inline: time 0.0005138/0.01263, allocations: 0.5735 MB / 1.076 GB, free: 3.039 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.497e-05/0.01266, allocations: 26.3 kB / 1.076 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of Cleanup: time 6.934e-05/0.01273, allocations: 91.89 kB / 1.076 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0009656/0.0137, allocations: 0.8981 MB / 1.077 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of Tearing: time 0.0006796/0.01439, allocations: 0.6786 MB / 1.077 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of Initialization: time 5.31e-07/0.0144, allocations: 0 / 1.077 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of Tearing: time 0.0005589/0.01497, allocations: 0.6629 MB / 1.078 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of Categorize: time 9.988e-06/0.01499, allocations: 3.938 kB / 1.078 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001613/0.01515, allocations: 113.9 kB / 1.078 GB, free: 452 kB / 0.8419 GB Notification: Performance of Jacobian: time 4.338e-06/0.01516, allocations: 3.984 kB / 1.078 GB, free: 448 kB / 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: ................. 3 (3) {$SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 23 (scalar:14, 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: ........... 29 (scalar:20, 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 3.39e-05/0.0152, allocations: 30.53 kB / 1.078 GB, free: 420 kB / 0.8419 GB Error: Internal error NSimStrongComponent.Block.createResidual failed for [ARRY] (2) $RES_BND_42 = short_circuit.terminal.i - short_circuit.i ($RES_BND_42)