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.001937/0.001937, allocations: 104 kB / 15.6 MB, free: 148 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.001949/0.001949, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.362/1.362, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05875/0.05875, allocations: 10.74 MB / 280.5 MB, free: 10.52 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.001552/0.001552, allocations: 67.89 kB / 340.6 MB, free: 23.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07569/0.07726, allocations: 49.02 MB / 389.7 MB, free: 6.16 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.PI_ContinuousVsDigital): time 0.003642/0.08093, allocations: 2.616 MB / 392.3 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.08241, allocations: 0.7956 MB / 393.1 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.08263, allocations: 19.81 kB / 393.1 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.08286, allocations: 87.06 kB / 393.2 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.08307, allocations: 59.34 kB / 393.2 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006837/0.08377, allocations: 383.3 kB / 393.6 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007074/0.08449, allocations: 0.7898 MB / 394.4 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.08471, allocations: 115 kB / 394.5 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.08501, allocations: 283.1 kB / 394.8 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/0.08536, allocations: 294.6 kB / 395.1 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.85e-05/0.08546, allocations: 48 kB / 395.1 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.08562, allocations: 87.95 kB / 395.2 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.08579, allocations: 159.5 kB / 395.4 MB, free: 436 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.08605, allocations: 294.2 kB / 395.7 MB, free: 140 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005564/0.08661, allocations: 0.58 MB / 396.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.08663, allocations: 0 / 396.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.08664, allocations: 0 / 396.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.08665, allocations: 0 / 396.2 MB, free: 15.55 MB / 302.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.001629/0.08828, allocations: 0.9911 MB / 397.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.08833, allocations: 15.83 kB / 397.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.08843, allocations: 94.7 kB / 397.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.08857, allocations: 76.08 kB / 397.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005839/0.08916, allocations: 473.4 kB / 397.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-05/0.08925, allocations: 75.23 kB / 397.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.464e-05/0.08936, allocations: 56.28 kB / 398 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.09037, allocations: 0.6132 MB / 398.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.0904, allocations: 7.938 kB / 398.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.09047, allocations: 31.98 kB / 398.6 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.09049, allocations: 8 kB / 398.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008782/0.09137, allocations: 435.7 kB / 399.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002665/0.09404, allocations: 1.771 MB / 400.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008473/0.09491, allocations: 438.9 kB / 401.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004544/0.09537, allocations: 321.6 kB / 401.6 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.09542, allocations: 4 kB / 401.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005432/0.09597, allocations: 335.2 kB / 401.9 MB, free: 9.605 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.274e-06/0.09598, allocations: 0 / 401.9 MB, free: 9.605 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed