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.009665/0.009665, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.002342/0.002342, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.531/1.531, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05998/0.05998, allocations: 10.75 MB / 280.7 MB, free: 10.39 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.001455/0.001455, allocations: 68.53 kB / 390.3 MB, free: 5.504 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2451, allocations: 49.03 MB / 439.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003686/0.2488, allocations: 2.982 MB / 442.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002966/0.2518, allocations: 2.068 MB / 444.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003002/0.2522, allocations: 28.78 kB / 444.5 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008629/0.2531, allocations: 394.9 kB / 444.8 MB, free: 1.367 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0006426/0.2537, allocations: 315 kB / 445.1 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.2555, allocations: 0.7708 MB / 445.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.2566, allocations: 1.14 MB / 447.1 MB, free: 356 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.2569, allocations: 154.9 kB / 447.2 MB, free: 264 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005598/0.2575, allocations: 471.3 kB / 447.7 MB, free: 44 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000544/0.258, allocations: 473.8 kB / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.2581, allocations: 59.06 kB / 448.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005151/0.2587, allocations: 314.8 kB / 448.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.2589, allocations: 250.8 kB / 448.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003399/0.2593, allocations: 406 kB / 449.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.2603, allocations: 1 MB / 450.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.2603, allocations: 3.984 kB / 450.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2604, allocations: 3.5 kB / 450.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.2604, allocations: 0 / 450.1 MB, free: 14.44 MB / 334.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.002025/0.2624, allocations: 1.464 MB / 451.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.2625, allocations: 13.23 kB / 451.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.2626, allocations: 98.12 kB / 451.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.2627, allocations: 106.4 kB / 451.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009373/0.2637, allocations: 0.6996 MB / 452.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/0.2637, allocations: 40.75 kB / 452.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.647e-05/0.2638, allocations: 66.38 kB / 452.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.2649, allocations: 0.7004 MB / 453.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.265, allocations: 6.844 kB / 453.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.335e-05/0.265, allocations: 25.7 kB / 453.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.2651, allocations: 16.5 kB / 453.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008097/0.2659, allocations: 444.8 kB / 453.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00284/0.2687, allocations: 1.869 MB / 455.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009051/0.2696, allocations: 0.5933 MB / 456.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004618/0.2701, allocations: 296.2 kB / 456.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.2702, allocations: 10.66 kB / 456.6 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007774/0.2709, allocations: 0.4987 MB / 457.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.595e-06/0.271, allocations: 0 / 457.1 MB, free: 9.547 MB / 334.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