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: 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.00142/0.00142, allocations: 103.4 kB / 16.35 MB, free: 5.879 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.001264/0.001264, allocations: 198.7 kB / 17.3 MB, free: 5.52 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.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 12.13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05786/0.05786, allocations: 10.73 MB / 281.3 MB, free: 1.297 MB / 222.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.001471/0.001471, allocations: 68.12 kB / 342 MB, free: 4.441 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2187, allocations: 49.01 MB / 391 MB, free: 50.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003853/0.2226, allocations: 2.987 MB / 394 MB, free: 48.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.2255, allocations: 2.074 MB / 396.1 MB, free: 46.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002827/0.2258, allocations: 29.5 kB / 396.1 MB, free: 46.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009033/0.2267, allocations: 391.3 kB / 396.5 MB, free: 46.49 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.0005982/0.2273, allocations: 304.5 kB / 396.8 MB, free: 46.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.229, allocations: 0.7743 MB / 397.5 MB, free: 45.97 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.2302, allocations: 1.155 MB / 398.7 MB, free: 45.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.2304, allocations: 145.2 kB / 398.8 MB, free: 45.4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004772/0.2309, allocations: 469.7 kB / 399.3 MB, free: 45.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.2314, allocations: 472.4 kB / 399.8 MB, free: 44.85 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.2315, allocations: 59.69 kB / 399.8 MB, free: 44.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005122/0.232, allocations: 314.6 kB / 400.1 MB, free: 44.72 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002704/0.2323, allocations: 254 kB / 400.4 MB, free: 44.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.2326, allocations: 399.4 kB / 400.8 MB, free: 44.24 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000983/0.2336, allocations: 0.9975 MB / 401.8 MB, free: 43.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2336, allocations: 1.188 kB / 401.8 MB, free: 43.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2336, allocations: 3.938 kB / 401.8 MB, free: 43.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.2337, allocations: 0 / 401.8 MB, free: 43.54 MB / 318.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.001947/0.2356, allocations: 1.428 MB / 403.2 MB, free: 42.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2357, allocations: 12.8 kB / 403.2 MB, free: 42.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.2358, allocations: 109 kB / 403.3 MB, free: 42.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009611/0.2368, allocations: 0.6917 MB / 404 MB, free: 41.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/0.2369, allocations: 40.69 kB / 404 MB, free: 41.7 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.237, allocations: 67.05 kB / 404.1 MB, free: 41.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.2382, allocations: 0.708 MB / 404.8 MB, free: 41.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.2382, allocations: 2.5 kB / 404.8 MB, free: 41.24 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.491e-05/0.2383, allocations: 26.64 kB / 404.8 MB, free: 41.22 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.2383, allocations: 16.03 kB / 404.9 MB, free: 41.22 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.2395, allocations: 443.8 kB / 405.3 MB, free: 41.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002737/0.2422, allocations: 1.854 MB / 407.1 MB, free: 39.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008849/0.2431, allocations: 0.5907 MB / 407.7 MB, free: 39.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004685/0.2436, allocations: 295.9 kB / 408 MB, free: 39.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.2437, allocations: 6.656 kB / 408 MB, free: 39.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007815/0.2445, allocations: 0.5011 MB / 408.5 MB, free: 38.8 MB / 318.1 MB Notification: Performance of pre-optimization done (n=71): time 2.876e-06/0.2445, allocations: 0 / 408.5 MB, free: 38.8 MB / 318.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