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.007403/0.007403, allocations: 100.4 kB / 15.73 MB, free: 6.02 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.001925/0.001925, allocations: 190.6 kB / 16.67 MB, free: 5.934 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.456/1.456, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06597/0.06597, allocations: 10.75 MB / 280.7 MB, free: 10.39 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.002085/0.002085, allocations: 74.7 kB / 390.4 MB, free: 5.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2345, allocations: 49.02 MB / 439.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.00386/0.2384, allocations: 2.991 MB / 442.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003112/0.2415, allocations: 2.073 MB / 444.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002862/0.2418, allocations: 33.44 kB / 444.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008738/0.2426, allocations: 393.1 kB / 444.9 MB, free: 1.355 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.0005909/0.2432, allocations: 315.2 kB / 445.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.2449, allocations: 0.7661 MB / 445.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.2459, allocations: 1.123 MB / 447.1 MB, free: 360 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.2461, allocations: 116.1 kB / 447.2 MB, free: 276 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004889/0.2466, allocations: 474.5 kB / 447.6 MB, free: 32 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005616/0.2472, allocations: 468.4 kB / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.2473, allocations: 60.19 kB / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004864/0.2478, allocations: 318.6 kB / 448.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002534/0.248, allocations: 261 kB / 448.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003474/0.2484, allocations: 385.2 kB / 449.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.2495, allocations: 1.004 MB / 450.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2495, allocations: 3.938 kB / 450.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2495, allocations: 3.938 kB / 450.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.2495, allocations: 1.281 kB / 450.1 MB, free: 14.43 MB / 334.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.002352/0.2518, allocations: 1.466 MB / 451.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2519, allocations: 13.48 kB / 451.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001231/0.252, allocations: 93.94 kB / 451.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.2522, allocations: 105.8 kB / 451.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.2533, allocations: 0.7031 MB / 452.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/0.2533, allocations: 44.95 kB / 452.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.2534, allocations: 63.42 kB / 452.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.2547, allocations: 0.7033 MB / 453.3 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.2547, allocations: 6.406 kB / 453.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.571e-05/0.2548, allocations: 23.02 kB / 453.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.2548, allocations: 11.5 kB / 453.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008531/0.2556, allocations: 452.6 kB / 453.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003045/0.2587, allocations: 1.862 MB / 455.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009564/0.2596, allocations: 0.5426 MB / 456.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/0.2601, allocations: 264.9 kB / 456.4 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.2601, allocations: 11.44 kB / 456.4 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008374/0.261, allocations: 0.4898 MB / 456.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.624e-06/0.261, allocations: 0 / 456.9 MB, free: 9.582 MB / 334.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:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed