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.001187/0.001187, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001216/0.001216, allocations: 195.4 kB / 16.91 MB, free: 6.195 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.454/1.454, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05547/0.05547, allocations: 10.74 MB / 280.8 MB, free: 10.68 MB / 238.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.001344/0.001345, allocations: 63.91 kB / 340.7 MB, free: 23.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.112, allocations: 49.02 MB / 389.7 MB, free: 6.598 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.004062/0.1161, allocations: 2.662 MB / 392.4 MB, free: 3.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.1179, allocations: 0.7801 MB / 393.2 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002566/0.1182, allocations: 27.75 kB / 393.2 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.1184, allocations: 55.52 kB / 393.2 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.1187, allocations: 39.61 kB / 393.3 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007607/0.1195, allocations: 347.5 kB / 393.6 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007916/0.1203, allocations: 0.7936 MB / 394.4 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.1206, allocations: 115 kB / 394.5 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.1209, allocations: 294.9 kB / 394.8 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.1212, allocations: 298.6 kB / 395.1 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.579e-05/0.1213, allocations: 48 kB / 395.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.1215, allocations: 87.95 kB / 395.2 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.1217, allocations: 163.5 kB / 395.4 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.122, allocations: 298.2 kB / 395.7 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004709/0.1224, allocations: 435.2 kB / 396.1 MB, free: 176 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1224, allocations: 0 / 396.1 MB, free: 176 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1225, allocations: 0 / 396.1 MB, free: 176 kB / 286.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1225, allocations: 0 / 396.1 MB, free: 176 kB / 286.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.001849/0.1243, allocations: 0.9949 MB / 397.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.1244, allocations: 12.03 kB / 397.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.1246, allocations: 72.09 kB / 397.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000674/0.1252, allocations: 477.5 kB / 397.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-05/0.1253, allocations: 63.27 kB / 397.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.1255, allocations: 64.27 kB / 397.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.1266, allocations: 0.6134 MB / 398.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.1267, allocations: 3.938 kB / 398.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-05/0.1267, allocations: 28 kB / 398.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.1267, allocations: 12 kB / 398.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00089/0.1276, allocations: 439.6 kB / 398.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002842/0.1305, allocations: 1.759 MB / 400.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008987/0.1314, allocations: 442.9 kB / 401 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000458/0.1319, allocations: 321.5 kB / 401.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.1319, allocations: 8 kB / 401.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005933/0.1325, allocations: 327.2 kB / 401.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 3.346e-06/0.1325, allocations: 0 / 401.7 MB, free: 10.34 MB / 302.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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed