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.001196/0.001196, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001482/0.001482, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05422/0.05422, allocations: 10.73 MB / 281.1 MB, free: 10.57 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.0006296/0.0006299, allocations: 16 kB / 341.7 MB, free: 23.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1311, allocations: 50 MB / 391.7 MB, free: 5.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004074/0.1352, allocations: 2.499 MB / 394.2 MB, free: 3.195 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003412/0.1387, allocations: 1.932 MB / 396.1 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.139, allocations: 23.75 kB / 396.1 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.1401, allocations: 330.9 kB / 396.5 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005675/0.1406, allocations: 271.3 kB / 396.7 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.1421, allocations: 0.612 MB / 397.3 MB, free: 28 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008396/0.1429, allocations: 0.6437 MB / 398 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.1432, allocations: 115.2 kB / 398.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005293/0.1437, allocations: 426.4 kB / 398.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005245/0.1442, allocations: 398.4 kB / 398.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.398e-05/0.1443, allocations: 28 kB / 398.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003884/0.1447, allocations: 227.7 kB / 399.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.145, allocations: 215.3 kB / 399.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.1452, allocations: 161.2 kB / 399.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008207/0.146, allocations: 0.694 MB / 400.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.146, allocations: 4 kB / 400.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.146, allocations: 4 kB / 400.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.1461, allocations: 0 / 400.2 MB, free: 13.12 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.002088/0.1482, allocations: 1.276 MB / 401.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.1482, allocations: 8.031 kB / 401.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.1483, allocations: 98.5 kB / 401.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.1485, allocations: 102.8 kB / 401.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009718/0.1495, allocations: 0.6169 MB / 402.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/0.1495, allocations: 44.98 kB / 402.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.1497, allocations: 59.98 kB / 402.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.1508, allocations: 0.6986 MB / 403.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.1509, allocations: 11.86 kB / 403.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.255e-05/0.1509, allocations: 24 kB / 403.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.151, allocations: 12 kB / 403.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008073/0.1518, allocations: 447.6 kB / 403.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.1549, allocations: 1.875 MB / 405.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009681/0.1559, allocations: 0.5802 MB / 406.1 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.156, allocations: 12.56 kB / 406.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007699/0.1568, allocations: 0.491 MB / 406.6 MB, free: 6.492 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 3.807e-06/0.1568, allocations: 0 / 406.6 MB, free: 6.492 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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed