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.006013/0.006014, allocations: 100.1 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.001436/0.001436, allocations: 195.1 kB / 16.67 MB, free: 5.93 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.606/1.606, allocations: 205.1 MB / 222.5 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.05853/0.05853, allocations: 10.74 MB / 280.6 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.001632/0.001632, allocations: 64.53 kB / 390.8 MB, free: 5.031 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3152, allocations: 49.01 MB / 439.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup): time 0.004047/0.3193, allocations: 2.671 MB / 442.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.3215, allocations: 1.22 MB / 443.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/0.3218, allocations: 16.22 kB / 443.8 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.3223, allocations: 138.8 kB / 443.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.3225, allocations: 99.03 kB / 444 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.3238, allocations: 443.9 kB / 444.4 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.3252, allocations: 1.119 MB / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002998/0.3255, allocations: 145.6 kB / 445.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005367/0.326, allocations: 374.7 kB / 446 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005677/0.3266, allocations: 406.9 kB / 446.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.3268, allocations: 66.94 kB / 446.5 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.327, allocations: 139.2 kB / 446.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.3272, allocations: 156.7 kB / 446.8 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004046/0.3277, allocations: 413 kB / 447.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000761/0.3284, allocations: 0.7899 MB / 448 MB, free: 352 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3284, allocations: 1.25 kB / 448 MB, free: 352 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3285, allocations: 0 / 448 MB, free: 352 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.3285, allocations: 0 / 448 MB, free: 352 kB / 318.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.001673/0.3302, allocations: 1.18 MB / 449.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3302, allocations: 9.781 kB / 449.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.3304, allocations: 104.8 kB / 449.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007841/0.3312, allocations: 0.5318 MB / 449.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.397e-05/0.3313, allocations: 51 kB / 449.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.3314, allocations: 64.38 kB / 449.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.3326, allocations: 0.6797 MB / 450.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.3326, allocations: 7.906 kB / 450.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.691e-05/0.3327, allocations: 27.06 kB / 450.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.3328, allocations: 11.75 kB / 450.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007991/0.3336, allocations: 471.4 kB / 451.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/0.3363, allocations: 1.601 MB / 452.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008878/0.3372, allocations: 0.5775 MB / 453.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006745/0.3379, allocations: 0.5229 MB / 453.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.3379, allocations: 0.9062 kB / 453.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007722/0.3387, allocations: 0.5089 MB / 454.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.988e-06/0.3387, allocations: 1.219 kB / 454.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002626/0.3414, allocations: 1.231 MB / 455.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000288/0.3417, allocations: 427.4 kB / 456 MB, free: 10.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008732/0.3426, allocations: 0.6151 MB / 456.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.3426, allocations: 46.95 kB / 456.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.3429, allocations: 362.4 kB / 457 MB, free: 9.945 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.343, allocations: 185.8 kB / 457.2 MB, free: 9.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.3433, allocations: 189.3 kB / 457.4 MB, free: 9.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3435, allocations: 395.4 kB / 457.7 MB, free: 9.305 MB / 334.1 MB [/var/lib/jenkins/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