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.001257/0.001257, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001462/0.001461, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 222.1 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.05451/0.05451, allocations: 10.74 MB / 281.1 MB, free: 10.55 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.0005368/0.0005369, allocations: 19.06 kB / 341.7 MB, free: 23.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1114, allocations: 50 MB / 391.7 MB, free: 5.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003036/0.1145, allocations: 2.208 MB / 393.9 MB, free: 3.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.116, allocations: 0.7647 MB / 394.7 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.1163, allocations: 19.81 kB / 394.7 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.1165, allocations: 43.58 kB / 394.7 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.1167, allocations: 47.75 kB / 394.8 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006442/0.1174, allocations: 291.5 kB / 395 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006199/0.118, allocations: 437.2 kB / 395.5 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.1183, allocations: 90.95 kB / 395.6 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.1186, allocations: 259 kB / 395.8 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.119, allocations: 250.9 kB / 396.1 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.04e-05/0.1191, allocations: 23.94 kB / 396.1 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1192, allocations: 59.95 kB / 396.1 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.1194, allocations: 135.5 kB / 396.3 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.1196, allocations: 125.3 kB / 396.4 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.1201, allocations: 415.1 kB / 396.8 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1201, allocations: 0 / 396.8 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1201, allocations: 4 kB / 396.8 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.1201, allocations: 0 / 396.8 MB, free: 0.5625 MB / 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.001757/0.1219, allocations: 0.8859 MB / 397.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.1219, allocations: 8.031 kB / 397.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.1221, allocations: 94.52 kB / 397.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.1222, allocations: 79.11 kB / 397.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007575/0.123, allocations: 456.5 kB / 398.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.24e-05/0.1231, allocations: 66.7 kB / 398.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.1232, allocations: 59.89 kB / 398.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.1244, allocations: 0.6168 MB / 399.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.1244, allocations: 4 kB / 399.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.099e-05/0.1245, allocations: 27.98 kB / 399.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.1245, allocations: 12 kB / 399.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009041/0.1254, allocations: 459.6 kB / 399.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/0.1284, allocations: 1.798 MB / 401.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009461/0.1294, allocations: 483.4 kB / 401.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.1294, allocations: 4 kB / 401.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006235/0.13, allocations: 347.5 kB / 402.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 3.276e-06/0.1301, allocations: 0 / 402.2 MB, free: 10.96 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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed