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.001033/0.001033, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.0009677/0.0009677, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.286/1.286, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05778/0.05778, allocations: 10.74 MB / 281.3 MB, free: 1.297 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.001339/0.001339, allocations: 77.78 kB / 391.5 MB, free: 46.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07855/0.0799, allocations: 49.02 MB / 440.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup): time 0.002993/0.08294, allocations: 2.666 MB / 443.2 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.08447, allocations: 1.222 MB / 444.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.08467, allocations: 15.88 kB / 444.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.085, allocations: 142.8 kB / 444.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.08518, allocations: 95.23 kB / 444.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009124/0.0861, allocations: 442.9 kB / 445.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.08715, allocations: 1.133 MB / 446.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.08738, allocations: 142.5 kB / 446.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003862/0.08778, allocations: 374.7 kB / 446.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004367/0.08823, allocations: 406.2 kB / 447.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.772e-05/0.08833, allocations: 68 kB / 447.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.08855, allocations: 139.9 kB / 447.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.08871, allocations: 151.4 kB / 447.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003495/0.08907, allocations: 418.3 kB / 447.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006629/0.08974, allocations: 0.7824 MB / 448.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.08975, allocations: 4 kB / 448.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.08976, allocations: 3.984 kB / 448.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.08978, 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.001459/0.09124, allocations: 1.177 MB / 449.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.09129, allocations: 8.031 kB / 449.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.09146, allocations: 99.81 kB / 450 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007568/0.09223, allocations: 0.5246 MB / 450.5 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/0.09228, allocations: 53.38 kB / 450.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.0924, allocations: 68.38 kB / 450.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.09349, allocations: 0.6761 MB / 451.3 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.09353, allocations: 4 kB / 451.3 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.596e-05/0.09361, allocations: 32 kB / 451.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.09363, allocations: 12 kB / 451.3 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/0.09441, allocations: 464 kB / 451.8 MB, free: 8.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.09694, allocations: 1.613 MB / 453.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006991/0.09766, allocations: 0.5806 MB / 454 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/0.09821, allocations: 0.5252 MB / 454.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.09823, allocations: 0 / 454.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006234/0.09886, allocations: 0.5114 MB / 455 MB, free: 5.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 1.523e-06/0.09888, allocations: 0 / 455 MB, free: 5.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.00188/0.1008, allocations: 1.225 MB / 456.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002099/0.101, allocations: 419.8 kB / 456.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006128/0.1016, allocations: 0.6092 MB / 457.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.1017, allocations: 53.69 kB / 457.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.1019, allocations: 363.8 kB / 457.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.1021, allocations: 185.7 kB / 457.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.1023, allocations: 190.6 kB / 458 MB, free: 1.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1024, allocations: 394.7 kB / 458.4 MB, free: 1.457 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 Error: Internal error SimCode DAEmode: The model IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup could not be translated