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.01389/0.01389, allocations: 99.98 kB / 15.73 MB, free: 6.039 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.002551/0.002552, allocations: 202 kB / 16.68 MB, free: 5.965 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.708/1.708, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05994/0.05994, allocations: 10.74 MB / 280.6 MB, free: 10.42 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.001649/0.001649, allocations: 75.23 kB / 390.8 MB, free: 5.031 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4407, allocations: 49.01 MB / 439.9 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.006357/0.4472, allocations: 2.623 MB / 442.5 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.4492, allocations: 0.8084 MB / 443.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003108/0.4495, allocations: 23.56 kB / 443.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.4499, allocations: 78.38 kB / 443.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.4502, allocations: 55.72 kB / 443.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.4516, allocations: 388.6 kB / 443.8 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.453, allocations: 0.7897 MB / 444.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.4534, allocations: 112.1 kB / 444.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004369/0.4538, allocations: 290.1 kB / 445 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004603/0.4543, allocations: 297.5 kB / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.4544, allocations: 48.75 kB / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.4546, allocations: 91.36 kB / 445.4 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.4548, allocations: 164.9 kB / 445.6 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.4551, allocations: 285 kB / 445.9 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.4561, allocations: 0.6048 MB / 446.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4561, allocations: 0 / 446.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4561, allocations: 0 / 446.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.4562, allocations: 3.938 kB / 446.5 MB, free: 1.359 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00201/0.4582, allocations: 1.021 MB / 447.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.4583, allocations: 13.56 kB / 447.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.4584, allocations: 77.06 kB / 447.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/0.4591, allocations: 0.4961 MB / 448.1 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.593e-05/0.4592, allocations: 66.7 kB / 448.1 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.4593, allocations: 59.58 kB / 448.2 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.4605, allocations: 0.6075 MB / 448.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.4606, allocations: 10.8 kB / 448.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.539e-05/0.4607, allocations: 27.72 kB / 448.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.4607, allocations: 14.78 kB / 448.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009315/0.4616, allocations: 435.5 kB / 449.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/0.4646, allocations: 1.755 MB / 451 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009646/0.4655, allocations: 438.8 kB / 451.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005338/0.4661, allocations: 321.3 kB / 451.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.452e-05/0.4661, allocations: 7.188 kB / 451.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006229/0.4668, allocations: 325.8 kB / 452.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 1.904e-06/0.4668, allocations: 1.375 kB / 452.1 MB, free: 13.39 MB / 334.1 MB [/var/lib/jenkins/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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed