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.001627/0.001627, allocations: 110.8 kB / 16.41 MB, free: 6.477 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.001769/0.001769, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.483/1.483, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05791/0.05791, allocations: 10.75 MB / 281.3 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.00155/0.00155, allocations: 69 kB / 391.5 MB, free: 46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09455/0.09611, allocations: 49.03 MB / 440.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.002925/0.09909, allocations: 2.33 MB / 442.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000824/0.09994, allocations: 483.6 kB / 443.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.1001, allocations: 15.88 kB / 443.3 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.1003, allocations: 67.27 kB / 443.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.934e-05/0.1004, allocations: 43.55 kB / 443.5 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.1009, allocations: 243.5 kB / 443.7 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006144/0.1016, allocations: 0.7303 MB / 444.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.1018, allocations: 85.22 kB / 444.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.102, allocations: 235.2 kB / 444.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.1023, allocations: 242.9 kB / 445 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.993e-05/0.1024, allocations: 44 kB / 445 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.686e-05/0.1025, allocations: 48 kB / 445.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.1026, allocations: 139.5 kB / 445.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.1028, allocations: 274.6 kB / 445.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.1033, allocations: 0.5021 MB / 446 MB, free: 14.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1033, allocations: 0 / 446 MB, free: 14.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1034, allocations: 3.938 kB / 446 MB, free: 14.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1034, allocations: 0 / 446 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.001258/0.1046, allocations: 0.8764 MB / 446.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1047, allocations: 11.89 kB / 446.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.1048, allocations: 72.17 kB / 446.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.1053, allocations: 408.2 kB / 447.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.1053, allocations: 37.38 kB / 447.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.959e-05/0.1054, allocations: 56.22 kB / 447.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008264/0.1063, allocations: 0.495 MB / 447.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.1063, allocations: 8.172 kB / 447.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.03e-05/0.1064, allocations: 23.94 kB / 448 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1064, allocations: 12 kB / 448 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.107, allocations: 379.8 kB / 448.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.1091, allocations: 1.324 MB / 449.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007192/0.1098, allocations: 0.5205 MB / 450.2 MB, free: 9.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004802/0.1103, allocations: 473.6 kB / 450.6 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1103, allocations: 4 kB / 450.6 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004993/0.1108, allocations: 359.4 kB / 451 MB, free: 9.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 1.653e-06/0.1108, allocations: 0 / 451 MB, free: 9.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.001458/0.1123, allocations: 0.8132 MB / 451.8 MB, free: 8.262 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.1124, allocations: 219.9 kB / 452 MB, free: 8.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.1129, allocations: 461.6 kB / 452.5 MB, free: 7.535 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.1129, allocations: 37.7 kB / 452.5 MB, free: 7.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.1131, allocations: 260 kB / 452.8 MB, free: 7.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.1132, allocations: 142.2 kB / 452.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.1134, allocations: 130.1 kB / 453 MB, free: 6.961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1135, allocations: 374.7 kB / 453.4 MB, free: 6.586 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 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