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.001763/0.001763, allocations: 112.5 kB / 15.73 MB, free: 76 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.001932/0.001932, allocations: 190.2 kB / 16.67 MB, free: 6.57 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.467/1.467, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06405/0.06405, allocations: 10.74 MB / 280.6 MB, free: 10.44 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.002112/0.002112, allocations: 75.25 kB / 390.3 MB, free: 5.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2577, 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.003621/0.2614, allocations: 2.635 MB / 442 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2628, allocations: 0.7948 MB / 442.8 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.2631, allocations: 26.81 kB / 442.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.2633, allocations: 80.59 kB / 442.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.2635, allocations: 61.67 kB / 442.9 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008264/0.2643, allocations: 384.2 kB / 443.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009307/0.2653, allocations: 0.7767 MB / 444.1 MB, free: 2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.2655, allocations: 86.25 kB / 444.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.2658, allocations: 291.4 kB / 444.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.2662, allocations: 289.1 kB / 444.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.373e-05/0.2663, allocations: 52.59 kB / 444.8 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.2665, allocations: 97.73 kB / 444.9 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.2667, allocations: 158.3 kB / 445.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.2669, allocations: 289.5 kB / 445.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008603/0.2677, allocations: 0.603 MB / 445.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2677, allocations: 0 / 445.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2677, allocations: 0 / 445.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.2677, allocations: 0 / 445.9 MB, free: 1.117 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.001712/0.2695, allocations: 1.012 MB / 446.9 MB, free: 376 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2695, allocations: 14.17 kB / 447 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.983e-05/0.2696, allocations: 95.38 kB / 447.1 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.2697, allocations: 78.22 kB / 447.1 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007895/0.2705, allocations: 0.5019 MB / 447.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.28e-05/0.2706, allocations: 66.55 kB / 447.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.2707, allocations: 66.92 kB / 447.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.272, allocations: 0.6187 MB / 448.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.2721, allocations: 1.375 kB / 448.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.558e-05/0.2721, allocations: 24.44 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.2721, allocations: 10.47 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.2732, allocations: 443.6 kB / 448.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003322/0.2765, allocations: 1.76 MB / 450.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009019/0.2774, allocations: 319.9 kB / 450.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004389/0.2778, allocations: 199.6 kB / 451.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.571e-05/0.2779, allocations: 8.125 kB / 451.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006757/0.2786, allocations: 323 kB / 451.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 3.236e-06/0.2786, allocations: 0 / 451.4 MB, free: 13.32 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:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed