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.001812/0.001811, allocations: 108 kB / 15.61 MB, free: 152 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.01982/0.01982, allocations: 194.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 3.535/3.535, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.09695/0.09695, allocations: 10.75 MB / 280.5 MB, free: 10.5 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.002967/0.002968, allocations: 71.88 kB / 340.6 MB, free: 23.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2394, 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.007532/0.247, allocations: 2.616 MB / 392.3 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.2498, allocations: 0.8035 MB / 393.1 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009161/0.2507, allocations: 19.81 kB / 393.1 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004402/0.2513, allocations: 75.14 kB / 393.2 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004107/0.2517, allocations: 55.36 kB / 393.2 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.2532, allocations: 391.3 kB / 393.6 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001438/0.2547, allocations: 0.7898 MB / 394.4 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003805/0.2551, allocations: 118.9 kB / 394.5 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006141/0.2557, allocations: 283.1 kB / 394.8 MB, free: 1 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005816/0.2563, allocations: 290.7 kB / 395.1 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.2565, allocations: 48 kB / 395.1 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.2568, allocations: 87.97 kB / 395.2 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.2571, allocations: 163.5 kB / 395.4 MB, free: 432 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000459/0.2575, allocations: 294.3 kB / 395.7 MB, free: 136 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.2586, allocations: 0.5761 MB / 396.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2587, allocations: 0 / 396.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2587, allocations: 3.938 kB / 396.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.2587, 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.003011/0.2617, allocations: 0.9949 MB / 397.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.477e-05/0.2618, allocations: 11.89 kB / 397.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001869/0.2621, allocations: 94.7 kB / 397.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.2623, allocations: 76.09 kB / 397.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.2634, allocations: 477.4 kB / 397.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.2636, allocations: 71.27 kB / 397.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.2637, allocations: 64.27 kB / 398 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.2655, allocations: 0.6093 MB / 398.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/0.2656, allocations: 7.938 kB / 398.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.374e-05/0.2657, allocations: 24 kB / 398.6 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.2657, allocations: 12 kB / 398.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.2671, allocations: 443.6 kB / 399.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005632/0.2728, allocations: 1.763 MB / 400.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.2742, allocations: 434.9 kB / 401.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000728/0.2749, allocations: 325.4 kB / 401.6 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.275, allocations: 4 kB / 401.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000914/0.2759, allocations: 327.2 kB / 401.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 5.921e-06/0.2759, allocations: 0 / 401.9 MB, free: 9.613 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