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.001632/0.001632, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.354/1.354, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06799/0.06799, allocations: 10.74 MB / 280.5 MB, free: 10.5 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.001428/0.001428, allocations: 63.91 kB / 340.6 MB, free: 23.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08641/0.08785, allocations: 49.02 MB / 389.7 MB, free: 6.141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup): time 0.003695/0.09158, allocations: 2.668 MB / 392.3 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.09354, allocations: 1.21 MB / 393.5 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.09378, allocations: 15.88 kB / 393.6 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.09412, allocations: 150.7 kB / 393.7 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.09431, allocations: 91.25 kB / 393.8 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000949/0.09527, allocations: 447.1 kB / 394.2 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.0963, allocations: 1.113 MB / 395.3 MB, free: 432 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.09654, allocations: 134.8 kB / 395.5 MB, free: 284 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003641/0.09691, allocations: 374.8 kB / 395.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004273/0.09735, allocations: 402.2 kB / 396.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.09747, allocations: 68 kB / 396.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.09769, allocations: 135.9 kB / 396.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.09786, allocations: 155.3 kB / 396.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003537/0.09822, allocations: 418.4 kB / 397 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006615/0.09889, allocations: 0.7707 MB / 397.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.09891, allocations: 0 / 397.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.09891, allocations: 0 / 397.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.09893, allocations: 4 kB / 397.8 MB, free: 13.98 MB / 302.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.001457/0.1004, allocations: 1.177 MB / 398.9 MB, free: 12.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1004, allocations: 15.89 kB / 399 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.1006, allocations: 114.7 kB / 399.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.1007, allocations: 103.8 kB / 399.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006347/0.1014, allocations: 0.4973 MB / 399.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.1014, allocations: 45.38 kB / 399.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.1016, allocations: 72.28 kB / 399.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.1026, allocations: 0.6799 MB / 400.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.1027, allocations: 0 / 400.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.1028, allocations: 32 kB / 400.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.1028, allocations: 8 kB / 400.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008101/0.1036, allocations: 464.1 kB / 401 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.1061, allocations: 1.625 MB / 402.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005943/0.1067, allocations: 0.5849 MB / 403.2 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004918/0.1072, allocations: 0.5175 MB / 403.7 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.1072, allocations: 0 / 403.7 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005767/0.1078, allocations: 0.5267 MB / 404.2 MB, free: 7.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 1.563e-06/0.1078, allocations: 4 kB / 404.2 MB, free: 7.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.001853/0.1096, allocations: 1.216 MB / 405.4 MB, free: 5.992 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001862/0.1098, allocations: 419.8 kB / 405.8 MB, free: 5.496 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000602/0.1104, allocations: 0.6131 MB / 406.5 MB, free: 4.875 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.1105, allocations: 49.69 kB / 406.5 MB, free: 4.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.1108, allocations: 367.8 kB / 406.9 MB, free: 4.457 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.1109, allocations: 177.7 kB / 407 MB, free: 4.281 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.1111, allocations: 198.4 kB / 407.2 MB, free: 4.082 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1113, allocations: 398.7 kB / 407.6 MB, free: 3.684 MB / 302.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1211:5-1211: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