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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05608/0.05608, allocations: 10.75 MB / 27.48 MB, free: 1.875 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.1 MB / 235.7 MB, free: 11.75 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009928/0.000993, allocations: 101.1 kB / 285.5 MB, free: 12.87 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001116, allocations: 60.14 kB / 345.3 MB, free: 0.9883 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.25, allocations: 49.01 MB / 394.3 MB, free: 35.57 MB / 298.8 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.003903/0.2539, allocations: 3.012 MB / 397.3 MB, free: 32.55 MB / 298.8 MB Notification: Performance of NFInst.instExpressions: time 0.003331/0.2573, allocations: 2.118 MB / 399.4 MB, free: 30.42 MB / 298.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003082/0.2576, allocations: 31.75 kB / 399.5 MB, free: 30.39 MB / 298.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0008278/0.2585, allocations: 358 kB / 399.8 MB, free: 30.04 MB / 298.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004472/0.2589, allocations: 275 kB / 400.1 MB, free: 29.77 MB / 298.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.2603, allocations: 0.6515 MB / 400.7 MB, free: 29.12 MB / 298.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007238/0.261, allocations: 1.084 MB / 401.8 MB, free: 28.03 MB / 298.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.2612, allocations: 144.8 kB / 402 MB, free: 27.88 MB / 298.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.2616, allocations: 438.1 kB / 402.4 MB, free: 27.45 MB / 298.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000364/0.262, allocations: 454.1 kB / 402.8 MB, free: 27 MB / 298.8 MB Notification: Performance of NFPackage.collectConstants: time 8.422e-05/0.2621, allocations: 32 kB / 402.9 MB, free: 26.97 MB / 298.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000379/0.2625, allocations: 267.7 kB / 403.1 MB, free: 26.71 MB / 298.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.2627, allocations: 223.2 kB / 403.3 MB, free: 26.49 MB / 298.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.2629, allocations: 370.1 kB / 403.7 MB, free: 26.13 MB / 298.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000662/0.2636, allocations: 0.952 MB / 404.6 MB, free: 25.18 MB / 298.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2636, allocations: 3.938 kB / 404.7 MB, free: 25.17 MB / 298.8 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2636, allocations: 0 / 404.7 MB, free: 25.17 MB / 298.8 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.2636, allocations: 0 / 404.7 MB, free: 25.17 MB / 298.8 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.001804/0.2654, allocations: 1.428 MB / 406.1 MB, free: 23.65 MB / 298.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2655, allocations: 12.03 kB / 406.1 MB, free: 23.64 MB / 298.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.2657, allocations: 107.6 kB / 406.2 MB, free: 23.53 MB / 298.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007967/0.2665, allocations: 0.6488 MB / 406.8 MB, free: 22.84 MB / 298.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/0.2665, allocations: 41.38 kB / 406.9 MB, free: 22.8 MB / 298.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.234e-05/0.2666, allocations: 68.02 kB / 407 MB, free: 22.73 MB / 298.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008639/0.2675, allocations: 0.7025 MB / 407.7 MB, free: 22 MB / 298.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.2675, allocations: 8 kB / 407.7 MB, free: 22 MB / 298.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/0.2676, allocations: 19.98 kB / 407.7 MB, free: 21.98 MB / 298.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.2676, allocations: 16 kB / 407.7 MB, free: 21.96 MB / 298.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006346/0.2682, allocations: 443.7 kB / 408.1 MB, free: 21.53 MB / 298.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.2706, allocations: 1.863 MB / 410 MB, free: 19.6 MB / 298.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007322/0.2714, allocations: 0.5918 MB / 410.6 MB, free: 18.98 MB / 298.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003714/0.2717, allocations: 302.4 kB / 410.9 MB, free: 18.68 MB / 298.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.2718, allocations: 8.562 kB / 410.9 MB, free: 18.68 MB / 298.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006431/0.2724, allocations: 0.4996 MB / 411.4 MB, free: 18.15 MB / 298.8 MB Notification: Performance of pre-optimization done (n=71): time 3.296e-06/0.2724, allocations: 4 kB / 411.4 MB, free: 18.15 MB / 298.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed