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.001609/0.001609, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.001913/0.001913, allocations: 186.2 kB / 17.35 MB, free: 5.633 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.36/1.36, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05841/0.05841, allocations: 10.74 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.001561/0.001561, allocations: 73.84 kB / 391.5 MB, free: 45.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07266/0.07423, allocations: 49.03 MB / 440.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003158/0.07743, allocations: 2.987 MB / 443.5 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00287/0.08031, allocations: 2.063 MB / 445.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/0.08057, allocations: 27.75 kB / 445.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008672/0.08146, allocations: 393.6 kB / 446 MB, free: 14.32 MB / 334.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.0006003/0.08208, allocations: 310.6 kB / 446.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.08361, allocations: 0.7827 MB / 447.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.08487, allocations: 1.154 MB / 448.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.08511, allocations: 144.8 kB / 448.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005376/0.08566, allocations: 490.4 kB / 448.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005595/0.08623, allocations: 470.1 kB / 449.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.08635, allocations: 60 kB / 449.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004412/0.0868, allocations: 315.7 kB / 449.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.08705, allocations: 251.2 kB / 449.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.08738, allocations: 398.1 kB / 450.3 MB, free: 9.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009074/0.08829, allocations: 1.001 MB / 451.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.0883, allocations: 0 / 451.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.08831, allocations: 0 / 451.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.08833, allocations: 3.938 kB / 451.3 MB, free: 8.973 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.002233/0.09057, allocations: 1.428 MB / 452.8 MB, free: 7.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.09061, allocations: 15.89 kB / 452.8 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.0908, allocations: 103.7 kB / 452.9 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.09182, allocations: 0.6955 MB / 453.6 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/0.09188, allocations: 45.36 kB / 453.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.09199, allocations: 60.03 kB / 453.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.09316, allocations: 0.7025 MB / 454.4 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.09319, allocations: 0 / 454.4 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.777e-05/0.09327, allocations: 31.98 kB / 454.4 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.09329, allocations: 12 kB / 454.4 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008375/0.09413, allocations: 443.7 kB / 454.9 MB, free: 5.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.09711, allocations: 1.859 MB / 456.7 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000922/0.09805, allocations: 0.5888 MB / 457.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004838/0.09855, allocations: 298.4 kB / 457.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.09859, allocations: 8.562 kB / 457.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007934/0.09939, allocations: 0.4987 MB / 458.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 4.258e-06/0.09941, allocations: 3.984 kB / 458.1 MB, free: 1.91 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 Error: Internal error SimCode DAEmode: The model IndustrialControlSystems.Controllers.Examples.TestPID_tracking could not be translated