Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",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.005618/0.005618, allocations: 100.2 kB / 15.73 MB, free: 6.059 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.001376/0.001376, allocations: 192.7 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.201/0.201, allocations: 11.19 MB / 301.7 MB, free: 1.211 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.89 kB / 417.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2688, allocations: 51.97 MB / 469.3 MB, free: 16.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004287/0.2732, allocations: 3.086 MB / 472.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003629/0.2768, allocations: 2.196 MB / 474.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000783/0.2776, allocations: 30.88 kB / 474.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.279, allocations: 412 kB / 475 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.2803, allocations: 314.4 kB / 475.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.283, allocations: 0.8311 MB / 476.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.2847, allocations: 1.191 MB / 477.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003228/0.2851, allocations: 157.6 kB / 477.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000689/0.2858, allocations: 477.2 kB / 478 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006513/0.2864, allocations: 483.1 kB / 478.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.2866, allocations: 61.41 kB / 478.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008108/0.2874, allocations: 316.8 kB / 478.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003058/0.2877, allocations: 260.3 kB / 479.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004277/0.2882, allocations: 414.2 kB / 479.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.2897, allocations: 1.048 MB / 480.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2897, allocations: 3.938 kB / 480.5 MB, free: 9.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2897, allocations: 0 / 480.5 MB, free: 9.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.2897, allocations: 1.281 kB / 480.5 MB, free: 9.227 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002522/0.2923, allocations: 1.505 MB / 482 MB, free: 7.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.2923, allocations: 18.16 kB / 482.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001114/0.2924, allocations: 102.9 kB / 482.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.2927, allocations: 112.4 kB / 482.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.2937, allocations: 0.7285 MB / 483 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.954e-05/0.2938, allocations: 43.34 kB / 483 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.2939, allocations: 70.52 kB / 483.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.2951, allocations: 0.7696 MB / 483.9 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.2952, allocations: 10.53 kB / 483.9 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.47e-05/0.2953, allocations: 23.06 kB / 483.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.2953, allocations: 17.69 kB / 483.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008448/0.2961, allocations: 475.7 kB / 484.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002868/0.299, allocations: 2.408 MB / 486.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000889/0.2999, allocations: 0.5794 MB / 487.4 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.3004, allocations: 306.5 kB / 487.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.3004, allocations: 7.953 kB / 487.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007261/0.3012, allocations: 0.5024 MB / 488.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.986e-06/0.3012, allocations: 0 / 488.2 MB, free: 3.656 MB / 350.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.satin R.cs R.satDiff R.Iaction when $whenCondition4 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition4 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + 0.6324555320336759 * R.satDiff, 2.0 * (pre(R.SP) - pre(R.PV)) + 0.6324555320336759 * pre(R.satDiff), pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition4 then R.satDiff := R.cs - R.satin; end when; when $whenCondition4 then R.cs := max(0.0, min(2.0, R.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.satin R.cs R.satDiff R.Iaction equations: when $whenCondition4 then R.satin := R.Iaction + R.Paction + R.Daction; end when; when $whenCondition4 then R.Iaction := IndustrialControlSystems.LinearSystems.Discrete.Functions.fIntegrator(1.0, 2.0 * (R.SP - R.PV) + 0.6324555320336759 * R.satDiff, 2.0 * (pre(R.SP) - pre(R.PV)) + 0.6324555320336759 * pre(R.satDiff), pre(R.Iaction), 0.01, 1.0); end when; when $whenCondition4 then R.satDiff := R.cs - R.satin; end when; when $whenCondition4 then R.cs := max(0.0, min(2.0, R.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