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.00124/0.00124, allocations: 115.9 kB / 16.42 MB, free: 6.465 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: 187.9 kB / 17.35 MB, free: 5.715 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.343/1.343, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05875/0.05875, allocations: 10.74 MB / 281.3 MB, free: 1.281 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.001444/0.001444, allocations: 75.7 kB / 391.5 MB, free: 45.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07475/0.0762, allocations: 49.02 MB / 440.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.0026/0.07883, allocations: 2.326 MB / 442.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008376/0.07969, allocations: 499.5 kB / 443.4 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.07986, allocations: 11.88 kB / 443.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.08008, allocations: 71.27 kB / 443.4 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.071e-05/0.08017, allocations: 31.56 kB / 443.5 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.08063, allocations: 243.5 kB / 443.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.0812, allocations: 0.7227 MB / 444.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.08139, allocations: 97.11 kB / 444.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.08163, allocations: 227.3 kB / 444.7 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.08192, allocations: 250.9 kB / 445 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.674e-05/0.08201, allocations: 44 kB / 445 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.995e-05/0.08209, allocations: 48 kB / 445.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.08224, allocations: 135.5 kB / 445.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.08249, allocations: 270.6 kB / 445.5 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.08294, allocations: 0.5099 MB / 446 MB, free: 14.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.08295, allocations: 0 / 446 MB, free: 14.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.08296, allocations: 0 / 446 MB, free: 14.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.08298, allocations: 0 / 446 MB, free: 14.34 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.001208/0.0842, allocations: 0.8764 MB / 446.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.08424, allocations: 11.89 kB / 446.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.08436, allocations: 68.19 kB / 446.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/0.0849, allocations: 420.1 kB / 447.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.08495, allocations: 33.38 kB / 447.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/0.08505, allocations: 56.28 kB / 447.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008597/0.08591, allocations: 0.495 MB / 447.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.08594, allocations: 4.188 kB / 447.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/0.086, allocations: 23.94 kB / 448 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.08602, allocations: 8 kB / 448 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006891/0.08671, allocations: 383.8 kB / 448.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.0889, allocations: 1.331 MB / 449.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/0.08961, allocations: 0.5068 MB / 450.2 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005021/0.09013, allocations: 485.7 kB / 450.7 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.09015, allocations: 4 kB / 450.7 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005167/0.09068, allocations: 351.4 kB / 451 MB, free: 9.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 1.994e-06/0.09069, allocations: 0 / 451 MB, free: 9.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.001523/0.09222, allocations: 0.8205 MB / 451.8 MB, free: 8.262 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.09235, allocations: 215.9 kB / 452 MB, free: 8.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004417/0.0928, allocations: 457.6 kB / 452.5 MB, free: 7.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.09285, allocations: 41.7 kB / 452.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.09303, allocations: 263.9 kB / 452.8 MB, free: 7.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.09315, allocations: 142.2 kB / 452.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.09329, allocations: 130.1 kB / 453 MB, free: 6.961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.09345, allocations: 370.8 kB / 453.4 MB, free: 6.59 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 Error: Internal error SimCode DAEmode: The model IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO could not be translated