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.001619/0.001626, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.00171/0.00171, allocations: 199.3 kB / 16.26 MB, free: 6.621 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.495/1.495, allocations: 205.1 MB / 222.1 MB, free: 4.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05682/0.05682, allocations: 10.74 MB / 280.2 MB, free: 10.57 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.002707/0.002707, allocations: 67.91 kB / 340.1 MB, free: 23.57 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09289/0.09562, allocations: 49 MB / 389.1 MB, free: 6.512 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004046/0.09972, allocations: 3.019 MB / 392.2 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003003/0.1027, allocations: 2.063 MB / 394.2 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.103, allocations: 31.75 kB / 394.3 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008135/0.1039, allocations: 362.8 kB / 394.6 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005263/0.1044, allocations: 271 kB / 394.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.1058, allocations: 0.7021 MB / 395.6 MB, free: 44 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.1069, allocations: 1.146 MB / 396.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.1072, allocations: 149.1 kB / 396.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005894/0.1078, allocations: 482.2 kB / 397.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005121/0.1083, allocations: 478.1 kB / 397.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.454e-05/0.1084, allocations: 60 kB / 397.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.1089, allocations: 307.7 kB / 398.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.1092, allocations: 251.2 kB / 398.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003083/0.1095, allocations: 406 kB / 398.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008785/0.1104, allocations: 0.9812 MB / 399.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1104, allocations: 0 / 399.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1104, allocations: 0 / 399.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1104, allocations: 4 kB / 399.8 MB, free: 11.8 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.002048/0.1124, allocations: 1.424 MB / 401.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1125, allocations: 15.89 kB / 401.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.1126, allocations: 102.6 kB / 401.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.1128, allocations: 99.72 kB / 401.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007925/0.1136, allocations: 0.6565 MB / 402.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/0.1136, allocations: 45.36 kB / 402.1 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.821e-05/0.1137, allocations: 59.92 kB / 402.2 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.1149, allocations: 0.7025 MB / 402.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.1149, allocations: 7.938 kB / 402.9 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/0.115, allocations: 23.98 kB / 402.9 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.115, allocations: 12 kB / 402.9 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000773/0.1158, allocations: 439.7 kB / 403.4 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.1185, allocations: 1.879 MB / 405.2 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008655/0.1194, allocations: 0.5803 MB / 405.8 MB, free: 5.504 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004653/0.1199, allocations: 314.3 kB / 406.1 MB, free: 5.195 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.1199, allocations: 5.422 kB / 406.1 MB, free: 5.191 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007507/0.1207, allocations: 0.495 MB / 406.6 MB, free: 4.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.334e-06/0.1207, allocations: 0 / 406.6 MB, free: 4.672 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed