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: "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_PI_ContinuousVsDigital",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008553/0.008553, allocations: 95.31 kB / 15.73 MB, free: 6.051 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.001917/0.001917, allocations: 202.6 kB / 16.68 MB, free: 5.973 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.413/1.413, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05891/0.05891, allocations: 10.75 MB / 280.7 MB, free: 10.41 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.001635/0.001635, allocations: 71.91 kB / 390.3 MB, free: 5.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2473, allocations: 49.01 MB / 439.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.00339/0.2508, allocations: 2.626 MB / 442 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.2522, allocations: 0.8018 MB / 442.8 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.2524, allocations: 22.22 kB / 442.8 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.2527, allocations: 78.5 kB / 442.9 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.2529, allocations: 61.88 kB / 442.9 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007035/0.2536, allocations: 383.9 kB / 443.3 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008004/0.2544, allocations: 0.7923 MB / 444.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.2546, allocations: 119.1 kB / 444.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/0.255, allocations: 291.9 kB / 444.5 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/0.2553, allocations: 288.5 kB / 444.8 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.653e-05/0.2554, allocations: 52.91 kB / 444.8 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.2556, allocations: 95.17 kB / 444.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.2558, allocations: 163.4 kB / 445.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.256, allocations: 286.5 kB / 445.4 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000781/0.2568, allocations: 0.6066 MB / 446 MB, free: 1.098 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2569, allocations: 1.375 kB / 446 MB, free: 1.098 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2569, allocations: 0 / 446 MB, free: 1.098 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.2569, allocations: 0 / 446 MB, free: 1.098 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.001826/0.2587, allocations: 1.015 MB / 447 MB, free: 352 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2588, allocations: 13.34 kB / 447 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.2589, allocations: 95.5 kB / 447.1 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.259, allocations: 79.3 kB / 447.2 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007798/0.2598, allocations: 0.4903 MB / 447.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.608e-05/0.2599, allocations: 74.84 kB / 447.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.26, allocations: 63.52 kB / 447.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.2612, allocations: 0.613 MB / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.2612, allocations: 2.438 kB / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.2613, allocations: 23.75 kB / 448.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.2613, allocations: 10.56 kB / 448.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009126/0.2622, allocations: 453.3 kB / 448.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002985/0.2652, allocations: 1.753 MB / 450.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008654/0.2661, allocations: 439.1 kB / 451.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004802/0.2666, allocations: 317.3 kB / 451.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.2666, allocations: 4.188 kB / 451.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005608/0.2672, allocations: 329.5 kB / 451.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 2.655e-06/0.2672, allocations: 0 / 451.7 MB, free: 13.15 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