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.001138/0.001138, allocations: 102.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 175.5 kB / 16.58 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05594/0.05594, allocations: 10.75 MB / 281.8 MB, free: 10.54 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.0005004/0.0005004, allocations: 15.12 kB / 342.3 MB, free: 23.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1139, allocations: 50.01 MB / 392.3 MB, free: 5.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.00319/0.1172, allocations: 2.18 MB / 394.4 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.1188, allocations: 0.7647 MB / 395.2 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.1191, allocations: 19.81 kB / 395.2 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.1194, allocations: 51.47 kB / 395.3 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.1196, allocations: 35.67 kB / 395.3 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006571/0.1203, allocations: 315.5 kB / 395.6 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007155/0.121, allocations: 0.6492 MB / 396.3 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.1212, allocations: 82.69 kB / 396.4 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.1215, allocations: 259 kB / 396.6 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003781/0.1219, allocations: 262.8 kB / 396.9 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.916e-05/0.122, allocations: 24 kB / 396.9 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1221, allocations: 55.97 kB / 396.9 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.1224, allocations: 139.5 kB / 397.1 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.1225, allocations: 121.4 kB / 397.2 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.123, allocations: 419.2 kB / 397.6 MB, free: 404 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.123, allocations: 3.984 kB / 397.6 MB, free: 400 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.123, allocations: 0 / 397.6 MB, free: 400 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1231, allocations: 4 kB / 397.6 MB, free: 396 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.001759/0.1248, allocations: 0.882 MB / 398.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1249, allocations: 8.031 kB / 398.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.125, allocations: 79.09 kB / 398.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006564/0.1257, allocations: 456.5 kB / 399 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.885e-05/0.1258, allocations: 74.62 kB / 399.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.1259, allocations: 56 kB / 399.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.127, allocations: 0.6246 MB / 399.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.127, allocations: 7.906 kB / 399.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.918e-05/0.1271, allocations: 23.98 kB / 399.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.1271, allocations: 12 kB / 399.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.1282, allocations: 459.6 kB / 400.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/0.1314, allocations: 1.775 MB / 402 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009201/0.1323, allocations: 495.3 kB / 402.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005213/0.1328, allocations: 365.6 kB / 402.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.179e-05/0.1329, allocations: 4 kB / 402.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006192/0.1335, allocations: 359.4 kB / 403.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.675e-06/0.1335, allocations: 4 kB / 403.2 MB, free: 10.51 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed