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 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.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.0009247/0.0009249, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005912/0.005912, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.379/1.379, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05216/0.05216, allocations: 10.74 MB / 281.5 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.0004873/0.0004873, allocations: 16 kB / 342.3 MB, free: 23.39 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1051, allocations: 50.01 MB / 392.3 MB, free: 5.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.0036/0.1087, allocations: 2.637 MB / 395 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003741/0.1125, allocations: 2.071 MB / 397 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.1128, allocations: 27.75 kB / 397.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009683/0.1138, allocations: 358.8 kB / 397.4 MB, free: 204 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005923/0.1144, allocations: 271 kB / 397.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.1163, allocations: 0.6747 MB / 398.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.1177, allocations: 1.072 MB / 399.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003264/0.118, allocations: 145.1 kB / 399.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007913/0.1188, allocations: 414.1 kB / 400 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005872/0.1194, allocations: 442.1 kB / 400.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.981e-05/0.1195, allocations: 28 kB / 400.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.1199, allocations: 275.7 kB / 400.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.1202, allocations: 215.2 kB / 400.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.1205, allocations: 383.2 kB / 401.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009457/0.1215, allocations: 0.938 MB / 402.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1215, allocations: 0 / 402.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1215, allocations: 0 / 402.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.1215, allocations: 4 kB / 402.2 MB, free: 11.35 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.001986/0.1235, allocations: 1.26 MB / 403.5 MB, free: 10 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.1236, allocations: 8.031 kB / 403.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.1237, allocations: 94.69 kB / 403.6 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.1239, allocations: 107.7 kB / 403.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.1249, allocations: 0.6564 MB / 404.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.125, allocations: 45.31 kB / 404.4 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.1251, allocations: 67.92 kB / 404.5 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.1262, allocations: 0.7064 MB / 405.2 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.1262, allocations: 7.844 kB / 405.2 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/0.1263, allocations: 23.98 kB / 405.2 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.1263, allocations: 16 kB / 405.2 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007774/0.1271, allocations: 447.7 kB / 405.7 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/0.13, allocations: 1.879 MB / 407.5 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008602/0.1308, allocations: 0.584 MB / 408.1 MB, free: 5.203 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005034/0.1313, allocations: 314.3 kB / 408.4 MB, free: 4.895 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.1314, allocations: 12.55 kB / 408.4 MB, free: 4.883 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007904/0.1322, allocations: 498.9 kB / 408.9 MB, free: 4.371 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.064e-06/0.1322, allocations: 0 / 408.9 MB, free: 4.371 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.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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed