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.001103/0.001104, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 194 kB / 16.53 MB, free: 6.391 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.48/1.48, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05729/0.05729, allocations: 10.74 MB / 280.5 MB, free: 10.53 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.001628/0.001628, allocations: 60.12 kB / 340.5 MB, free: 23.35 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09708/0.09872, allocations: 49.03 MB / 389.6 MB, free: 6.258 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003648/0.1024, allocations: 2.323 MB / 391.9 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000968/0.1034, allocations: 495.5 kB / 392.4 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.1036, allocations: 15.88 kB / 392.4 MB, free: 3.406 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.1039, allocations: 63.33 kB / 392.5 MB, free: 3.344 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.104, allocations: 43.5 kB / 392.5 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005684/0.1046, allocations: 243.5 kB / 392.7 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008403/0.1055, allocations: 0.7187 MB / 393.5 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.1057, allocations: 77.3 kB / 393.5 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002807/0.106, allocations: 231.3 kB / 393.8 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.1063, allocations: 254.9 kB / 394 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.1064, allocations: 44 kB / 394 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.613e-05/0.1065, allocations: 48 kB / 394.1 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.1067, allocations: 119.6 kB / 394.2 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.1069, allocations: 278.5 kB / 394.5 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004605/0.1074, allocations: 0.4907 MB / 395 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1074, allocations: 0 / 395 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1074, allocations: 4 kB / 395 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.1075, allocations: 0 / 395 MB, free: 0.8125 MB / 286.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.001285/0.1087, allocations: 0.8843 MB / 395.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.1088, allocations: 11.89 kB / 395.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.1089, allocations: 68.28 kB / 395.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.1094, allocations: 392.2 kB / 396.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.566e-05/0.1095, allocations: 33.38 kB / 396.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-05/0.1096, allocations: 56.27 kB / 396.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008337/0.1104, allocations: 0.5067 MB / 396.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.1105, allocations: 192 / 396.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.1105, allocations: 27.94 kB / 396.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.1105, allocations: 8 kB / 396.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006681/0.1112, allocations: 379.8 kB / 397.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.1133, allocations: 1.339 MB / 398.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007218/0.1141, allocations: 0.5221 MB / 399.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/0.1147, allocations: 477.7 kB / 399.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.1147, allocations: 4 kB / 399.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005172/0.1152, allocations: 347.4 kB / 400 MB, free: 11.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 2.154e-06/0.1152, allocations: 3.938 kB / 400 MB, free: 11.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=50): time 0.001487/0.1167, allocations: 0.817 MB / 400.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.604e-05/0.1168, allocations: 215.8 kB / 401 MB, free: 10.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000433/0.1173, allocations: 457.6 kB / 401.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.1173, allocations: 45.7 kB / 401.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.1175, allocations: 252 kB / 401.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.1177, allocations: 150.1 kB / 401.9 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.1178, allocations: 126.1 kB / 402 MB, free: 9.445 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1179, allocations: 378.7 kB / 402.4 MB, free: 9.066 MB / 302.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1211:5-1211: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