Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.00111, allocations: 111 kB / 16.42 MB, free: 6.527 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.001104/0.001104, allocations: 185.5 kB / 17.35 MB, free: 5.75 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.137/1.137, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.239/2.239, allocations: 469.8 MB / 0.7431 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.361e-05, allocations: 5.516 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004247/0.004268, allocations: 3.834 MB / 1.07 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.006406, allocations: 1.725 MB / 1.071 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.006516, allocations: 4 kB / 1.071 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.007674, allocations: 0.5019 MB / 1.072 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003669/0.008049, allocations: 218.9 kB / 1.072 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.008448, allocations: 219.4 kB / 1.072 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.008932, allocations: 0.5257 MB / 1.073 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003777/0.009317, allocations: 218.3 kB / 1.073 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.0095, allocations: 187.3 kB / 1.073 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.009757, allocations: 175.3 kB / 1.073 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.009805, allocations: 28 kB / 1.073 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.01008, allocations: 199.5 kB / 1.073 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0003478/0.01043, allocations: 491 kB / 1.074 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0001778/0.01062, allocations: 308.1 kB / 1.074 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.119e-05/0.01068, allocations: 47.81 kB / 1.074 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.162e-05/0.01071, allocations: 15.94 kB / 1.074 GB, free: 4.941 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: 78 (60) * Number of variables: 78 (53) Notification: Performance of Bindings: time 0.001003/0.01172, allocations: 1.132 MB / 1.075 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 8.811e-05/0.01181, allocations: 79.8 kB / 1.075 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0005806/0.0124, allocations: 0.6189 MB / 1.076 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001206/0.01253, allocations: 118.3 kB / 1.076 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of Alias: time 0.0007761/0.01331, allocations: 0.6935 MB / 1.077 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of simplify2: time 9.973e-05/0.01342, allocations: 99.73 kB / 1.077 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001421/0.01357, allocations: 136.6 kB / 1.077 GB, free: 1.711 MB / 0.8419 GB Notification: Performance of Events: time 0.0001283/0.0137, allocations: 103.8 kB / 1.077 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002126/0.01392, allocations: 208.8 kB / 1.077 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of Causalize: time 0.3922/0.4061, allocations: 1.339 MB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.00054/0.4067, allocations: 476.5 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of Inline: time 0.0009137/0.4076, allocations: 0.9041 MB / 1.08 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of Partitioning: time 3.729e-05/0.4077, allocations: 23.36 kB / 1.08 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001246/0.4078, allocations: 156.8 kB / 1.08 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001623/0.4094, allocations: 1.464 MB / 1.082 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of Tearing: time 0.0007615/0.4102, allocations: 0.9153 MB / 1.082 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of Initialization: time 4.61e-07/0.4102, allocations: 0 / 1.082 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of Tearing: time 0.0006368/0.4108, allocations: 0.9129 MB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of Categorize: time 1.126e-05/0.4109, allocations: 5.891 kB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of Solve: time 0.0002879/0.4112, allocations: 178.1 kB / 1.084 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.805e-06/0.4112, allocations: 7.828 kB / 1.084 GB, free: 13.82 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: ......... 5 * 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: ................. 5 (5) {$SEV_4, $SEV_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: ........... 40 (scalar:27, array:13, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 5 (generic: 5, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 50 (scalar:37, array:13, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 5 (generic: 5, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 3.409e-05/0.4112, allocations: 39.06 kB / 1.084 GB, free: 13.8 MB / 0.8419 GB Error: Internal error NSimStrongComponent.Block.createResidual failed for [ARRY] (2) $RES_BND_62 = res2.terminal.v - res2.v ($RES_BND_62)