Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup.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: translateModel(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup") translateModel(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 104.6 kB / 16.41 MB, free: 6.488 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.001828/0.001828, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.396/1.396, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05701/0.05701, allocations: 10.73 MB / 281.3 MB, free: 1.301 MB / 222.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.001499/0.001499, allocations: 73.12 kB / 391.5 MB, free: 46.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1054, allocations: 49.03 MB / 440.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup): time 0.003157/0.1086, allocations: 2.67 MB / 443.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1106, allocations: 1.21 MB / 444.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00028/0.1109, allocations: 19.88 kB / 444.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.1113, allocations: 142.8 kB / 444.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.1115, allocations: 87.25 kB / 444.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.1127, allocations: 450.9 kB / 445.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.1138, allocations: 1.129 MB / 446.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.1141, allocations: 141.8 kB / 446.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003991/0.1145, allocations: 378.7 kB / 446.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005376/0.115, allocations: 394.2 kB / 447.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.1152, allocations: 75.98 kB / 447.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.1154, allocations: 143.9 kB / 447.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.1156, allocations: 155.3 kB / 447.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.1159, allocations: 414.3 kB / 447.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007881/0.1167, allocations: 0.7824 MB / 448.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.1168, allocations: 4 kB / 448.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1168, allocations: 0 / 448.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.1168, allocations: 0 / 448.7 MB, free: 11.63 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001778/0.1186, allocations: 1.181 MB / 449.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.1186, allocations: 12.03 kB / 449.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.1188, allocations: 99.81 kB / 450 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007582/0.1196, allocations: 0.5246 MB / 450.5 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.1196, allocations: 45.38 kB / 450.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.1198, allocations: 68.38 kB / 450.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.121, allocations: 0.6878 MB / 451.3 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.121, allocations: 0 / 451.3 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/0.1211, allocations: 36 kB / 451.3 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.1211, allocations: 12 kB / 451.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/0.1219, allocations: 464 kB / 451.8 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00262/0.1245, allocations: 1.609 MB / 453.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006596/0.1252, allocations: 0.5733 MB / 454 MB, free: 6.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005611/0.1258, allocations: 0.5175 MB / 454.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.1258, allocations: 0 / 454.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007541/0.1265, allocations: 0.523 MB / 455 MB, free: 5.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 1.452e-06/0.1266, allocations: 0 / 455 MB, free: 5.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.001942/0.1285, allocations: 1.227 MB / 456.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002386/0.1288, allocations: 419.8 kB / 456.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006596/0.1294, allocations: 0.617 MB / 457.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/0.1295, allocations: 45.7 kB / 457.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.1298, allocations: 363.8 kB / 457.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.1299, allocations: 189.6 kB / 457.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.1301, allocations: 190.5 kB / 458 MB, free: 1.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.1303, allocations: 390.8 kB / 458.4 MB, free: 1.445 MB / 334.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1212:5-1212:82:writable] Error: Internal error Initialization.preBalanceInitialSystem2 failed because variable PID_outer.dpv:DISCRETE(fixed = false protected = true ) type: Real does not appear in any equation in the initial system and is not fixable. Error: No system for the symbolic initialization was generated