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.001218/0.001218, allocations: 114.5 kB / 17.75 MB, free: 5.336 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.001288/0.001288, allocations: 183.1 kB / 18.68 MB, free: 4.414 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.838/1.838, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3624/0.3624, allocations: 48.85 MB / 320.8 MB, free: 11.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.011e-05, allocations: 2.281 kB / 451.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.003865/0.003904, allocations: 2.287 MB / 453.4 MB, free: 6.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.005275, allocations: 0.6472 MB / 454.1 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002262/0.005518, allocations: 7.938 kB / 454.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.005696, allocations: 35.66 kB / 454.1 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.006078, allocations: 91.27 kB / 454.2 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.00632, allocations: 55.92 kB / 454.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004599/0.006789, allocations: 326.6 kB / 454.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.007002, allocations: 69.31 kB / 454.6 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.007261, allocations: 115.6 kB / 454.8 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.007468, allocations: 119.3 kB / 454.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.705e-05/0.007522, allocations: 23.98 kB / 454.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.713e-05/0.007614, allocations: 24 kB / 454.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0003553/0.007976, allocations: 431 kB / 455.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.000185/0.008168, allocations: 268 kB / 455.6 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.00824, allocations: 39.88 kB / 455.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.82e-05/0.008303, allocations: 8 kB / 455.6 MB, free: 4.082 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.001151/0.00946, allocations: 1.154 MB / 456.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FunctionAlias: time 5.774e-05/0.009524, allocations: 35.91 kB / 456.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0004711/0.01, allocations: 0.4916 MB / 457.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of simplify1: time 4.88e-05/0.01006, allocations: 35.91 kB / 457.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of Alias: time 0.001267/0.01133, allocations: 0.9167 MB / 458.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simplify2: time 5.4e-05/0.0114, allocations: 31.95 kB / 458.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of Detect States: time 0.0002208/0.01163, allocations: 128.1 kB / 458.4 MB, free: 1.035 MB / 334.1 MB Notification: Performance of Events: time 0.0001113/0.01175, allocations: 55.84 kB / 458.5 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001506/0.01191, allocations: 120.1 kB / 458.6 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of Causalize: time 0.0004594/0.01237, allocations: 379.8 kB / 459 MB, free: 492 kB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002916/0.01267, allocations: 300.2 kB / 459.3 MB, free: 164 kB / 334.1 MB Notification: Performance of Inline: time 0.0007874/0.01347, allocations: 0.6937 MB / 460 MB, free: 15.43 MB / 350.1 MB Notification: Performance of Partitioning: time 4.895e-05/0.01353, allocations: 46.36 kB / 460 MB, free: 15.38 MB / 350.1 MB Notification: Performance of Cleanup: time 3.94e-05/0.01357, allocations: 19.97 kB / 460 MB, free: 15.36 MB / 350.1 MB Notification: Performance of Causalize: time 0.001149/0.01473, allocations: 0.8926 MB / 460.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Tearing: time 1.158e-05/0.01475, allocations: 0 / 460.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Initialization: time 3.546e-06/0.01476, allocations: 0 / 460.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Tearing: time 3.025e-06/0.01477, allocations: 7.938 kB / 460.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Categorize: time 8.756e-06/0.01478, allocations: 4 kB / 460.9 MB, free: 14.45 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 slice: {}; ### Residual Equations: [SCAL] (1) $RES_SIM_8 = (Breaker1.thetanom / Breaker1.Pnom) * Breaker1.port_a.P - Breaker1.thetarel ($RES_SIM_8) slice: {}; ### 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: flow Real Breaker1.port_a.P ### Equation: [-IF-] (1)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;