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.001074/0.001074, allocations: 109.5 kB / 17.7 MB, free: 5.379 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.001048/0.001048, allocations: 192.7 kB / 18.64 MB, free: 4.449 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.119/1.119, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2245/0.2245, allocations: 48.85 MB / 320.7 MB, free: 11.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.797e-05, allocations: 3.812 kB / 391.5 MB, free: 48.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002667/0.002697, allocations: 2.277 MB / 393.8 MB, free: 47.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008264/0.003535, allocations: 0.6581 MB / 394.4 MB, free: 46.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.003648, allocations: 8.125 kB / 394.4 MB, free: 46.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.003773, allocations: 30.91 kB / 394.4 MB, free: 46.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.003983, allocations: 79.72 kB / 394.5 MB, free: 46.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.004132, allocations: 58.94 kB / 394.6 MB, free: 46.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.004422, allocations: 319.3 kB / 394.9 MB, free: 46.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.004573, allocations: 72.42 kB / 395 MB, free: 46.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.004714, allocations: 113.8 kB / 395.1 MB, free: 46.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.004865, allocations: 114 kB / 395.2 MB, free: 46.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.004903, allocations: 23.75 kB / 395.2 MB, free: 46.4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.88e-05/0.004967, allocations: 19.59 kB / 395.2 MB, free: 46.4 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002353/0.005207, allocations: 430.6 kB / 395.7 MB, free: 46.12 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 9.47e-05/0.005308, allocations: 273.2 kB / 395.9 MB, free: 45.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/0.005356, allocations: 49.28 kB / 396 MB, free: 45.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.321e-05/0.005385, allocations: 6.562 kB / 396 MB, free: 45.91 MB / 318.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.0007427/0.006132, allocations: 1.154 MB / 397.1 MB, free: 45.02 MB / 318.1 MB Notification: Performance of FunctionAlias: time 3.578e-05/0.006174, allocations: 38.44 kB / 397.2 MB, free: 45 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003589/0.006538, allocations: 498.6 kB / 397.7 MB, free: 44.67 MB / 318.1 MB Notification: Performance of simplify1: time 3.598e-05/0.006581, allocations: 38.25 kB / 397.7 MB, free: 44.66 MB / 318.1 MB Notification: Performance of Alias: time 0.0008352/0.007422, allocations: 0.8195 MB / 398.5 MB, free: 44.09 MB / 318.1 MB Notification: Performance of simplify2: time 2.595e-05/0.00746, allocations: 26.3 kB / 398.5 MB, free: 44.08 MB / 318.1 MB Notification: Performance of Events: time 7.346e-05/0.007538, allocations: 56.25 kB / 398.6 MB, free: 44.05 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001478/0.007693, allocations: 134.8 kB / 398.7 MB, free: 43.95 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001089/0.007809, allocations: 116 kB / 398.8 MB, free: 43.89 MB / 318.1 MB Notification: Performance of Causalize: time 0.0004293/0.008245, allocations: 0.5648 MB / 399.4 MB, free: 43.52 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001707/0.008423, allocations: 291.5 kB / 399.7 MB, free: 43.25 MB / 318.1 MB Notification: Performance of Inline: time 0.0004436/0.008872, allocations: 0.6619 MB / 400.3 MB, free: 42.66 MB / 318.1 MB Notification: Performance of Partitioning: time 3.139e-05/0.008911, allocations: 51.06 kB / 400.4 MB, free: 42.61 MB / 318.1 MB Notification: Performance of Cleanup: time 1.763e-05/0.008934, allocations: 22.69 kB / 400.4 MB, free: 42.59 MB / 318.1 MB Notification: Performance of Causalize: time 0.000748/0.009686, allocations: 1.169 MB / 401.6 MB, free: 41.52 MB / 318.1 MB Notification: Performance of Tearing: time 4.899e-06/0.0097, allocations: 0 / 401.6 MB, free: 41.52 MB / 318.1 MB Notification: Performance of Initialization: time 3.2e-07/0.009706, allocations: 0 / 401.6 MB, free: 41.52 MB / 318.1 MB Notification: Performance of Tearing: time 1.002e-06/0.009711, allocations: 0 / 401.6 MB, free: 41.52 MB / 318.1 MB Notification: Performance of Categorize: time 5.821e-06/0.009722, allocations: 5.5 kB / 401.6 MB, free: 41.52 MB / 318.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_2: NLS ######################################### Partial Derivative Variables (1/1) ************************************ (1) [JVAR] (1) Real $pDER_INI_NLS_JAC_2.$RES_SIM_8 Seed Variables (1/1) ********************** (1) [SEED] (1) Real $SEED_INI_NLS_JAC_2.Breaker1.port_a.P BLOCK 1: Single Strong Component (status = Solve.EXPLICIT) ------------------------------------------------------------ ### Variable: Real $pDER_INI_NLS_JAC_2.$RES_SIM_8 ### Equation: [SCAL] (1) $pDER_INI_NLS_JAC_2.$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_2.Breaker1.port_a.P ($RES_INI_NLS_JAC_2_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: {}