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.001261/0.001261, allocations: 110.3 kB / 16.37 MB, free: 6.477 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.001653/0.001653, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.708/1.708, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05784/0.05784, allocations: 10.73 MB / 281.3 MB, free: 1.328 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.001818/0.001819, allocations: 71.91 kB / 342 MB, free: 4.473 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3065, allocations: 49 MB / 391 MB, free: 49.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.005022/0.3116, allocations: 2.997 MB / 394 MB, free: 47.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004557/0.3162, allocations: 2.071 MB / 396.1 MB, free: 46.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000471/0.3167, allocations: 29.88 kB / 396.1 MB, free: 46.37 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.3181, allocations: 394.3 kB / 396.5 MB, free: 46.23 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.0007638/0.3189, allocations: 314 kB / 396.8 MB, free: 46.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.3215, allocations: 0.7738 MB / 397.6 MB, free: 45.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002426/0.3239, allocations: 1.15 MB / 398.7 MB, free: 45.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004619/0.3244, allocations: 153.5 kB / 398.9 MB, free: 45.13 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009967/0.3254, allocations: 463.5 kB / 399.3 MB, free: 44.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006748/0.3261, allocations: 469.5 kB / 399.8 MB, free: 44.63 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.3262, allocations: 60 kB / 399.8 MB, free: 44.63 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007117/0.327, allocations: 322 kB / 400.1 MB, free: 44.49 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.3273, allocations: 246.8 kB / 400.4 MB, free: 44.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003719/0.3276, allocations: 394.3 kB / 400.8 MB, free: 44.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.3288, allocations: 1.002 MB / 401.8 MB, free: 43.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3289, allocations: 4 kB / 401.8 MB, free: 43.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3289, allocations: 1.188 kB / 401.8 MB, free: 43.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.3289, allocations: 0 / 401.8 MB, free: 43.32 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.002433/0.3313, allocations: 1.428 MB / 403.2 MB, free: 42.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.3314, allocations: 17.28 kB / 403.2 MB, free: 42.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002374/0.3317, allocations: 104.9 kB / 403.3 MB, free: 42.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.3328, allocations: 0.6918 MB / 404 MB, free: 41.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.197e-05/0.3328, allocations: 40.7 kB / 404.1 MB, free: 41.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.3329, allocations: 62.38 kB / 404.1 MB, free: 41.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.3341, allocations: 0.7123 MB / 404.8 MB, free: 41.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.3341, allocations: 2.188 kB / 404.8 MB, free: 41.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.551e-05/0.3342, allocations: 26.61 kB / 404.9 MB, free: 41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.3342, allocations: 12.59 kB / 404.9 MB, free: 41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008495/0.3351, allocations: 448.1 kB / 405.3 MB, free: 40.8 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.338, allocations: 1.857 MB / 407.2 MB, free: 39.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008768/0.3389, allocations: 0.5739 MB / 407.7 MB, free: 39.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.3394, allocations: 304 kB / 408 MB, free: 38.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.951e-05/0.3394, allocations: 8.406 kB / 408 MB, free: 38.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007633/0.3402, allocations: 0.4961 MB / 408.5 MB, free: 38.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=71): time 2.655e-06/0.3402, allocations: 4 kB / 408.5 MB, free: 38.58 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