Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital.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/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.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(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") translateModel(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 107.9 kB / 16.41 MB, free: 6.441 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.001984/0.001984, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.444/1.444, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05742/0.05742, allocations: 10.74 MB / 281.3 MB, free: 1.277 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 71.42 kB / 391.5 MB, free: 46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1063, allocations: 49.03 MB / 440.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003166/0.1095, allocations: 2.614 MB / 443.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1109, allocations: 0.8073 MB / 443.9 MB, free: 392 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000252/0.1112, allocations: 23.81 kB / 444 MB, free: 368 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.1114, allocations: 75.14 kB / 444 MB, free: 292 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.1116, allocations: 55.41 kB / 444.1 MB, free: 236 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007792/0.1124, allocations: 387.3 kB / 444.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008589/0.1133, allocations: 0.7975 MB / 445.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.1136, allocations: 114.7 kB / 445.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003791/0.114, allocations: 291 kB / 445.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.1144, allocations: 294.6 kB / 446 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.22e-05/0.1145, allocations: 51.94 kB / 446 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.1146, allocations: 91.95 kB / 446.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.1148, allocations: 163.4 kB / 446.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.1151, allocations: 290.3 kB / 446.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006595/0.1157, allocations: 0.6033 MB / 447.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1158, allocations: 0 / 447.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1158, allocations: 0 / 447.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.1158, allocations: 0 / 447.1 MB, free: 13.16 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001727/0.1175, allocations: 0.9987 MB / 448.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1176, allocations: 8.031 kB / 448.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.1177, allocations: 72.09 kB / 448.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006918/0.1184, allocations: 0.4975 MB / 448.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.144e-05/0.1185, allocations: 63.27 kB / 448.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.1186, allocations: 56.36 kB / 448.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.1197, allocations: 0.6173 MB / 449.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.1197, allocations: 15.84 kB / 449.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.478e-05/0.1198, allocations: 20 kB / 449.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.1198, allocations: 8 kB / 449.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009352/0.1208, allocations: 439.6 kB / 449.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.1237, allocations: 1.748 MB / 451.7 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000909/0.1246, allocations: 438.9 kB / 452.1 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004712/0.1251, allocations: 321.1 kB / 452.4 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.1251, allocations: 11.97 kB / 452.4 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005927/0.1257, allocations: 327.4 kB / 452.7 MB, free: 7.328 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 5.41e-06/0.1257, allocations: 4 kB / 452.7 MB, free: 7.324 MB / 334.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) R_disc.cs R_disc.Iaction R_disc.satDiff R_disc.satin when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP) - pre(R_disc.PV)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.satin)); end when; [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: R_disc.cs R_disc.Iaction R_disc.satDiff R_disc.satin equations: when $whenCondition2 then R_disc.satin := R_disc.Iaction + R_disc.Paction + R_disc.Daction; end when; when $whenCondition2 then R_disc.satDiff := R_disc.cs - R_disc.satin; end when; when $whenCondition2 then R_disc.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R_disc.SP - R_disc.PV) + 0.01 * R_disc.satDiff, 2.0 * (pre(R_disc.SP) - pre(R_disc.PV)) + 0.01 * pre(R_disc.satDiff), pre(R_disc.Iaction), 0.01, 1.0); end when; when $whenCondition2 then R_disc.cs := max(0.0, min(2.0, R_disc.satin)); end when; [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed