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.00622/0.00622, allocations: 99 kB / 15.73 MB, free: 6.008 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.001186/0.001186, allocations: 192.2 kB / 16.67 MB, free: 5.938 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.553/1.553, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05808/0.05808, allocations: 10.74 MB / 280.6 MB, free: 10.43 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.001448/0.001448, allocations: 70.72 kB / 390.8 MB, free: 5.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3604, allocations: 49.01 MB / 439.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003688/0.3641, allocations: 2.334 MB / 442.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.3652, allocations: 0.4923 MB / 442.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.3653, allocations: 12 kB / 442.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.3656, allocations: 69.81 kB / 442.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.3657, allocations: 36.78 kB / 442.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005633/0.3663, allocations: 242.5 kB / 443 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000801/0.3671, allocations: 0.7201 MB / 443.8 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.3673, allocations: 85.67 kB / 443.8 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.3675, allocations: 228.8 kB / 444.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003344/0.3679, allocations: 248.9 kB / 444.3 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.174e-05/0.368, allocations: 46.44 kB / 444.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.258e-05/0.3681, allocations: 49.34 kB / 444.4 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.3683, allocations: 132 kB / 444.5 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.3685, allocations: 269.1 kB / 444.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005996/0.3691, allocations: 0.5104 MB / 445.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3691, allocations: 0 / 445.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3691, allocations: 3.938 kB / 445.3 MB, free: 2.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.3691, allocations: 0 / 445.3 MB, free: 2.078 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001246/0.3704, allocations: 0.8927 MB / 446.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3704, allocations: 13.2 kB / 446.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.3706, allocations: 71.42 kB / 446.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005181/0.3711, allocations: 417.5 kB / 446.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.3711, allocations: 34.41 kB / 446.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.76e-05/0.3712, allocations: 58.17 kB / 446.8 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008839/0.3721, allocations: 0.4988 MB / 447.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.3722, allocations: 6.406 kB / 447.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/0.3722, allocations: 26.66 kB / 447.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.3722, allocations: 7.906 kB / 447.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006464/0.3729, allocations: 380.4 kB / 447.7 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.3751, allocations: 1.334 MB / 449 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007594/0.3759, allocations: 0.5132 MB / 449.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005595/0.3765, allocations: 476.3 kB / 450 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.3765, allocations: 2.188 kB / 450 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005336/0.377, allocations: 345.6 kB / 450.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 1.653e-06/0.377, allocations: 3.938 kB / 450.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.001591/0.3786, allocations: 0.8199 MB / 451.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.3788, allocations: 218.4 kB / 451.4 MB, free: 14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/0.3793, allocations: 461.1 kB / 451.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.3793, allocations: 39.64 kB / 451.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.3795, allocations: 260 kB / 452.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.3797, allocations: 155.8 kB / 452.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.3799, allocations: 129.9 kB / 452.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.3801, allocations: 373.2 kB / 452.8 MB, free: 12.86 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