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.006226/0.006226, allocations: 101.2 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.001158/0.001158, allocations: 194.1 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.516/1.516, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06099/0.06099, 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.001678/0.001678, allocations: 76.73 kB / 390.3 MB, free: 5.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3208, allocations: 49.02 MB / 439.4 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.CascadeAntiWindup): time 0.004415/0.3253, allocations: 2.672 MB / 442 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.3277, allocations: 1.207 MB / 443.2 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.328, allocations: 23.47 kB / 443.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.3284, allocations: 139.6 kB / 443.4 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.3286, allocations: 91.27 kB / 443.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.3298, allocations: 446.8 kB / 443.9 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.331, allocations: 1.121 MB / 445 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.3313, allocations: 140.6 kB / 445.2 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004253/0.3317, allocations: 376.4 kB / 445.5 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005296/0.3322, allocations: 403.9 kB / 445.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.3324, allocations: 75.81 kB / 446 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.3326, allocations: 141.9 kB / 446.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.3328, allocations: 157.5 kB / 446.3 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004448/0.3333, allocations: 405.5 kB / 446.7 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.3347, allocations: 0.7885 MB / 447.5 MB, free: 224 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.3347, allocations: 0 / 447.5 MB, free: 224 kB / 318.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.3347, allocations: 1.094 kB / 447.5 MB, free: 224 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.3347, allocations: 0 / 447.5 MB, free: 224 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.002478/0.3372, allocations: 1.177 MB / 448.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.136e-05/0.3373, allocations: 13.2 kB / 448.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002003/0.3375, allocations: 119.8 kB / 448.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.3377, allocations: 103.3 kB / 448.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008648/0.3386, allocations: 0.5369 MB / 449.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.559e-05/0.3387, allocations: 50.34 kB / 449.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.3388, allocations: 73.41 kB / 449.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.34, allocations: 0.6783 MB / 450.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.3401, allocations: 4 kB / 450.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.251e-05/0.3402, allocations: 32.12 kB / 450.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.3402, allocations: 10.5 kB / 450.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007648/0.3409, allocations: 464.9 kB / 450.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.3436, allocations: 1.596 MB / 452.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/0.3443, allocations: 0.577 MB / 452.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006929/0.345, allocations: 0.5146 MB / 453.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.345, allocations: 10.17 kB / 453.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007048/0.3458, allocations: 0.524 MB / 454 MB, free: 11.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 1.673e-06/0.3458, allocations: 0 / 454 MB, free: 11.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002072/0.3478, allocations: 1.22 MB / 455.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003228/0.3482, allocations: 423.2 kB / 455.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007307/0.3489, allocations: 0.6149 MB / 456.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/0.349, allocations: 52.47 kB / 456.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.3493, allocations: 361.1 kB / 456.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.3494, allocations: 181.9 kB / 456.8 MB, free: 9.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.3496, allocations: 193.8 kB / 457 MB, free: 9.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3498, allocations: 394.9 kB / 457.4 MB, free: 9.078 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