Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) 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(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 115.7 kB / 17.76 MB, free: 5.266 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.001333/0.001333, allocations: 186 kB / 18.69 MB, free: 4.344 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.353/1.353, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2724/0.2724, allocations: 48.86 MB / 320.8 MB, free: 10.99 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.239e-05, allocations: 2.281 kB / 451.1 MB, free: 8.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.003457/0.00349, allocations: 2.299 MB / 453.4 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.004727, allocations: 0.6472 MB / 454.1 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.004942, allocations: 4 kB / 454.1 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.005096, allocations: 39.59 kB / 454.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.0054, allocations: 91.31 kB / 454.2 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.005604, allocations: 51.94 kB / 454.3 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.005995, allocations: 326.6 kB / 454.6 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.006139, allocations: 49.33 kB / 454.6 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.006334, allocations: 115.5 kB / 454.7 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.006498, allocations: 123.3 kB / 454.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.00654, allocations: 20 kB / 454.9 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.763e-05/0.006618, allocations: 20 kB / 454.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0003254/0.006944, allocations: 435 kB / 455.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001644/0.007108, allocations: 272 kB / 455.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.797e-05/0.007166, allocations: 43.88 kB / 455.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.324e-05/0.007219, allocations: 8 kB / 455.6 MB, free: 4.066 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 (38) * Number of variables: 38 (38) Notification: Performance of Bindings: time 0.001038/0.008257, allocations: 0.9568 MB / 456.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FunctionAlias: time 7.989e-05/0.008337, allocations: 74.67 kB / 456.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0003684/0.008705, allocations: 383.4 kB / 457.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001029/0.008808, allocations: 99.72 kB / 457.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of Alias: time 0.001211/0.01002, allocations: 0.7563 MB / 457.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simplify2: time 8.775e-05/0.01011, allocations: 68.28 kB / 458 MB, free: 1.422 MB / 334.1 MB Notification: Performance of Detect States: time 0.0002558/0.01036, allocations: 132.5 kB / 458.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of Events: time 0.0001081/0.01047, allocations: 43.89 kB / 458.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001636/0.01063, allocations: 124 kB / 458.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of Causalize: time 0.0004036/0.01104, allocations: 272.3 kB / 458.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002359/0.01127, allocations: 220.2 kB / 458.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of Inline: time 0.0009104/0.01218, allocations: 0.6358 MB / 459.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Partitioning: time 3.685e-05/0.01222, allocations: 18.38 kB / 459.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of Cleanup: time 0.0001169/0.01234, allocations: 83.89 kB / 459.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of Causalize: time 0.001007/0.01335, allocations: 0.63 MB / 460.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of Tearing: time 1.234e-05/0.01336, allocations: 0 / 460.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of Initialization: time 7.12e-07/0.01336, allocations: 0 / 460.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of Tearing: time 4.95e-06/0.01336, allocations: 4 kB / 460.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of Categorize: time 8.606e-06/0.01337, allocations: 0 / 460.1 MB, free: 15.13 MB / 350.1 MB Error: Internal error NBStrongComponent.toSolvedEquation failed because strong component could not be solved explicitely: BLOCK: Algebraic Loop (Linear = false, Mixed = false) ------------------------------------------------------- Strict Tearing Set ******************** ### Iteration Variables: [ALGB] (1) flow Real Breaker1.port_a.P; ### Residual Equations: [SCAL] (1) $RES_SIM_8 = (Breaker1.thetanom / Breaker1.Pnom) * Breaker1.port_a.P - Breaker1.thetarel ($RES_SIM_8); ### Inner Equations: ######################################### [NLS] Jacobian INI_NLS_JAC_1: NLS ######################################### Partial Derivative Variables (1/1) ************************************ (1) [JVAR] (1) Real $pDER_INI_NLS_JAC_1.$RES_SIM_8 Seed Variables (1/1) ********************** (1) [SEED] (1) Real $SEED_INI_NLS_JAC_1.Breaker1.port_a.P BLOCK 1: Single Strong Component (status = Solve.EXPLICIT) ------------------------------------------------------------ ### Variable: Real $pDER_INI_NLS_JAC_1.$RES_SIM_8 ### Equation: [SCAL] (1) $pDER_INI_NLS_JAC_1.$RES_SIM_8 = (((0.0) * Breaker1.Pnom - (0.0) * Breaker1.thetanom) / Breaker1.Pnom ^ 2.0) * Breaker1.port_a.P + (Breaker1.thetanom / Breaker1.Pnom) * $SEED_INI_NLS_JAC_1.Breaker1.port_a.P ($RES_INI_NLS_JAC_1_0) ============================= Sparsity Pattern (nnz: 1) ============================= ### Seeds (col vars) ### -------------------------- {Breaker1.port_a.P} ### Partials (row vars) ### ----------------------------- {$RES_SIM_8} ### Columns ### ----------------- (Breaker1.port_a.P) affects: {$RES_SIM_8} ##### Rows ##### ------------------ ($RES_SIM_8) depends on: {Breaker1.port_a.P} ===================== Sparsity Coloring ===================== Color (1) - Column: {Breaker1.port_a.P} - Row: {} Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Multi Strong Component (status = Solve.UNPROCESSED) ------------------------------------------------------------ ### Variables: [ALGB] (1) flow Real Breaker1.port_a.P ### Equation: [-IF-] (1) ($RES_SIM_7)if BreakerCommand.y then [----] [SCAL] (1) Breaker1.thetarel = (Breaker1.thetanom / Breaker1.Pnom) * Breaker1.port_a.P ($RES_SIM_8) [----] else [----] [SCAL] (1) Breaker1.port_a.P = 0.0 ($RES_SIM_9) [----] end if;