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.005372/0.005372, allocations: 99.59 kB / 15.73 MB, free: 6.008 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.001306/0.001307, allocations: 196.2 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.388/1.388, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05795/0.05795, allocations: 10.74 MB / 280.7 MB, free: 10.42 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.001686/0.001686, allocations: 74.58 kB / 390.4 MB, free: 5.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2516, allocations: 49.02 MB / 439.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_tracking): time 0.004033/0.2557, allocations: 2.988 MB / 442.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003394/0.2591, allocations: 2.071 MB / 444.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005183/0.2597, allocations: 29.09 kB / 444.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.2607, allocations: 394.5 kB / 444.8 MB, free: 1.359 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.0008116/0.2616, allocations: 311.4 kB / 445.1 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.2635, allocations: 0.7697 MB / 445.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.265, allocations: 1.15 MB / 447.1 MB, free: 352 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.2653, allocations: 145.2 kB / 447.2 MB, free: 268 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006586/0.266, allocations: 483 kB / 447.7 MB, free: 28 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006202/0.2666, allocations: 464.6 kB / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.2667, allocations: 61.72 kB / 448.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006074/0.2673, allocations: 320.9 kB / 448.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.2676, allocations: 251.3 kB / 448.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.268, allocations: 393.7 kB / 449.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.2693, allocations: 1.012 MB / 450.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2693, allocations: 0 / 450.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2694, allocations: 1.281 kB / 450.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.2694, allocations: 0 / 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.002319/0.2717, allocations: 1.466 MB / 451.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.2718, allocations: 16.95 kB / 451.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.2719, allocations: 94.28 kB / 451.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.2721, allocations: 110.5 kB / 451.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.2732, allocations: 0.6947 MB / 452.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/0.2732, allocations: 44.73 kB / 452.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.2734, allocations: 67.59 kB / 452.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.2746, allocations: 0.6998 MB / 453.3 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.2746, allocations: 1.906 kB / 453.3 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-05/0.2747, allocations: 30.55 kB / 453.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.2747, allocations: 12.94 kB / 453.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008416/0.2755, allocations: 452.1 kB / 453.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003157/0.2787, allocations: 1.87 MB / 455.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009969/0.2797, allocations: 0.5851 MB / 456.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005308/0.2803, allocations: 300.3 kB / 456.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.2803, allocations: 7.219 kB / 456.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00089/0.2812, allocations: 0.4971 MB / 457.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 3.206e-06/0.2812, allocations: 0 / 457.1 MB, free: 9.535 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed