Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 85.11 kB / 10.01 MB, free: 0.668 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001587/0.002835, allocations: 436 kB / 10.44 MB, free: 248 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 161.2 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001535/0.003144, allocations: 475.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.658/1.658, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1176/1.775, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.05731/0.05731, allocations: 5.881 MB / 250 MB, free: 9.266 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005991/0.0633, allocations: 2.128 MB / 252.2 MB, free: 7.137 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") translateModel(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.104e-05, allocations: 2.312 kB / 253.5 MB, free: 5.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004978/0.005009, allocations: 2.685 MB / 256.1 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.007105, allocations: 0.9333 MB / 257.1 MB, free: 2.199 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.007375, allocations: 31.62 kB / 257.1 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.007614, allocations: 94.95 kB / 257.2 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.00782, allocations: 55.36 kB / 257.3 MB, free: 2.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.008995, allocations: 0.5107 MB / 257.8 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.01025, allocations: 1.047 MB / 258.8 MB, free: 472 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.01046, allocations: 87.06 kB / 258.9 MB, free: 380 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009851/0.01145, allocations: 0.6629 MB / 259.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.01186, allocations: 243.2 kB / 259.8 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.958e-05/0.01195, allocations: 52 kB / 259.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/0.01216, allocations: 99.89 kB / 259.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of combineBinaries: time 0.0008804/0.01304, allocations: 0.8337 MB / 260.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of replaceArrayConstructors: time 0.0004884/0.01352, allocations: 0.542 MB / 261.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.718e-05/0.01361, allocations: 40 kB / 261.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.543e-05/0.01371, allocations: 39.78 kB / 261.4 MB, free: 13.86 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 (122) * Number of variables: 141 (123) Notification: Performance of [SIM] Bindings: time 0.00425/0.01796, allocations: 3.446 MB / 264.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of [SIM] Data Reconciliation: time 9.588e-06/0.01797, allocations: 8 kB / 264.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004955/0.01846, allocations: 332 kB / 265.2 MB, free: 9.922 MB / 266.7 MB Notification: Performance of [SIM] Early Inline: time 0.002444/0.02091, allocations: 1.89 MB / 267.1 MB, free: 8.004 MB / 266.7 MB Notification: Performance of [SIM] Simplify: time 0.0006194/0.02153, allocations: 375.7 kB / 267.4 MB, free: 7.609 MB / 266.7 MB Notification: Performance of [SIM] Alias: time 0.004755/0.02628, allocations: 3.002 MB / 270.4 MB, free: 4.258 MB / 266.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0003119/0.02659, allocations: 214.1 kB / 270.6 MB, free: 4.02 MB / 266.7 MB Notification: Performance of [SIM] Algorithm Locals: time 0.000463/0.02706, allocations: 315.8 kB / 271 MB, free: 3.707 MB / 266.7 MB Notification: Performance of [SIM] Detect States: time 0.001328/0.02838, allocations: 0.8615 MB / 271.8 MB, free: 2.758 MB / 266.7 MB Notification: Performance of [SIM] Events: time 0.0005744/0.02896, allocations: 383.2 kB / 272.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of [SIM] Partitioning: time 0.001244/0.0302, allocations: 0.8383 MB / 273 MB, free: 1.508 MB / 266.7 MB Notification: Performance of [SIM] Causalize: time 0.001859/0.03206, allocations: 1.162 MB / 274.2 MB, free: 332 kB / 266.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.1191/0.1511, allocations: 1.401 MB / 275.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of [INI] Simplify: time 0.00147/0.1526, allocations: 0.7017 MB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of [INI] Inline: time 0.002442/0.155, allocations: 1.87 MB / 278.2 MB, free: 14.01 MB / 266.7 MB Notification: Performance of [INI] Partitioning: time 9.377e-05/0.1551, allocations: 45.81 kB / 278.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of [INI] Cleanup: time 0.000504/0.1556, allocations: 301.5 kB / 278.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of [INI] Causalize: time 0.004937/0.1606, allocations: 2.899 MB / 281.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of [INI] Tearing: time 0.0007469/0.1613, allocations: 464.4 kB / 281.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of [SIM] Initialization: time 1.132e-06/0.1613, allocations: 3.906 kB / 281.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of [SIM] Remove Dummies: time 8.596e-06/0.1613, allocations: 3.188 kB / 281.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of [SIM] Tearing: time 0.001037/0.1624, allocations: 0.5769 MB / 282.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of [SIM] Categorize: time 0.0008336/0.1632, allocations: 407.6 kB / 282.8 MB, free: 12.93 MB / 266.7 MB Error: Internal error NBSolve.solveStrongComponent failed. Use -d=tearingdump for more information. Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Algebraic Loop (Linear = true, Mixed = true, Homotopy = false, size = 10) ---------------------------------------------------------------------------------- Strict Tearing Set ******************** ### Iteration Variables: [ALGB] (1) Real sum1.y ### Residual Equations: [SCAL] (1) $RES_SIM_51 = (R_disc.CS - sum2.u2) - sum1.y; ($RES_SIM_51) ### Inner Equations: BLOCK: Single Strong Component (status = Solve.UNPROCESSED, size = 1) ----------------------------------------------------------------------- ### Variable: Real P_disc.y ### Equation: [SCAL] (1) P_disc.y = P_disc.A*sum1.y + P_disc.w; ($RES_SIM_104) BLOCK: Multi Strong Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------------- ### Variables: [DISS] (1) Real R_disc.Fder ### Equation: [WHEN] (1) ($RES_SIM_97) [----] when $TEV_5 then [----] R_disc.Fder := IndustrialControlSystems.LinearSystems.Discrete.Functions.f1Pole(1.0, R_cont.SP_s - P_disc.y, $PRE.R_disc.SP_s - $PRE.R_disc.PV_s, $PRE.R_disc.Fder, 0.01, 80.0, 0.0625) [----] end when; BLOCK: Multi Strong Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------------- ### Variables: [DISS] (1) Real R_disc.Paction ### Equation: [WHEN] (1) ($RES_SIM_100) [----] when $TEV_2 then [----] R_disc.Paction := 10.0*(R_cont.SP_s - P_disc.y) [----] end when; BLOCK: Multi Strong Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------------- ### Variables: [DISS] (1) Real R_disc.Daction ### Equation: [WHEN] (1) ($RES_SIM_98) [----] when $TEV_4 then [----] R_disc.Daction := 80.0*(R_cont.SP_s - P_disc.y) - R_disc.Fder [----] end when; BLOCK: Algebraic Loop (Linear = false, Mixed = false, Homotopy = false, size = 4) ----------------------------------------------------------------------------------- Strict Tearing Set ******************** ### Iteration Variables: [DISS] (1) Real R_disc.satDiff [DISS] (1) Real R_disc.satin [DISS] (1) Real R_disc.Iaction [DISS] (1) Real R_disc.cs ### Residual Equations: [WHEN] (1) ($RES_SIM_93) [----] when $TEV_0 then [----] R_disc.satDiff := R_disc.cs - R_disc.satin [----] end when; [WHEN] (1) ($RES_SIM_95) [----] when $TEV_7 then [----] R_disc.satin := R_disc.Paction + R_disc.Iaction + R_disc.Daction [----] end when; [WHEN] (1) ($RES_SIM_99) [----] when $TEV_3 then [----] R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0*(R_cont.SP_s - P_disc.y) + 0.01*R_disc.satDiff, 2.0*($PRE.R_disc.SP_s - $PRE.R_disc.PV_s) + 0.01*$PRE.R_disc.satDiff, $PRE.R_disc.Iaction, 0.01, 1.0) [----] end when; [WHEN] (1) ($RES_SIM_94) [----] when $TEV_0 then [----] R_disc.cs := max(0.0, min(2.0, R_disc.satin)) [----] end when; ### Inner Equations: BLOCK: Multi Strong Component (status = Solve.UNPROCESSED, size = 1) ---------------------------------------------------------------------- ### Variables: [DISS] (1) Real R_disc.CS ### Equation: [WHEN] (1) ($RES_SIM_92) [----] when $TEV_0 then [----] R_disc.CS := max(0.0, min(2.0, R_disc.cs + $PRE.R_disc.bias)) [----] end when; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.387090574018657]