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: translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 102.2 kB / 16.27 MB, free: 6 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.001357/0.001357, allocations: 191 kB / 17.2 MB, free: 5.609 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.401/1.401, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06501/0.06501, allocations: 11.2 MB / 302.3 MB, free: 4.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 67.89 kB / 365.3 MB, free: 4.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2203, allocations: 51.97 MB / 417.2 MB, free: 22.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003791/0.2242, allocations: 3.086 MB / 420.3 MB, free: 19.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003051/0.2272, allocations: 2.196 MB / 422.5 MB, free: 17.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003545/0.2276, allocations: 27.75 kB / 422.5 MB, free: 17.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008817/0.2285, allocations: 413.3 kB / 422.9 MB, free: 16.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005264/0.2291, allocations: 314.1 kB / 423.3 MB, free: 16.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.2306, allocations: 0.8353 MB / 424.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008451/0.2315, allocations: 1.191 MB / 425.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.2317, allocations: 145 kB / 425.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004168/0.2322, allocations: 470.5 kB / 425.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003958/0.2326, allocations: 486 kB / 426.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.2327, allocations: 64 kB / 426.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004014/0.2331, allocations: 307.7 kB / 426.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.2333, allocations: 251.2 kB / 427 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.2335, allocations: 422 kB / 427.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007402/0.2343, allocations: 1.014 MB / 428.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2343, allocations: 0 / 428.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2343, allocations: 0 / 428.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2343, allocations: 0 / 428.4 MB, free: 11.45 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001866/0.2362, allocations: 1.464 MB / 429.9 MB, free: 9.891 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2362, allocations: 15.89 kB / 429.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.2364, allocations: 107.6 kB / 430 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007197/0.2371, allocations: 0.6723 MB / 430.6 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.2372, allocations: 53.67 kB / 430.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.422e-05/0.2373, allocations: 68.03 kB / 430.8 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009547/0.2383, allocations: 0.7757 MB / 431.5 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.2383, allocations: 0 / 431.5 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.967e-05/0.2384, allocations: 24 kB / 431.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.2384, allocations: 16 kB / 431.6 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007053/0.2391, allocations: 471.6 kB / 432 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.2416, allocations: 2.418 MB / 434.5 MB, free: 5.109 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007482/0.2424, allocations: 0.5809 MB / 435 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/0.2428, allocations: 310.4 kB / 435.3 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/0.2428, allocations: 8.5 kB / 435.4 MB, free: 4.184 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006742/0.2435, allocations: 0.5026 MB / 435.9 MB, free: 3.648 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.355e-06/0.2435, allocations: 0 / 435.9 MB, free: 3.648 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed