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.001462/0.001462, allocations: 116.9 kB / 16.37 MB, free: 6.016 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.001515/0.001515, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.675/1.675, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06024/0.06024, allocations: 10.74 MB / 281.3 MB, free: 1.32 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.001463/0.001463, allocations: 71.91 kB / 342 MB, free: 4.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3548, allocations: 49 MB / 391 MB, free: 49.9 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003926/0.3588, allocations: 2.338 MB / 393.3 MB, free: 48.24 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.36, allocations: 497.8 kB / 393.8 MB, free: 47.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.3602, allocations: 13.38 kB / 393.8 MB, free: 47.89 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.3605, allocations: 65.16 kB / 393.9 MB, free: 47.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.3607, allocations: 41.09 kB / 393.9 MB, free: 47.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008186/0.3615, allocations: 241.5 kB / 394.2 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001343/0.3628, allocations: 0.7196 MB / 394.9 MB, free: 47.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003202/0.3632, allocations: 86.8 kB / 395 MB, free: 47.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/0.3635, allocations: 232.1 kB / 395.2 MB, free: 47.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003971/0.3639, allocations: 245.5 kB / 395.5 MB, free: 47.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.846e-05/0.3641, allocations: 46.75 kB / 395.5 MB, free: 47.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.869e-05/0.3641, allocations: 45.38 kB / 395.5 MB, free: 47.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.3644, allocations: 132 kB / 395.7 MB, free: 47.06 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.3647, allocations: 272.9 kB / 395.9 MB, free: 46.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006993/0.3654, allocations: 0.5099 MB / 396.4 MB, free: 46.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3654, allocations: 4 kB / 396.5 MB, free: 46.65 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3654, allocations: 0 / 396.5 MB, free: 46.65 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.3654, allocations: 1 kB / 396.5 MB, free: 46.65 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.001461/0.3669, allocations: 0.8737 MB / 397.3 MB, free: 45.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.367, allocations: 20.98 kB / 397.3 MB, free: 45.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.3671, allocations: 71.59 kB / 397.4 MB, free: 45.94 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/0.3677, allocations: 400 kB / 397.8 MB, free: 45.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.3677, allocations: 35 kB / 397.8 MB, free: 45.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.3678, allocations: 58.36 kB / 397.9 MB, free: 45.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009471/0.3688, allocations: 0.505 MB / 398.4 MB, free: 45.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.3688, allocations: 1.953 kB / 398.4 MB, free: 45.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.3689, allocations: 27.19 kB / 398.4 MB, free: 45.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.3689, allocations: 7.812 kB / 398.4 MB, free: 45.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00073/0.3696, allocations: 377.7 kB / 398.8 MB, free: 45.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.3718, allocations: 1.318 MB / 400.1 MB, free: 44.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/0.3725, allocations: 0.5285 MB / 400.7 MB, free: 43.97 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004848/0.373, allocations: 472.5 kB / 401.1 MB, free: 43.65 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.373, allocations: 2.531 kB / 401.1 MB, free: 43.65 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004974/0.3735, allocations: 362.2 kB / 401.5 MB, free: 43.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=50): time 1.563e-06/0.3735, allocations: 0 / 401.5 MB, free: 43.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=50): time 0.001567/0.3751, allocations: 0.8114 MB / 402.3 MB, free: 42.96 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.3752, allocations: 217.8 kB / 402.5 MB, free: 42.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.3757, allocations: 457.4 kB / 402.9 MB, free: 42.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.3757, allocations: 43.83 kB / 403 MB, free: 42.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.3759, allocations: 262.7 kB / 403.2 MB, free: 42.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.24e-05/0.376, allocations: 143 kB / 403.4 MB, free: 42.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.3761, allocations: 125.6 kB / 403.5 MB, free: 41.96 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3763, allocations: 373.7 kB / 403.9 MB, free: 41.61 MB / 318.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