Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_tracking.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IndustrialControlSystems with version 1.1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 180.9 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06532/0.06532, allocations: 10.98 MB / 27.16 MB, free: 1.715 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 225.7 MB / 256 MB, free: 1.488 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006824/0.0006824, allocations: 94.91 kB / 309.7 MB, free: 2.828 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.0002851, allocations: 8 kB / 373.2 MB, free: 3.371 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2221, allocations: 52.83 MB / 426.1 MB, free: 49.27 MB / 346.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.002496/0.2246, allocations: 2.493 MB / 428.6 MB, free: 49.1 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.2272, allocations: 2.955 MB / 431.5 MB, free: 47.81 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002297/0.2275, allocations: 26.5 kB / 431.5 MB, free: 47.8 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006865/0.2282, allocations: 356.8 kB / 431.9 MB, free: 47.75 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004564/0.2286, allocations: 276.6 kB / 432.2 MB, free: 47.7 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.2298, allocations: 0.7028 MB / 432.9 MB, free: 47.66 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007634/0.2306, allocations: 1.081 MB / 433.9 MB, free: 47.56 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.2308, allocations: 145.8 kB / 434.1 MB, free: 47.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/0.2312, allocations: 420 kB / 434.5 MB, free: 47.43 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.2316, allocations: 439.9 kB / 434.9 MB, free: 47.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.178e-05/0.2316, allocations: 26.16 kB / 434.9 MB, free: 47.34 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.232, allocations: 250.8 kB / 435.2 MB, free: 47.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.2322, allocations: 212.2 kB / 435.4 MB, free: 47.29 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002432/0.2324, allocations: 386.2 kB / 435.8 MB, free: 47.11 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007295/0.2331, allocations: 0.9346 MB / 436.7 MB, free: 46.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2332, allocations: 0.5312 kB / 436.7 MB, free: 46.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2332, allocations: 2 kB / 436.7 MB, free: 46.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.2332, allocations: 1.125 kB / 436.7 MB, free: 46.9 MB / 346.7 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.001509/0.2347, allocations: 1.268 MB / 438 MB, free: 45.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2347, allocations: 8.625 kB / 438 MB, free: 45.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.2349, allocations: 105.4 kB / 438.1 MB, free: 45.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007515/0.2356, allocations: 0.6522 MB / 438.7 MB, free: 45.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.2357, allocations: 40.16 kB / 438.8 MB, free: 45.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.533e-05/0.2358, allocations: 63.5 kB / 438.8 MB, free: 45.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.2369, allocations: 0.7051 MB / 439.5 MB, free: 45.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.2369, allocations: 5.781 kB / 439.6 MB, free: 45.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.712e-05/0.237, allocations: 21.97 kB / 439.6 MB, free: 45.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.237, allocations: 12.34 kB / 439.6 MB, free: 45.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007408/0.2377, allocations: 452.1 kB / 440 MB, free: 45.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.2404, allocations: 1.884 MB / 441.9 MB, free: 44.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00087/0.2413, allocations: 0.5776 MB / 442.5 MB, free: 44.03 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/0.2417, allocations: 304.2 kB / 442.8 MB, free: 43.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.2418, allocations: 8.531 kB / 442.8 MB, free: 43.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007814/0.2426, allocations: 0.5025 MB / 443.3 MB, free: 43.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=71): time 2.345e-06/0.2426, allocations: 0.8438 kB / 443.3 MB, free: 43.69 MB / 346.7 MB [/var/lib/jenkins/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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7946:5-7946:89:writable] Error: Internal error Transformation module sort components failed