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.00125/0.00125, allocations: 116.4 kB / 16.37 MB, free: 6 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.001325/0.001326, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.496/1.496, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05664/0.05664, allocations: 10.74 MB / 281.3 MB, free: 1.32 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.002204/0.002204, allocations: 68.28 kB / 342 MB, free: 4.473 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2543, allocations: 49.01 MB / 391 MB, free: 49.95 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup): time 0.003289/0.2576, allocations: 2.672 MB / 393.7 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.26, allocations: 1.223 MB / 394.9 MB, free: 47.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.2604, allocations: 14.94 kB / 394.9 MB, free: 47.17 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.2608, allocations: 143.9 kB / 395 MB, free: 47.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.261, allocations: 98.88 kB / 395.1 MB, free: 47.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.2621, allocations: 438.9 kB / 395.6 MB, free: 46.81 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.2632, allocations: 1.117 MB / 396.7 MB, free: 46.33 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.2634, allocations: 140 kB / 396.8 MB, free: 46.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003657/0.2638, allocations: 375.4 kB / 397.2 MB, free: 46.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004734/0.2643, allocations: 399.5 kB / 397.6 MB, free: 45.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.2644, allocations: 66.28 kB / 397.6 MB, free: 45.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.2646, allocations: 142.8 kB / 397.8 MB, free: 45.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.2648, allocations: 153.6 kB / 397.9 MB, free: 45.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003375/0.2651, allocations: 416.9 kB / 398.3 MB, free: 45.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006904/0.2658, allocations: 0.7926 MB / 399.1 MB, free: 45.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2658, allocations: 3.984 kB / 399.1 MB, free: 45.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2658, allocations: 0 / 399.1 MB, free: 45.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.2659, allocations: 1.062 kB / 399.1 MB, free: 45.1 MB / 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.001276/0.2671, allocations: 1.173 MB / 400.3 MB, free: 44.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2672, allocations: 9.812 kB / 400.3 MB, free: 44.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.2674, allocations: 100.1 kB / 400.4 MB, free: 44.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006731/0.268, allocations: 0.5368 MB / 401 MB, free: 43.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/0.2681, allocations: 42.31 kB / 401 MB, free: 43.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.2682, allocations: 69.16 kB / 401.1 MB, free: 43.58 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.2692, allocations: 0.6824 MB / 401.8 MB, free: 43.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.2693, allocations: 3.906 kB / 401.8 MB, free: 43.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.436e-05/0.2693, allocations: 32.31 kB / 401.8 MB, free: 43.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.2694, allocations: 10.78 kB / 401.8 MB, free: 43.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007202/0.2701, allocations: 463.7 kB / 402.2 MB, free: 42.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.2724, allocations: 1.608 MB / 403.9 MB, free: 41.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007033/0.2731, allocations: 0.5783 MB / 404.4 MB, free: 41.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.2737, allocations: 0.5218 MB / 405 MB, free: 40.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.2737, allocations: 2.75 kB / 405 MB, free: 40.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005801/0.2743, allocations: 0.5198 MB / 405.5 MB, free: 40.55 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 1.703e-06/0.2743, allocations: 0 / 405.5 MB, free: 40.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.001983/0.2763, allocations: 1.228 MB / 406.7 MB, free: 39.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.2764, allocations: 419.4 kB / 407.1 MB, free: 39.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006395/0.2771, allocations: 0.6187 MB / 407.7 MB, free: 39.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.2771, allocations: 47.94 kB / 407.8 MB, free: 39.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.2773, allocations: 364.8 kB / 408.1 MB, free: 38.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.2775, allocations: 186.4 kB / 408.3 MB, free: 38.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.2777, allocations: 189 kB / 408.5 MB, free: 38.44 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.2778, allocations: 395.5 kB / 408.9 MB, free: 38.07 MB / 318.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