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.001364/0.001364, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001288/0.001289, allocations: 192 kB / 17.31 MB, free: 5.18 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.527/1.527, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05727/0.05727, allocations: 10.73 MB / 281.3 MB, free: 1.316 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.001476/0.001476, allocations: 68.38 kB / 342 MB, free: 4.457 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2712, allocations: 49.01 MB / 391 MB, free: 49.94 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003865/0.2751, allocations: 2.335 MB / 393.3 MB, free: 48.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.2762, allocations: 0.4887 MB / 393.8 MB, free: 47.94 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.2764, allocations: 13.78 kB / 393.8 MB, free: 47.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.2767, allocations: 65.25 kB / 393.9 MB, free: 47.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.2768, allocations: 37.06 kB / 393.9 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006908/0.2775, allocations: 246.4 kB / 394.2 MB, free: 47.72 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009438/0.2785, allocations: 0.7184 MB / 394.9 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.2787, allocations: 90.52 kB / 395 MB, free: 47.37 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.279, allocations: 235.1 kB / 395.2 MB, free: 47.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.2793, allocations: 241.8 kB / 395.5 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.644e-05/0.2794, allocations: 45.38 kB / 395.5 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.958e-05/0.2795, allocations: 50.69 kB / 395.5 MB, free: 47.15 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.2797, allocations: 130.7 kB / 395.7 MB, free: 47.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.2799, allocations: 274.5 kB / 395.9 MB, free: 46.92 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005717/0.2805, allocations: 0.5092 MB / 396.5 MB, free: 46.69 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2805, allocations: 0 / 396.5 MB, free: 46.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.2805, allocations: 0.6562 kB / 396.5 MB, free: 46.69 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.2805, allocations: 1.344 kB / 396.5 MB, free: 46.69 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.001313/0.2819, allocations: 0.8799 MB / 397.3 MB, free: 46.01 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.2819, allocations: 12.89 kB / 397.3 MB, free: 46.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.282, allocations: 65.03 kB / 397.4 MB, free: 45.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.2827, allocations: 407.7 kB / 397.8 MB, free: 45.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.2827, allocations: 34.44 kB / 397.8 MB, free: 45.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-05/0.2828, allocations: 58.89 kB / 397.9 MB, free: 45.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009444/0.2838, allocations: 0.4955 MB / 398.4 MB, free: 45.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.2838, allocations: 7.094 kB / 398.4 MB, free: 45.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.814e-05/0.2839, allocations: 26.77 kB / 398.4 MB, free: 45.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.2839, allocations: 12.53 kB / 398.4 MB, free: 45.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006903/0.2846, allocations: 378.8 kB / 398.8 MB, free: 45.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.2866, allocations: 1.322 MB / 400.1 MB, free: 44.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/0.2873, allocations: 0.5176 MB / 400.6 MB, free: 43.97 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004696/0.2878, allocations: 480.4 kB / 401.1 MB, free: 43.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.2878, allocations: 5.062 kB / 401.1 MB, free: 43.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004788/0.2883, allocations: 355.9 kB / 401.5 MB, free: 43.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=50): time 1.973e-06/0.2883, allocations: 0 / 401.5 MB, free: 43.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=50): time 0.001556/0.2898, allocations: 0.8128 MB / 402.3 MB, free: 42.95 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.2899, allocations: 217.8 kB / 402.5 MB, free: 42.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004208/0.2904, allocations: 456.3 kB / 402.9 MB, free: 42.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.2904, allocations: 40.52 kB / 403 MB, free: 42.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.2905, allocations: 262.6 kB / 403.2 MB, free: 42.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.018e-05/0.2906, allocations: 143.4 kB / 403.4 MB, free: 42.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.2908, allocations: 125.6 kB / 403.5 MB, free: 41.96 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.2909, allocations: 382 kB / 403.9 MB, free: 41.59 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