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.006272/0.006272, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001208/0.001208, allocations: 198.8 kB / 16.67 MB, free: 5.977 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.509/1.509, allocations: 205.1 MB / 222.5 MB, free: 4.402 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05799/0.05799, allocations: 10.74 MB / 280.6 MB, free: 10.29 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.001573/0.001573, allocations: 75.89 kB / 390.8 MB, free: 5.016 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.338, allocations: 49.01 MB / 439.8 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup): time 0.003873/0.3419, allocations: 2.674 MB / 442.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.3442, allocations: 1.216 MB / 443.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002599/0.3444, allocations: 16.34 kB / 443.8 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.3448, allocations: 142.1 kB / 443.9 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.345, allocations: 99.62 kB / 444 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.3461, allocations: 438.9 kB / 444.4 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.3475, allocations: 1.122 MB / 445.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.3478, allocations: 141.2 kB / 445.7 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00044/0.3482, allocations: 373.4 kB / 446 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005367/0.3488, allocations: 403.2 kB / 446.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.3489, allocations: 67.38 kB / 446.5 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.3492, allocations: 142.7 kB / 446.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.3494, allocations: 156.4 kB / 446.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000387/0.3498, allocations: 413.7 kB / 447.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007911/0.3506, allocations: 0.7867 MB / 448 MB, free: 384 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3506, allocations: 0 / 448 MB, free: 384 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3506, allocations: 0 / 448 MB, free: 384 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.3506, allocations: 1.406 kB / 448 MB, free: 384 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.001664/0.3523, allocations: 1.179 MB / 449.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3524, allocations: 9.688 kB / 449.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.3526, allocations: 104.2 kB / 449.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007717/0.3533, allocations: 0.536 MB / 449.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/0.3534, allocations: 47.28 kB / 449.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.3535, allocations: 64.25 kB / 449.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.3547, allocations: 0.6784 MB / 450.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.3548, allocations: 9.719 kB / 450.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.425e-05/0.3549, allocations: 27.38 kB / 450.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.3549, allocations: 11.22 kB / 450.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008231/0.3557, allocations: 467.5 kB / 451.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.3583, allocations: 1.608 MB / 452.7 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007064/0.359, allocations: 0.5782 MB / 453.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005643/0.3596, allocations: 0.5177 MB / 453.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.3596, allocations: 2.062 kB / 453.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006634/0.3603, allocations: 0.5165 MB / 454.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 1.934e-06/0.3603, allocations: 0 / 454.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002275/0.3626, allocations: 1.228 MB / 455.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003087/0.3629, allocations: 419.9 kB / 456 MB, free: 10.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007943/0.3637, allocations: 0.6147 MB / 456.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.434e-05/0.3638, allocations: 47.17 kB / 456.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.3641, allocations: 366.2 kB / 457 MB, free: 9.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.3642, allocations: 189.5 kB / 457.2 MB, free: 9.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.3645, allocations: 189.2 kB / 457.4 MB, free: 9.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.3647, allocations: 391.8 kB / 457.7 MB, free: 9.336 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