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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_tracking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002653/0.002653, allocations: 196.8 kB / 16.53 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.403/3.403, allocations: 205.1 MB / 222.4 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.1085/0.1085, allocations: 10.74 MB / 280.5 MB, free: 10.5 MB / 238.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.002623/0.002623, allocations: 67.91 kB / 340.6 MB, free: 23.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2269, allocations: 49.02 MB / 389.7 MB, free: 6.141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.008195/0.2351, allocations: 3 MB / 392.7 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007053/0.2423, allocations: 2.071 MB / 394.7 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.2435, allocations: 35.69 kB / 394.8 MB, free: 1 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.2453, allocations: 378.4 kB / 395.1 MB, free: 0.6289 MB / 286.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.001729/0.247, allocations: 314.5 kB / 395.4 MB, free: 328 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004129/0.2512, allocations: 0.7758 MB / 396.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002995/0.2542, allocations: 1.135 MB / 397.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007328/0.255, allocations: 145.1 kB / 397.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.2567, allocations: 458.5 kB / 397.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.2579, allocations: 470.1 kB / 398.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002145/0.2581, allocations: 60 kB / 398.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.2594, allocations: 307.7 kB / 398.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004777/0.2599, allocations: 251.1 kB / 399 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007069/0.2606, allocations: 406.1 kB / 399.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002145/0.2628, allocations: 0.9851 MB / 400.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.2629, allocations: 0 / 400.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.651e-06/0.2629, allocations: 0 / 400.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.2629, allocations: 3.938 kB / 400.4 MB, free: 11.34 MB / 302.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.004266/0.2672, allocations: 1.412 MB / 401.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001341/0.2674, allocations: 15.89 kB / 401.8 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002709/0.2676, allocations: 98.69 kB / 401.9 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005368/0.2682, allocations: 99.72 kB / 402 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/0.2703, allocations: 0.6642 MB / 402.7 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.122e-05/0.2704, allocations: 41.38 kB / 402.7 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.2706, allocations: 63.92 kB / 402.8 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.273, allocations: 0.7025 MB / 403.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.507e-05/0.273, allocations: 4 kB / 403.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.2732, allocations: 23.98 kB / 403.5 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/0.2732, allocations: 12 kB / 403.5 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.275, allocations: 447.7 kB / 404 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005911/0.2809, allocations: 1.875 MB / 405.8 MB, free: 5.664 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.2826, allocations: 0.5892 MB / 406.4 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009158/0.2836, allocations: 298.4 kB / 406.7 MB, free: 4.758 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-05/0.2837, allocations: 8.562 kB / 406.7 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/0.2852, allocations: 0.495 MB / 407.2 MB, free: 4.227 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 7.735e-06/0.2852, allocations: 0 / 407.2 MB, free: 4.227 MB / 302.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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed