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.009877/0.009877, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.002315/0.002315, allocations: 185.4 kB / 16.67 MB, free: 5.977 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.403/1.403, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0578/0.0578, allocations: 10.75 MB / 280.6 MB, free: 10.45 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.001756/0.001756, allocations: 60.53 kB / 390.3 MB, free: 5.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2594, allocations: 49.01 MB / 439.4 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003893/0.2633, allocations: 2.996 MB / 442.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003239/0.2666, allocations: 2.063 MB / 444.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005173/0.2672, allocations: 34.09 kB / 444.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.2684, allocations: 390.3 kB / 444.8 MB, free: 1.379 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.001219/0.2696, allocations: 304.8 kB / 445.1 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.2722, allocations: 0.7706 MB / 445.9 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.2739, allocations: 1.152 MB / 447 MB, free: 372 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/0.2743, allocations: 159.9 kB / 447.2 MB, free: 276 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009268/0.2752, allocations: 479.4 kB / 447.7 MB, free: 40 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009121/0.2761, allocations: 469.5 kB / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.2763, allocations: 60 kB / 448.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000956/0.2773, allocations: 317.8 kB / 448.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003201/0.2776, allocations: 251.3 kB / 448.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000443/0.2781, allocations: 389.7 kB / 449.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.2794, allocations: 1.005 MB / 450.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.2795, allocations: 1.375 kB / 450.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2795, allocations: 0 / 450.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.2795, allocations: 4 kB / 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.002382/0.2819, allocations: 1.432 MB / 451.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.2819, allocations: 13.98 kB / 451.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.2821, allocations: 93.55 kB / 451.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/0.2823, allocations: 105.2 kB / 451.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.2835, allocations: 0.6917 MB / 452.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/0.2835, allocations: 44.73 kB / 452.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.2836, allocations: 62.53 kB / 452.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.2848, allocations: 0.7045 MB / 453.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.2848, allocations: 5.281 kB / 453.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-05/0.2849, allocations: 22.42 kB / 453.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.2849, allocations: 12.91 kB / 453.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007936/0.2857, allocations: 448 kB / 453.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/0.2886, allocations: 1.866 MB / 455.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009061/0.2895, allocations: 0.585 MB / 456.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/0.29, allocations: 305 kB / 456.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-05/0.29, allocations: 6.594 kB / 456.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000828/0.2909, allocations: 0.4931 MB / 457 MB, free: 9.605 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.855e-06/0.2909, allocations: 0 / 457 MB, free: 9.605 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