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: "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_CascadeAntiWindup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_CascadeAntiWindup",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.008214/0.008214, allocations: 99.38 kB / 15.73 MB, free: 6.059 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.001356/0.001356, allocations: 195.2 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.591/1.591, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06614/0.06614, allocations: 10.75 MB / 280.7 MB, free: 10.41 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.002087/0.002087, allocations: 68.53 kB / 390.3 MB, free: 5.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3493, allocations: 49.02 MB / 439.4 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup): time 0.003695/0.353, allocations: 2.693 MB / 442 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.3553, allocations: 1.215 MB / 443.3 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004312/0.3558, allocations: 18.5 kB / 443.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004022/0.3562, allocations: 141.7 kB / 443.4 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.3564, allocations: 100.2 kB / 443.5 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.3577, allocations: 439.2 kB / 443.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.3592, allocations: 1.055 MB / 445 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.3594, allocations: 99.28 kB / 445.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005265/0.3599, allocations: 372.8 kB / 445.5 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005587/0.3605, allocations: 407 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.3606, allocations: 67.84 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.3609, allocations: 143 kB / 446.1 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.3611, allocations: 156.8 kB / 446.2 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003711/0.3615, allocations: 397 kB / 446.6 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008955/0.3624, allocations: 0.7915 MB / 447.4 MB, free: 444 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3624, allocations: 0 / 447.4 MB, free: 444 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3624, allocations: 1.188 kB / 447.4 MB, free: 444 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3624, allocations: 3.938 kB / 447.4 MB, free: 440 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.001761/0.3641, allocations: 1.2 MB / 448.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.3642, allocations: 13.89 kB / 448.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001657/0.3644, allocations: 114.9 kB / 448.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.3645, allocations: 100.4 kB / 448.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009114/0.3655, allocations: 0.5401 MB / 449.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/0.3655, allocations: 49.53 kB / 449.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.3656, allocations: 74.08 kB / 449.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.3669, allocations: 0.674 MB / 450.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.3669, allocations: 1.25 kB / 450.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.899e-05/0.3669, allocations: 32.44 kB / 450.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.367, allocations: 9.812 kB / 450.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007929/0.3678, allocations: 465.1 kB / 450.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.3705, allocations: 1.616 MB / 452.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004803/0.371, allocations: 243.4 kB / 452.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/0.3713, allocations: 190 kB / 452.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.3713, allocations: 1.219 kB / 452.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006981/0.372, allocations: 0.5213 MB / 453.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.134e-06/0.372, allocations: 0 / 453.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002066/0.3741, allocations: 1.243 MB / 454.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002895/0.3744, allocations: 416.1 kB / 454.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008177/0.3752, allocations: 0.6223 MB / 455.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/0.3753, allocations: 43.8 kB / 455.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.3757, allocations: 370.2 kB / 455.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.3759, allocations: 195.4 kB / 456.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.3762, allocations: 189.8 kB / 456.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002316/0.3764, allocations: 395.1 kB / 456.7 MB, free: 9.754 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