Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO.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.Controllers.Digital.Examples.TestPID_TDO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO") translateModel(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009017/0.009018, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.0015/0.0015, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.645/1.645, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06862/0.06862, allocations: 10.74 MB / 280.6 MB, free: 1.293 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.001699/0.0017, allocations: 72.64 kB / 390.8 MB, free: 46.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1145, allocations: 49.03 MB / 439.9 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003114/0.1177, allocations: 2.337 MB / 442.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009448/0.1187, allocations: 491.6 kB / 442.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.1188, allocations: 11.88 kB / 442.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.119, allocations: 71.28 kB / 442.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.1192, allocations: 39.55 kB / 442.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.1197, allocations: 251.5 kB / 443 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006749/0.1204, allocations: 0.7148 MB / 443.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.1206, allocations: 93.19 kB / 443.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000276/0.1209, allocations: 227.3 kB / 444.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.1213, allocations: 246.9 kB / 444.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.162e-05/0.1214, allocations: 48 kB / 444.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.606e-05/0.1214, allocations: 44 kB / 444.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.1216, allocations: 131.5 kB / 444.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003189/0.122, allocations: 282.4 kB / 444.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006738/0.1227, allocations: 0.506 MB / 445.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.1227, allocations: 4 kB / 445.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.36e-06/0.1227, allocations: 0 / 445.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.1227, allocations: 3.938 kB / 445.3 MB, free: 14.33 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001638/0.1243, allocations: 0.8764 MB / 446.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.016e-05/0.1244, allocations: 11.89 kB / 446.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.1246, allocations: 72.12 kB / 446.3 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006969/0.1253, allocations: 412.2 kB / 446.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.058e-05/0.1253, allocations: 33.38 kB / 446.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.519e-05/0.1254, allocations: 56.22 kB / 446.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009501/0.1264, allocations: 0.4989 MB / 447.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.1264, allocations: 192 / 447.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.89e-05/0.1265, allocations: 27.94 kB / 447.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.1265, allocations: 8 kB / 447.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006894/0.1272, allocations: 383.8 kB / 447.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.1295, allocations: 1.32 MB / 449 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000857/0.1304, allocations: 0.5146 MB / 449.5 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/0.1309, allocations: 473.7 kB / 450 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.1309, allocations: 0 / 450 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005228/0.1314, allocations: 359.4 kB / 450.3 MB, free: 9.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 1.383e-06/0.1314, allocations: 0 / 450.3 MB, free: 9.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.001725/0.1332, allocations: 0.8132 MB / 451.1 MB, free: 8.273 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002232/0.1334, allocations: 223.9 kB / 451.3 MB, free: 8.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005634/0.134, allocations: 457.6 kB / 451.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.1341, allocations: 37.7 kB / 451.8 MB, free: 7.504 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.1343, allocations: 264 kB / 452.1 MB, free: 7.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.1345, allocations: 138.2 kB / 452.2 MB, free: 7.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.1347, allocations: 130.1 kB / 452.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.1349, allocations: 378.7 kB / 452.7 MB, free: 6.594 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 Controller.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